CVRHeadsetView Class
Namespace: Valve.VR
Assembly: Stride.VirtualReality.dll
System.Object →
CVRHeadsetView
Derived from CVRHeadsetView:
public class CVRHeadsetView
|
Improve this Doc
View Source
Methods
GetHeadsetViewAspectRatio()
public float GetHeadsetViewAspectRatio()
Returns
Type |
Description |
System.Single |
|
GetHeadsetViewBlendRange(ref Single, ref Single)
public void GetHeadsetViewBlendRange(ref float pStartPct, ref float pEndPct)
Parameters
Type |
Name |
Description |
System.Single |
pStartPct |
|
System.Single |
pEndPct |
|
GetHeadsetViewCropped()
public bool GetHeadsetViewCropped()
Returns
Type |
Description |
System.Boolean |
|
GetHeadsetViewMode()
public uint GetHeadsetViewMode()
Returns
Type |
Description |
System.UInt32 |
|
GetHeadsetViewSize(ref UInt32, ref UInt32)
public void GetHeadsetViewSize(ref uint pnWidth, ref uint pnHeight)
Parameters
Type |
Name |
Description |
System.UInt32 |
pnWidth |
|
System.UInt32 |
pnHeight |
|
SetHeadsetViewBlendRange(Single, Single)
public void SetHeadsetViewBlendRange(float flStartPct, float flEndPct)
Parameters
Type |
Name |
Description |
System.Single |
flStartPct |
|
System.Single |
flEndPct |
|
SetHeadsetViewCropped(Boolean)
public void SetHeadsetViewCropped(bool bCropped)
Parameters
Type |
Name |
Description |
System.Boolean |
bCropped |
|
SetHeadsetViewMode(UInt32)
public void SetHeadsetViewMode(uint eHeadsetViewMode)
Parameters
Type |
Name |
Description |
System.UInt32 |
eHeadsetViewMode |
|
SetHeadsetViewSize(UInt32, UInt32)
public void SetHeadsetViewSize(uint nWidth, uint nHeight)
Parameters
Type |
Name |
Description |
System.UInt32 |
nWidth |
|
System.UInt32 |
nHeight |
|
Extension Methods