Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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

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.