Search Results for

    Show / Hide Table of Contents

    Class OpenXRFBPassthroughSurfaceMesh

    OpenXR implementation of passthrough surface mesh using FB extension.

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

    Constructors

    OpenXRFBPassthroughSurfaceMesh(OpenXRFBPassthrough, Mesh, Matrix4x4)

    Initializes a new instance of the OpenXRFBPassthroughSurfaceMesh class.

    Declaration
    public OpenXRFBPassthroughSurfaceMesh(OpenXRFBPassthrough fbPassthrough, Mesh mesh, Matrix4x4 worldToTrackingSpace)
    Parameters
    Type Name Description
    OpenXRFBPassthrough fbPassthrough

    The passthrough instance.

    Mesh mesh

    The mesh.

    Matrix4x4 worldToTrackingSpace

    The transformation to tracking space.

    Fields

    XRGeometryInstance

    The geometry instance associated with the layer.

    Declaration
    public XrGeometryInstanceFB XRGeometryInstance
    Field Value
    Type Description
    XrGeometryInstanceFB

    XRTriangleMesh

    Triangle mesh created to project the mesh in FB extension.

    Declaration
    public readonly XrTriangleMeshFB XRTriangleMesh
    Field Value
    Type Description
    XrTriangleMeshFB

    Properties

    Mesh

    Gets the projected mesh.

    Declaration
    public override Mesh Mesh { get; }
    Property Value
    Type Description
    Mesh
    Overrides
    XRPassthroughSurfaceMesh.Mesh

    PassthroughLayer

    Gets the associated passthrough layer.

    Declaration
    public override XRPassthroughLayer PassthroughLayer { get; }
    Property Value
    Type Description
    XRPassthroughLayer
    Overrides
    XRPassthroughSurfaceMesh.PassthroughLayer

    WorldToTrackingSpace

    Gets or sets the transform of the mesh with respect to the tracking space.

    Declaration
    public override Matrix4x4 WorldToTrackingSpace { get; set; }
    Property Value
    Type Description
    Matrix4x4
    Overrides
    XRPassthroughSurfaceMesh.WorldToTrackingSpace

    Methods

    Destroy()

    Destroys all resources of this instance.

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

    Extension Methods

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