Description 描述
This struct describes the methods to sort objects during rendering.
See Also: DrawingSettings, ScriptableRenderContext.DrawRenderers.
Properties 属性
| 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. |
Constructors
| SortingSettings | Create a sorting settings struct. |