This struct describes the methods to sort objects during rendering.
See Also: DrawingSettings, ScriptableRenderContext.DrawRenderers.
cameraPosition | Used to calculate the distance to objects. |
criteria | What kind of sorting to do while rendering. |
customAxis | Used to calculate distance to objects, by comparing the positions of objects to this axis. |
distanceMetric | Type of sorting to use while rendering. |
worldToCameraMatrix | Used to calculate the distance to objects. |
SortingSettings | Create a sorting settings struct. |
Did you find this page useful? Please give it a rating: