Search Results for

    Show / Hide Table of Contents

    Class OpenXRFBPassthrough

    OpenXR implementation of passthrough.

    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 support color.

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

    IsSurfaceMeshSupported

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

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

    Methods

    CreatePassthroughLayer()

    Create a new passthrough layer.

    Declaration
    public override XRPassthroughLayer CreatePassthroughLayer()
    Returns
    Type Description
    XRPassthroughLayer

    The passthrough layer instance.

    Overrides
    XRPassthrough.CreatePassthroughLayer()

    CreateSurfaceMesh(Mesh, Matrix4x4)

    Create a Mesh to 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 respect the tracking space.

    Returns
    Type Description
    XRPassthroughSurfaceMesh

    True if the mesh has been suscessfully added.

    Overrides
    XRPassthrough.CreateSurfaceMesh(Mesh, Matrix4x4)

    Destroy()

    Destroy all resources of this instance.

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

    Initialize()

    Initialize the Passthrough.

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

    PausePassthrough()

    Pause the passthrough of all layers.

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

    StartPassthrough()

    Resume the passthrough of all layers.

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

    Update(long)

    Update 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