Search Results for

    Show / Hide Table of Contents

    Class OpenVRPlatform

    OpenVR service.

    Inheritance
    object
    IdentifiableObject
    DependencyObject
    AttachableObject
    Service
    XRPlatform
    OpenVRPlatform
    Implements
    IDependencyObject
    IGetNativePointers
    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()
    XRPlatform.GetNativePointer(string, out nint)
    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
    IdentifiableObject.Id
    IdentifiableObject.IdHasChanged(Guid)
    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
    XRPlatform.Display

    InputTracking

    Gets the input tracking.

    Declaration
    public override XRInputTracking InputTracking { get; }
    Property Value
    Type Description
    XRInputTracking
    Overrides
    XRPlatform.InputTracking

    RenderableModels

    Gets the renderable models.

    Declaration
    public override XRRenderableModels RenderableModels { get; }
    Property Value
    Type Description
    XRRenderableModels
    Overrides
    XRPlatform.RenderableModels

    Methods

    InternalUpdate()

    Updates the XR device and all properties.

    Declaration
    protected override void InternalUpdate()
    Overrides
    XRPlatform.InternalUpdate()

    MirrorDisplayUpdated()

    Updates the mirror display.

    Declaration
    protected override void MirrorDisplayUpdated()
    Overrides
    XRPlatform.MirrorDisplayUpdated()

    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
    Service.OnAttached()

    OnDetach()

    Invoked when the object is detached.

    Declaration
    protected override void OnDetach()
    Overrides
    Service.OnDetach()

    OnLoaded()

    Invoked when the object is loaded.

    Declaration
    protected override void OnLoaded()
    Overrides
    Service.OnLoaded()

    RefreshMSAA()

    Refreshes the MSAA sample count.

    Declaration
    protected override void RefreshMSAA()
    Overrides
    XRPlatform.RefreshMSAA()

    UpdateCameras()

    Updates the camera properties of the entire application to render in XR.

    Declaration
    protected override void UpdateCameras()
    Overrides
    XRPlatform.UpdateCameras()

    Implements

    IDependencyObject
    IGetNativePointers

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In this article
    Back to top
    Generated by DocFX