transparencySortAxis
An axis that describes the direction along which the distances of objects are measured for the purpose of sorting.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Property
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
public static Vector3 transparencySortAxis { get; set; }
Remarks
This is the default axis used by the rendering pipeline for sorting in TransparencySortMode.CustomAxis mode for all Cameras including the SceneView's. You may override this for each invididual Camera by calling Camera.transparencySortAxis and Camera.transparencySortMode APIs.
Additional Resources: TransparencySortMode enum, Camera.transparencySortAxis, Camera.transparencySortMode.