Click or drag to resize

PickResultDepth Property

Gets the depth of the picked location in the 3D scene.

Namespace:  AGI.Foundation.Graphics
Assembly:  AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public virtual float Depth { get; }

Property Value

Type: Single
Remarks
Depth is adjusted for rendering with multiple view frustums so it may be outside the range [0, 1] but it will never be negative. Smaller depth values indicate objects closer to the camera.
See Also