Click or drag to resize
DigitalRuneEdgeFilterDepthSensitivity Property
Gets or sets the depth sensitivity of the 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 DepthSensitivity { get; set; }

Property Value

Type: Single
The depth sensitivity of the edge detection [0, ∞]. The default value is 100.
Remarks

The sensitivity defines the range at which edges are fully detected. The right sensitivity can be found through the following equation: If minDistance is the minimal distance in world space unit that is required to detect edges, maxDistance is the distance at which an edge is fully detected (100% certainty), and farPlaneDistance is the distance to the far view plane, then

depthSensitivity = farPlaneDistance / (maxDistance - minDistance

See Also