Class OpenVRPlatform
OpenVR service.
Inheritance
OpenVRPlatform
Inherited Members
Namespace: Evergine.OpenVR
Assembly: Evergine.OpenVR.dll
Syntax
public class OpenVRPlatform : XRPlatform, IDependencyObject, IGetNativePointers
Constructors
OpenVRPlatform()
Initializes a new instance of the OpenVRPlatform class.
Declaration
public OpenVRPlatform()
Fields
OpenVRApplicationType
OpenVR application type.
Declaration
public EVRApplicationType OpenVRApplicationType
Field Value
Type | Description |
---|---|
EVRApplicationType |
SkipHMD
Indicates if the OpenVR application must skip the HMD.
Declaration
public bool SkipHMD
Field Value
Type | Description |
---|---|
bool |
Properties
Display
Gets the display provided by this XR device.
Declaration
public override Display Display { get; }
Property Value
Type | Description |
---|---|
Display |
Overrides
InputTracking
Gets the input tracking.
Declaration
public override XRInputTracking InputTracking { get; }
Property Value
Type | Description |
---|---|
XRInputTracking |
Overrides
RenderableModels
Gets the renderable models.
Declaration
public override XRRenderableModels RenderableModels { get; }
Property Value
Type | Description |
---|---|
XRRenderableModels |
Overrides
Methods
InternalUpdate()
Update the XR device and all properties.
Declaration
protected override void InternalUpdate()
Overrides
MirrorDisplayUpdated()
Update the mirror display.
Declaration
protected override void MirrorDisplayUpdated()
Overrides
OnAttached()
Invoked when the object is attached to the system.
Declaration
protected override bool OnAttached()
Returns
Type | Description |
---|---|
bool | True if all is OK. |
Overrides
OnDetach()
Invoked when the object is detached.
Declaration
protected override void OnDetach()
Overrides
OnLoaded()
Invoked when the object is loaded.
Declaration
protected override void OnLoaded()
Overrides
RefreshMSAA()
Refresh the MSAA Sample Count.
Declaration
protected override void RefreshMSAA()
Overrides
UpdateCameras()
Update camera properties of all application to render in XR.
Declaration
protected override void UpdateCameras()