IVRChaperoneSetup

Members

Functions

CommitWorkingCopy
bool CommitWorkingCopy(EChaperoneConfigFile configFile)
Undocumented in source.
ExportLiveToBuffer
bool ExportLiveToBuffer(char* pBuffer, uint* pnBufferLength)
Undocumented in source.
GetLiveCollisionBoundsInfo
bool GetLiveCollisionBoundsInfo(HmdQuad_t* pQuadsBuffer, uint* punQuadsCount)
Undocumented in source.
GetLiveSeatedZeroPoseToRawTrackingPose
bool GetLiveSeatedZeroPoseToRawTrackingPose(HmdMatrix34_t* pmatSeatedZeroPoseToRawTrackingPose)
Undocumented in source.
GetWorkingCollisionBoundsInfo
bool GetWorkingCollisionBoundsInfo(HmdQuad_t* pQuadsBuffer, uint* punQuadsCount)
Undocumented in source.
GetWorkingPlayAreaRect
bool GetWorkingPlayAreaRect(HmdQuad_t* rect)

Returns the 4 corner positions of the Play Area (formerly named Soft Bounds) from the working copy. Corners are in clockwise order. Tracking space center (0,0,0) is the center of the Play Area. It's a rectangle. 2 sides are parallel to the X axis and 2 sides are parallel to the Z axis. Height of every corner is 0Y (on the floor).

GetWorkingPlayAreaSize
bool GetWorkingPlayAreaSize(float* pSizeX, float* pSizeZ)
Undocumented in source.
GetWorkingSeatedZeroPoseToRawTrackingPose
bool GetWorkingSeatedZeroPoseToRawTrackingPose(HmdMatrix34_t* pmatSeatedZeroPoseToRawTrackingPose)
Undocumented in source.
GetWorkingStandingZeroPoseToRawTrackingPose
bool GetWorkingStandingZeroPoseToRawTrackingPose(HmdMatrix34_t* pmatStandingZeroPoseToRawTrackingPose)
Undocumented in source.
HideWorkingSetPreview
void HideWorkingSetPreview()
Undocumented in source.
ImportFromBufferToWorking
bool ImportFromBufferToWorking(const(char)* pBuffer, uint nImportFlags)
Undocumented in source.
ReloadFromDisk
void ReloadFromDisk(EChaperoneConfigFile configFile)
Undocumented in source.
RevertWorkingCopy
void RevertWorkingCopy()

Reverts the working copy to match the live chaperone calibration. To modify existing data this MUST be do WHILE getting a non-error ChaperoneCalibrationStatus. Only after this should you do gets and sets on the existing data.

RoomSetupStarting
void RoomSetupStarting()
Undocumented in source.
SetWorkingCollisionBoundsInfo
void SetWorkingCollisionBoundsInfo(HmdQuad_t* pQuadsBuffer, uint unQuadsCount)
Undocumented in source.
SetWorkingPerimeter
void SetWorkingPerimeter(HmdVector2_t* pPointBuffer, uint unPointCount)
Undocumented in source.
SetWorkingPlayAreaSize
void SetWorkingPlayAreaSize(float sizeX, float sizeZ)
Undocumented in source.
SetWorkingSeatedZeroPoseToRawTrackingPose
void SetWorkingSeatedZeroPoseToRawTrackingPose(const(HmdMatrix34_t)* pMatSeatedZeroPoseToRawTrackingPose)
Undocumented in source.
SetWorkingStandingZeroPoseToRawTrackingPose
void SetWorkingStandingZeroPoseToRawTrackingPose(const(HmdMatrix34_t)* pMatStandingZeroPoseToRawTrackingPose)
Undocumented in source.
ShowWorkingSetPreview
void ShowWorkingSetPreview()
Undocumented in source.

Meta