Click or drag to resize
DigitalRuneEdgeFilterDepthThreshold Property
Gets or sets the depth threshold for edge detection.

Namespace: DigitalRune.Graphics.PostProcessing
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public float DepthThreshold { get; set; }

Property Value

Type: Single
The depth threshold for edge detection in the range [0, 1]. The default value is 0.001.
Remarks

Edges with a depth difference below the threshold are not detected. Use the following equation to convert a distance in world space to the depth threshold:

depthThreshold = minDistance / farPlaneDistance

where minDistance is the minimal distance in world space unit that is required to detect an edge. farPlaneDistance is the distance to the far view plane.

See Also