Method GetFaceClassifications
GetFaceClassifications(XRMeshSubsystem, TrackableId, Allocator)
Get the face classifications for the given mesh ID.
Declaration
public static NativeArray<ARMeshClassification> GetFaceClassifications(this XRMeshSubsystem subsystem, TrackableId meshId, Allocator allocator)
Parameters
Type | Name | Description |
---|---|---|
XRMeshSubsystem | subsystem | The meshing subsystem. |
TrackableId | meshId | The trackable ID representing the mesh. |
Allocator | allocator | The memory allocator type to use in allocating the native array memory. |
Returns
Type | Description |
---|---|
NativeArray<ARMeshClassification> | An array of mesh classifications, one for each face in the mesh. |