Method SetDepthRange
SetDepthRange(float, float)
Set the range of values used for depth sorting. These values should match Camera.nearClipPlane and Camera.farClipPlane
Declaration
public static void SetDepthRange(float near, float far)
Parameters
| Type | Name | Description |
|---|---|---|
| float | near | The value for the near clipping plane. |
| float | far | The value for the far clipping plane. |