SceneNodeMaxDistance Property |
Namespace: DigitalRune.Graphics.SceneGraph
The MaxDistance determines the distance up to which the scene node is visible. The value stored in this property is a view-normalized distance as described here: GetViewNormalizedDistance(SceneNode, CameraNode). The method GetViewNormalizedDistance(Single, Matrix44F) can be used to convert a distance to a view-normalized distance. The resulting value is independent of the current field-of-view and can be used for "distance culling".
Important: The MaxDistance only affects the current scene node. It does not affect the visibility of child nodes.