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 |
---|---|---|
Hmd |
pOutputColorArray | |
Int32 | nNumOutputColors | |
Single | flCollisionBoundsFadeDistance | |
Hmd |
pOutputCameraColor |
GetCalibrationState()
Declaration
public ChaperoneCalibrationState GetCalibrationState()
Returns
Type | Description |
---|---|
Chaperone |
GetPlayAreaRect(ref HmdQuad_t)
Declaration
public bool GetPlayAreaRect(ref HmdQuad_t rect)
Parameters
Type | Name | Description |
---|---|---|
Hmd |
rect |
Returns
Type | Description |
---|---|
Boolean |
GetPlayAreaSize(ref Single, ref Single)
Declaration
public bool GetPlayAreaSize(ref float pSizeX, ref float pSizeZ)
Parameters
Returns
Type | Description |
---|---|
Boolean |
ReloadInfo()
Declaration
public void ReloadInfo()
SetSceneColor(HmdColor_t)
Declaration
public void SetSceneColor(HmdColor_t color)
Parameters
Type | Name | Description |
---|---|---|
Hmd |
color |