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()
Updates the XR device and all properties.
Declaration
protected override void InternalUpdate()
Overrides
MirrorDisplayUpdated()
Updates 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 everything is OK. |
Overrides
OnDetached()
Invoked when the object is detached.
Declaration
protected override void OnDetached()
Overrides
OnLoaded()
Invoked when the object is loaded.
Declaration
protected override void OnLoaded()
Overrides
RefreshMSAA()
Refreshes the MSAA sample count.
Declaration
protected override void RefreshMSAA()
Overrides
UpdateCameras()
Updates the camera properties of the entire application to render in XR.
Declaration
protected override void UpdateCameras()