Click or drag to resize
DigitalRuneLodCollectionIndexOf Method (Single)
Determines the index of the LOD at a specific distance in the LodCollection.

Namespace: DigitalRune.Graphics.SceneGraph
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public int IndexOf(
	float distance
)

Parameters

distance
Type: SystemSingle
The LOD distance. (Must be normalized - see LodCollection.)

Return Value

Type: Int32
The index of the LOD at the specified distance if found in the LodCollection; otherwise, -1.
See Also