Search Results for

    Show / Hide Table of Contents

    Class OpenXRPlatform

    OpenVR service.

    Inheritance
    object
    IdentifiableObject
    DependencyObject
    AttachableObject
    Service
    XRPlatform
    OpenXRPlatform
    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.HeadGaze
    XRPlatform.EyeGaze
    XRPlatform.IsEyeGazeValid
    XRPlatform.TrackingState
    XRPlatform.SpatialAnchorStore
    XRPlatform.SpatialInputManager
    XRPlatform.RenderMirrorTexture
    XRPlatform.LightEstimation
    XRPlatform.FeaturePoints
    XRPlatform.TrackableItems
    XRPlatform.CreateSpatialMappingObserver()
    XRPlatform.Update()
    XRPlatform.RequestEyeGazePermission()
    XRPlatform.GetNativePointer(string, out IntPtr)
    XRPlatform.UpdateCameras()
    XRPlatform.MirrorDisplayUpdated()
    XRPlatform.RefreshMSAA()
    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.OpenXR
    Assembly: Evergine.OpenXR.dll
    Syntax
    public class OpenXRPlatform : XRPlatform, IDependencyObject, IGetNativePointers

    Constructors

    OpenXRPlatform()

    Initializes a new instance of the OpenXRPlatform class.

    Declaration
    public OpenXRPlatform()

    OpenXRPlatform(string[], OpenXRInteractionProfile[])

    Initializes a new instance of the OpenXRPlatform class.

    Declaration
    public OpenXRPlatform(string[] extensionsToEnable, OpenXRInteractionProfile[] interactionProfiles = null)
    Parameters
    Type Name Description
    string[] extensionsToEnable

    An optiona collection of OpenXR extensions to be enabled.

    OpenXRInteractionProfile[] interactionProfiles

    The interaction profile list.

    Fields

    ApplicationName

    The aplication name. This is used when a XRInstance is created.

    Declaration
    public string ApplicationName
    Field Value
    Type Description
    string

    Properties

    Display

    Gets the display provided by this XR device.

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

    ExtensionsToEnable

    Gets the extensions to be enabled when create the xrInstance.

    Declaration
    public string[] ExtensionsToEnable { get; }
    Property Value
    Type Description
    string[]
    Remarks

    This extension list is used only during OnAttached process. If you want to add new extensions, you need to reattach this service.

    EyeCount

    Gets the number of eyes needed by this device to draw.

    Declaration
    public override int EyeCount { get; }
    Property Value
    Type Description
    int
    Overrides
    XRPlatform.EyeCount

    FormFactor

    Gets or sets the XR tracked display form factor supported.

    Declaration
    public FormFactor FormFactor { get; set; }
    Property Value
    Type Description
    FormFactor

    GraphicBackend

    Gets the grpahic backend integration.

    Declaration
    public OpenXRGraphicBackend GraphicBackend { get; }
    Property Value
    Type Description
    OpenXRGraphicBackend

    InputTracking

    Gets the input tracking.

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

    Passthrough

    Gets the passthrough manager.

    Declaration
    public override XRPassthrough Passthrough { get; }
    Property Value
    Type Description
    XRPassthrough
    Overrides
    XRPlatform.Passthrough

    ReferenceSpace

    Gets or sets the reference space for this xr application.

    Declaration
    public ReferenceSpaceType ReferenceSpace { get; set; }
    Property Value
    Type Description
    ReferenceSpaceType

    RenderableModels

    Gets the renderable models.

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

    ViewConfiguration

    Gets or sets the supported view configuration type.

    Declaration
    public ViewConfigurationType ViewConfiguration { get; set; }
    Property Value
    Type Description
    ViewConfigurationType

    Methods

    InternalUpdate()

    Update the XR device and all properties.

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

    OnActivated()

    Invoked when the object is activated once is attached.

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

    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
    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()

    Implements

    IDependencyObject
    IGetNativePointers

    Extension Methods

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