| LodCollectionAdd Method |
Namespace: DigitalRune.Graphics.SceneGraphAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax public void Add(
float distance,
SceneNode node
)
Public Sub Add (
distance As Single,
node As SceneNode
)
public:
void Add(
float distance,
SceneNode^ node
)
member Add :
distance : float32 *
node : SceneNode -> unit
Parameters
- distance
- Type: SystemSingle
The distance at which the LOD will be visible. (Must be normalized - see
LodCollection.)
- node
- Type: DigitalRune.Graphics.SceneGraphSceneNode
The LOD node (a single scene node or subtree that represents the LOD).
Exceptions Remarks
If a LOD at the same distance already exists in the
LodCollection, it will be
overwritten.
See Also