Search Results for

    Show / Hide Table of Contents

    Class WebXRPlatform

    XRPlatform for WebXR.

    Inheritance
    object
    IdentifiableObject
    DependencyObject
    AttachableObject
    Service
    XRPlatform
    WebXRPlatform
    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.RenderableModels
    XRPlatform.RenderMirrorTexture
    XRPlatform.LightEstimation
    XRPlatform.FeaturePoints
    XRPlatform.TrackableItems
    XRPlatform.Passthrough
    XRPlatform.CreateSpatialMappingObserver()
    XRPlatform.Update()
    XRPlatform.RequestEyeGazePermission()
    XRPlatform.GetNativePointer(string, out nint)
    XRPlatform.UpdateCameras()
    XRPlatform.MirrorDisplayUpdated()
    XRPlatform.RefreshMSAA()
    Service.OnLoaded()
    Service.OnAttached()
    Service.OnActivated()
    Service.Start()
    Service.OnDeactivated()
    Service.OnDetach()
    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.WebXR
    Assembly: Evergine.WebXR.dll
    Syntax
    public class WebXRPlatform : XRPlatform, IDependencyObject, IGetNativePointers

    Constructors

    WebXRPlatform(WebXRWindowsSystem, string)

    Initializes a new instance of the WebXRPlatform class.

    Declaration
    public WebXRPlatform(WebXRWindowsSystem windowsSystem, string canvasId)
    Parameters
    Type Name Description
    WebXRWindowsSystem windowsSystem

    WebXR windows system.

    string canvasId

    Canvas ID.

    Properties

    Display

    Gets the display provided by this XR device.

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

    EyeCount

    Gets the number of eyes required by this device to view.

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

    InputTracking

    Gets the input tracking.

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

    Methods

    EnterImmersive(string, string)

    Enter into XR inmmersive mode.

    Declaration
    public Task EnterImmersive(string mode, string overlayId)
    Parameters
    Type Name Description
    string mode

    The mode. Only AR supported.

    string overlayId

    Overlay layer id.

    Returns
    Type Description
    Task

    Task that initiates the immersive mode.

    ExitImmersive()

    Exists the current immersive mode.

    Declaration
    public void ExitImmersive()

    InternalUpdate()

    Updates the XR device and all properties.

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

    Implements

    IDependencyObject
    IGetNativePointers

    Extension Methods

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