Class OpenVRPlatform
OpenVR service.
Inheritance
DependencyObject
    AttachableObject
    Service
    XRPlatform
    OpenVRPlatform
  Inherited Members
      XRPlatform.screenContextManager
    
    
      XRPlatform.AssetsService
    
    
      XRPlatform.eyeProperties
    
    
      XRPlatform.headGaze
    
    
      XRPlatform.eyeGaze
    
    
      XRPlatform.trackingState
    
    
      XRPlatform.mirrorDisplay
    
    
      XRPlatform.msaaSampleCount
    
    
      XRPlatform.AvailablePointerKeys
    
    
      XRPlatform.MSAASampleCount
    
    
      XRPlatform.MirrorDisplay
    
    
      XRPlatform.NearClipDistance
    
    
      XRPlatform.FarClipDistance
    
    
      XRPlatform.MirrorHMDTexture
    
    
      XRPlatform.EyeCount
    
    
      XRPlatform.HeadGaze
    
    
      XRPlatform.EyeGaze
    
    
      XRPlatform.IsEyeGazeValid
    
    
      XRPlatform.TrackingState
    
    
      XRPlatform.SpatialAnchorStore
    
    
      XRPlatform.SpatialInputManager
    
    
      XRPlatform.RenderMirrorTexture
    
    
      XRPlatform.LightEstimation
    
    
      XRPlatform.FeaturePoints
    
    
      XRPlatform.TrackableItems
    
    
      XRPlatform.Passthrough
    
    
      XRPlatform.CreateSpatialMappingObserver()
    
    
      XRPlatform.Update()
    
    
      XRPlatform.RequestEyeGazePermission()
    
    
    
      Service.OnActivated()
    
    
      Service.Start()
    
    
      Service.OnDeactivated()
    
    
      Service.OnDestroy()
    
    
      AttachableObject.AttachableStateChanged
    
    
      AttachableObject.IsEnabled
    
    
      AttachableObject.State
    
    
      AttachableObject.IsLoaded
    
    
      AttachableObject.IsAttached
    
    
      AttachableObject.IsActivated
    
    
      AttachableObject.IsStarted
    
    
      AttachableObject.IsDestroyed
    
    
      AttachableObject.ShouldBeActivated
    
    
      AttachableObject.Destroy()
    
    
      AttachableObject.DependencyBroken()
    
    
      DependencyObject.Dependencies
    
    
      DependencyObject.OnDependencyRemoved
    
    
    
    
    
    
    
    
    
    
  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
Evergine.Framework.Services.XRPlatform.Display
  
  InputTracking
Gets the input tracking.
Declaration
public override XRInputTracking InputTracking { get; }
  Property Value
| Type | Description | 
|---|---|
| XRInputTracking | 
Overrides
Evergine.Framework.Services.XRPlatform.InputTracking
  
  RenderableModels
Gets the renderable models.
Declaration
public override XRRenderableModels RenderableModels { get; }
  Property Value
| Type | Description | 
|---|---|
| XRRenderableModels | 
Overrides
Evergine.Framework.Services.XRPlatform.RenderableModels
  Methods
InternalUpdate()
Update the XR device and all properties.
Declaration
protected override void InternalUpdate()
  Overrides
Evergine.Framework.Services.XRPlatform.InternalUpdate()
  
  MirrorDisplayUpdated()
Update the mirror display.
Declaration
protected override void MirrorDisplayUpdated()
  Overrides
Evergine.Framework.Services.XRPlatform.MirrorDisplayUpdated()
  
  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
Evergine.Framework.Services.Service.OnAttached()
  
  OnDetach()
Invoked when the object is detached.
Declaration
protected override void OnDetach()
  Overrides
Evergine.Framework.Services.Service.OnDetach()
  
  OnLoaded()
Invoked when the object is loaded.
Declaration
protected override void OnLoaded()
  Overrides
Evergine.Framework.Services.Service.OnLoaded()
  
  RefreshMSAA()
Refresh the MSAA Sample Count.
Declaration
protected override void RefreshMSAA()
  Overrides
Evergine.Framework.Services.XRPlatform.RefreshMSAA()
  
  UpdateCameras()
Update camera properties of all application to render in XR.
Declaration
protected override void UpdateCameras()
  Overrides
Evergine.Framework.Services.XRPlatform.UpdateCameras()