Class CVRChaperone
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.OpenVR.Headers
Assembly: cs.temp.dll.dll
Syntax
public class CVRChaperone
Methods
AreBoundsVisible()
Declaration
public bool AreBoundsVisible()
Returns
Type | Description |
---|---|
Boolean |
ForceBoundsVisible(Boolean)
Declaration
public void ForceBoundsVisible(bool bForce)
Parameters
Type | Name | Description |
---|---|---|
Boolean | bForce |
GetBoundsColor(ref HmdColor_t, Int32, Single, ref HmdColor_t)
Declaration
public void GetBoundsColor(ref HmdColor_t pOutputColorArray, int nNumOutputColors, float flCollisionBoundsFadeDistance, ref HmdColor_t pOutputCameraColor)
Parameters
Type | Name | Description |
---|---|---|
HmdColor_t | pOutputColorArray | |
Int32 | nNumOutputColors | |
Single | flCollisionBoundsFadeDistance | |
HmdColor_t | pOutputCameraColor |
GetCalibrationState()
Declaration
public ChaperoneCalibrationState GetCalibrationState()
Returns
Type | Description |
---|---|
ChaperoneCalibrationState |
GetPlayAreaRect(ref HmdQuad_t)
Declaration
public bool GetPlayAreaRect(ref HmdQuad_t rect)
Parameters
Type | Name | Description |
---|---|---|
HmdQuad_t | rect |
Returns
Type | Description |
---|---|
Boolean |
GetPlayAreaSize(ref Single, ref Single)
Declaration
public bool GetPlayAreaSize(ref float pSizeX, ref float pSizeZ)
Parameters
Type | Name | Description |
---|---|---|
Single | pSizeX | |
Single | pSizeZ |
Returns
Type | Description |
---|---|
Boolean |
ReloadInfo()
Declaration
public void ReloadInfo()
SetSceneColor(HmdColor_t)
Declaration
public void SetSceneColor(HmdColor_t color)
Parameters
Type | Name | Description |
---|---|---|
HmdColor_t | color |