Click or drag to resize
AB4D logo

MeshTrianglesSorter Methods

The MeshTrianglesSorter type exposes the following members.

Methods
 NameDescription
Public methodSortByCameraDistance Sorts the triangle indices by distance to the specified camera position and sets the sorted indices into SortedIndicesArray. When the checkIfAlreadySorted parameter is true (by default), then the currently sorted positions are first checked if they are already sorted and in this case do not sort the array.
Public methodTransform Sets the transformation matrix that transforms the positions of the mesh.
Top
See Also