This struct describes the methods to sort objects during rendering.
Additional resources: DrawingSettings, ScriptableRenderContext.DrawRenderers.
| Property | Description |
|---|---|
| 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. |
| Constructor | Description |
|---|---|
| SortingSettings | Create a sorting settings struct. |