Search Results for

    Show / Hide Table of Contents

    Class XRPassthrough

    This class represents the Passthrough functionality in XRPlatform.

    Inheritance
    object
    DisposableObject
    XRPassthrough
    Implements
    IDisposable
    Inherited Members
    DisposableObject.Disposed
    DisposableObject.Dispose()
    DisposableObject.Dispose(bool)
    DisposableObject.Destroy()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Evergine.Framework.XR.Passthrough
    Assembly: Evergine.Framework.dll
    Syntax
    public abstract class XRPassthrough : DisposableObject, IDisposable

    Properties

    IsColorSupported

    Gets a value indicating whether the passthrough support color.

    Declaration
    public abstract bool IsColorSupported { get; }
    Property Value
    Type Description
    bool

    IsSurfaceMeshSupported

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

    Declaration
    public abstract bool IsSurfaceMeshSupported { get; }
    Property Value
    Type Description
    bool

    Methods

    CreatePassthroughLayer()

    Create a new passthrough layer.

    Declaration
    public abstract XRPassthroughLayer CreatePassthroughLayer()
    Returns
    Type Description
    XRPassthroughLayer

    The passthrough layer instance.

    CreateSurfaceMesh(Mesh, Matrix4x4)

    Create a Mesh to the Insight Passthrough projection surface.

    Declaration
    public abstract 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.

    PausePassthrough()

    Pause the passthrough of all layers.

    Declaration
    public abstract void PausePassthrough()

    StartPassthrough()

    Resume the passthrough of all layers.

    Declaration
    public abstract void StartPassthrough()

    Implements

    IDisposable

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In This Article
    Back to top
    Generated by DocFX