Click or drag to resize
Ab4d.SharpEngine logo

MeshTrianglesSorterSortByCameraDistance Method

Overload List
 NameDescription
Public methodSortByCameraDistance(Vector3) Sorts the triangle indices by distance to the specified camera position and returns the sorted triangle indices. 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. The sorted positions are also accessible from SortedIndicesArray property.
Public methodSortByCameraDistance(Vector3, Boolean, Boolean) Sorts the triangle indices by distance to the specified camera position and returns the sorted triangle indices. 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. The sorted positions are also accessible from SortedIndicesArray property.
Top
See Also