API reference

MeshSimplification Struct

A struct that describes how a mesh should be simplified.

Fields

UIntPtr thisSize[Get]
The size of this structure. You must set this equal to sizeof(ovrAudioMeshSimplification) This will ensure version compatibility.
The mesh flags that describe how the mesh should be rendered.
The local unit scale factor for the mesh (the factor that converts from mesh-local coordinates to coordinates in meters). The other length quantities in this struct are converted to mesh-local coordinates using this value.
The maximum allowed error due to simplification, expressed as a distance in meters.
The minimum angle (degrees) that there must be between two adjacent face normals for their edge to be marked as diffracting.
The minimum length in meters that an edge should have for it to be marked as diffracting.
The maximum distance in meters that a diffraction flag extends out from the edge.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon