Class OpenXRFBPassthroughSurfaceMesh
OpenXR implementation of passthrough surface mesh using FB extension.
Inherited Members
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
PassthroughLayer
Gets the associated passthrough layer.
Declaration
public override XRPassthroughLayer PassthroughLayer { get; }
Property Value
Type | Description |
---|---|
XRPassthroughLayer |
Overrides
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
Methods
Destroy()
Destroys all resources of this instance.
Declaration
protected override void Destroy()