Class CVRChaperone
Inheritance
System.Object
CVRChaperone
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Valve.VR
Assembly: Assembly-CSharp.dll
Syntax
public class CVRChaperone
Methods
AreBoundsVisible()
Declaration
public bool AreBoundsVisible()
Returns
Type | Description |
---|---|
System.Boolean |
ForceBoundsVisible(Boolean)
Declaration
public void ForceBoundsVisible(bool bForce)
Parameters
Type | Name | Description |
---|---|---|
System.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 | |
System.Int32 | nNumOutputColors | |
System.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 |
---|---|
System.Boolean |
GetPlayAreaSize(ref Single, ref Single)
Declaration
public bool GetPlayAreaSize(ref float pSizeX, ref float pSizeZ)
Parameters
Type | Name | Description |
---|---|---|
System.Single | pSizeX | |
System.Single | pSizeZ |
Returns
Type | Description |
---|---|
System.Boolean |
ReloadInfo()
Declaration
public void ReloadInfo()
SetSceneColor(HmdColor_t)
Declaration
public void SetSceneColor(HmdColor_t color)
Parameters
Type | Name | Description |
---|---|---|
HmdColor_t | color |