Class WindowsMRExtensions
Extension methods for the XRMeshingSubsystem that provide Windows MR XR Plugin specific APIs on top of the standard subsystem feature set.
Inheritance
WindowsMRExtensions
Syntax
public static class WindowsMRExtensions
Methods
Declaration
public static void GetMeshingDataForMesh(this XRMeshSubsystem meshing, MeshId meshId, out WindowsMRExtensions.MeshingData data)
Parameters
ReleaseMeshingData(XRMeshSubsystem, ref WindowsMRExtensions.MeshingData)
Declaration
public static void ReleaseMeshingData(this XRMeshSubsystem meshing, ref WindowsMRExtensions.MeshingData data)
Parameters
SetBoundingVolumeFrustum(XRMeshSubsystem, Plane[])
Declaration
public static void SetBoundingVolumeFrustum(this XRMeshSubsystem meshing, Plane[] planes)
Parameters
Type |
Name |
Description |
XRMeshSubsystem |
meshing |
|
Plane[] |
planes |
|
SetBoundingVolumeOrientedBox(XRMeshSubsystem, Vector3, Vector3, Quaternion)
Declaration
public static void SetBoundingVolumeOrientedBox(this XRMeshSubsystem meshing, Vector3 center, Vector3 extents, Quaternion orientation)
Parameters
Type |
Name |
Description |
XRMeshSubsystem |
meshing |
|
Vector3 |
center |
|
Vector3 |
extents |
|
Quaternion |
orientation |
|
SetBoundingVolumeSphere(XRMeshSubsystem, Vector3, Single)
Declaration
public static void SetBoundingVolumeSphere(this XRMeshSubsystem meshing, Vector3 center, float radius)
Parameters
Type |
Name |
Description |
XRMeshSubsystem |
meshing |
|
Vector3 |
center |
|
Single |
radius |
|