Search Results for

    Show / Hide Table of Contents

    Class OpenXRFBPassthrough

    OpenXR implementation of the passthrough feature.

    Inheritance
    object
    DisposableObject
    XRPassthrough
    OpenXRPassthrough
    OpenXRFBPassthrough
    Inherited Members
    DisposableObject.Disposed
    DisposableObject.Dispose()
    DisposableObject.Dispose(bool)
    Namespace: Evergine.OpenXR.Passthrough.FB
    Assembly: Evergine.OpenXR.dll
    Syntax
    public class OpenXRFBPassthrough : OpenXRPassthrough

    Properties

    IsColorSupported

    Gets a value indicating whether the passthrough supports color.

    Declaration
    public override bool IsColorSupported { get; }
    Property Value
    Type Description
    bool
    Overrides
    XRPassthrough.IsColorSupported

    IsSurfaceMeshSupported

    Gets a value indicating whether the device supports passthrough projected meshes.

    Declaration
    public override bool IsSurfaceMeshSupported { get; }
    Property Value
    Type Description
    bool
    Overrides
    XRPassthrough.IsSurfaceMeshSupported

    Methods

    CreatePassthroughLayer()

    Creates a new passthrough layer.

    Declaration
    public override XRPassthroughLayer CreatePassthroughLayer()
    Returns
    Type Description
    XRPassthroughLayer

    The passthrough layer instance.

    Overrides
    XRPassthrough.CreatePassthroughLayer()

    CreateSurfaceMesh(Mesh, Matrix4x4)

    Creates a Mesh for the Insight Passthrough projection surface.

    Declaration
    public override XRPassthroughSurfaceMesh CreateSurfaceMesh(Mesh surfaceMesh, Matrix4x4 worldToTrackingSpace)
    Parameters
    Type Name Description
    Mesh surfaceMesh

    The mesh.

    Matrix4x4 worldToTrackingSpace

    Transform of the mesh with respect to the tracking space.

    Returns
    Type Description
    XRPassthroughSurfaceMesh

    True if the mesh has been successfully added.

    Overrides
    XRPassthrough.CreateSurfaceMesh(Mesh, Matrix4x4)

    Destroy()

    Destroys all resources of this instance.

    Declaration
    protected override void Destroy()
    Overrides
    DisposableObject.Destroy()

    Initialize()

    Initializes the Passthrough.

    Declaration
    public override void Initialize()
    Overrides
    OpenXRPassthrough.Initialize()

    PausePassthrough()

    Pauses the passthrough of all layers.

    Declaration
    public override void PausePassthrough()
    Overrides
    XRPassthrough.PausePassthrough()

    StartPassthrough()

    Resumes the passthrough of all layers.

    Declaration
    public override void StartPassthrough()
    Overrides
    XRPassthrough.StartPassthrough()

    Update(long)

    Updates the passthrough.

    Declaration
    public override void Update(long predictedDisplayTime)
    Parameters
    Type Name Description
    long predictedDisplayTime

    The predicted display time.

    Overrides
    OpenXRPassthrough.Update(long)

    Extension Methods

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