Share via


CameraSettings.InverseDepth Property

Definition

Set this to true if you are using the inverse depth range of 1 (closest to the camera) to zero (farthest from the camera) instead of the standard [0;1] for your local depth buffer.

public:
 property bool InverseDepth { bool get(); void set(bool value); };
public bool InverseDepth { get; set; }
member this.InverseDepth : bool with get, set
Public Property InverseDepth As Boolean

Property Value

Remarks

The default setting is false, i.e. a standard depth buffer floating-point range of [0;1] is assumed. Setting this is only necessary in case EnableDepth is set to true, otherwise this option can be ignored.

Applies to