struct in UnityEngine.Rendering
/
Implemented in:UnityEngine.CoreModule
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
CloseFor some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
CloseThis 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. |