[][src]Struct openvr_sys::VR_IVRChaperoneSetup_FnTable

#[repr(C)]pub struct VR_IVRChaperoneSetup_FnTable {
    pub CommitWorkingCopy: Option<unsafe extern "C" fn(configFile: EChaperoneConfigFile) -> bool>,
    pub RevertWorkingCopy: Option<unsafe extern "C" fn()>,
    pub GetWorkingPlayAreaSize: Option<unsafe extern "C" fn(pSizeX: *mut f32, pSizeZ: *mut f32) -> bool>,
    pub GetWorkingPlayAreaRect: Option<unsafe extern "C" fn(rect: *mut HmdQuad_t) -> bool>,
    pub GetWorkingCollisionBoundsInfo: Option<unsafe extern "C" fn(pQuadsBuffer: *mut HmdQuad_t, punQuadsCount: *mut u32) -> bool>,
    pub GetLiveCollisionBoundsInfo: Option<unsafe extern "C" fn(pQuadsBuffer: *mut HmdQuad_t, punQuadsCount: *mut u32) -> bool>,
    pub GetWorkingSeatedZeroPoseToRawTrackingPose: Option<unsafe extern "C" fn(pmatSeatedZeroPoseToRawTrackingPose: *mut HmdMatrix34_t) -> bool>,
    pub GetWorkingStandingZeroPoseToRawTrackingPose: Option<unsafe extern "C" fn(pmatStandingZeroPoseToRawTrackingPose: *mut HmdMatrix34_t) -> bool>,
    pub SetWorkingPlayAreaSize: Option<unsafe extern "C" fn(sizeX: f32, sizeZ: f32)>,
    pub SetWorkingCollisionBoundsInfo: Option<unsafe extern "C" fn(pQuadsBuffer: *mut HmdQuad_t, unQuadsCount: u32)>,
    pub SetWorkingPerimeter: Option<unsafe extern "C" fn(pPointBuffer: *mut HmdVector2_t, unPointCount: u32)>,
    pub SetWorkingSeatedZeroPoseToRawTrackingPose: Option<unsafe extern "C" fn(pMatSeatedZeroPoseToRawTrackingPose: *mut HmdMatrix34_t)>,
    pub SetWorkingStandingZeroPoseToRawTrackingPose: Option<unsafe extern "C" fn(pMatStandingZeroPoseToRawTrackingPose: *mut HmdMatrix34_t)>,
    pub ReloadFromDisk: Option<unsafe extern "C" fn(configFile: EChaperoneConfigFile)>,
    pub GetLiveSeatedZeroPoseToRawTrackingPose: Option<unsafe extern "C" fn(pmatSeatedZeroPoseToRawTrackingPose: *mut HmdMatrix34_t) -> bool>,
    pub ExportLiveToBuffer: Option<unsafe extern "C" fn(pBuffer: *mut c_char, pnBufferLength: *mut u32) -> bool>,
    pub ImportFromBufferToWorking: Option<unsafe extern "C" fn(pBuffer: *mut c_char, nImportFlags: u32) -> bool>,
    pub ShowWorkingSetPreview: Option<unsafe extern "C" fn()>,
    pub HideWorkingSetPreview: Option<unsafe extern "C" fn()>,
    pub RoomSetupStarting: Option<unsafe extern "C" fn()>,
}

Fields

CommitWorkingCopy: Option<unsafe extern "C" fn(configFile: EChaperoneConfigFile) -> bool>RevertWorkingCopy: Option<unsafe extern "C" fn()>GetWorkingPlayAreaSize: Option<unsafe extern "C" fn(pSizeX: *mut f32, pSizeZ: *mut f32) -> bool>GetWorkingPlayAreaRect: Option<unsafe extern "C" fn(rect: *mut HmdQuad_t) -> bool>GetWorkingCollisionBoundsInfo: Option<unsafe extern "C" fn(pQuadsBuffer: *mut HmdQuad_t, punQuadsCount: *mut u32) -> bool>GetLiveCollisionBoundsInfo: Option<unsafe extern "C" fn(pQuadsBuffer: *mut HmdQuad_t, punQuadsCount: *mut u32) -> bool>GetWorkingSeatedZeroPoseToRawTrackingPose: Option<unsafe extern "C" fn(pmatSeatedZeroPoseToRawTrackingPose: *mut HmdMatrix34_t) -> bool>GetWorkingStandingZeroPoseToRawTrackingPose: Option<unsafe extern "C" fn(pmatStandingZeroPoseToRawTrackingPose: *mut HmdMatrix34_t) -> bool>SetWorkingPlayAreaSize: Option<unsafe extern "C" fn(sizeX: f32, sizeZ: f32)>SetWorkingCollisionBoundsInfo: Option<unsafe extern "C" fn(pQuadsBuffer: *mut HmdQuad_t, unQuadsCount: u32)>SetWorkingPerimeter: Option<unsafe extern "C" fn(pPointBuffer: *mut HmdVector2_t, unPointCount: u32)>SetWorkingSeatedZeroPoseToRawTrackingPose: Option<unsafe extern "C" fn(pMatSeatedZeroPoseToRawTrackingPose: *mut HmdMatrix34_t)>SetWorkingStandingZeroPoseToRawTrackingPose: Option<unsafe extern "C" fn(pMatStandingZeroPoseToRawTrackingPose: *mut HmdMatrix34_t)>ReloadFromDisk: Option<unsafe extern "C" fn(configFile: EChaperoneConfigFile)>GetLiveSeatedZeroPoseToRawTrackingPose: Option<unsafe extern "C" fn(pmatSeatedZeroPoseToRawTrackingPose: *mut HmdMatrix34_t) -> bool>ExportLiveToBuffer: Option<unsafe extern "C" fn(pBuffer: *mut c_char, pnBufferLength: *mut u32) -> bool>ImportFromBufferToWorking: Option<unsafe extern "C" fn(pBuffer: *mut c_char, nImportFlags: u32) -> bool>ShowWorkingSetPreview: Option<unsafe extern "C" fn()>HideWorkingSetPreview: Option<unsafe extern "C" fn()>RoomSetupStarting: Option<unsafe extern "C" fn()>

Trait Implementations

impl Clone for VR_IVRChaperoneSetup_FnTable[src]

impl Copy for VR_IVRChaperoneSetup_FnTable[src]

impl Debug for VR_IVRChaperoneSetup_FnTable[src]

Auto Trait Implementations

impl RefUnwindSafe for VR_IVRChaperoneSetup_FnTable

impl Send for VR_IVRChaperoneSetup_FnTable

impl Sync for VR_IVRChaperoneSetup_FnTable

impl Unpin for VR_IVRChaperoneSetup_FnTable

impl UnwindSafe for VR_IVRChaperoneSetup_FnTable

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.