SceneIs |
IsTransparencySortingEnabled gets or sets a Boolean that specifies if sorting transparent objects by their distance to the camera is enabled.
When rendering transparent and semi-transparent objects with using alpha blending (standard technique to render transparent objects), then the objects behind transparent objects needs to be rendered before the transparent objects. Otherwise the depth clipping will prevent them to be rendered and therefore they will not be visible through the transparent objects. This means that for correct rendering of transparent objects, then need to be rendered so that those farther away from the camera are rendered first and then objects closer to the camera are rendered.
Setting this value sets the IsSortingEnabled property on the CameraDistanceSortedRenderingLayer.
Default value is false.