API reference

MeshGroup Struct

A struct that defines a grouping of mesh faces and the material that should be applied to the faces.

Fields

faceCount : UIntPtr
The number of faces that this group uses from the index buffer. The number of bytes read from the index buffer for the group is determined by the formula: (faceCount)*(verticesPerFace)*(bytesPerIndex)
Signature
UIntPtr Meta.XR.Acoustics.MeshGroup.faceCount
faceType : FaceType
The type of face that the group uses. This determines how many indices are needed to define a face.
Signature
FaceType Meta.XR.Acoustics.MeshGroup.faceType
indexOffset : UIntPtr
The offset in the index buffer of the first index in the group.
Signature
UIntPtr Meta.XR.Acoustics.MeshGroup.indexOffset
material : IntPtr
A handle to the material that should be assigned to the group. If equal to 0/NULL/nullptr, a default material is used instead.
Signature
IntPtr Meta.XR.Acoustics.MeshGroup.material