Click or drag to resize
DigitalRuneSceneNodeSortTag Property
Gets or sets the sort tag.

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

Property Value

Type: Single
The sort tag.
Remarks

This property that can be used for sorting scene nodes. For example, when sorting scene nodes by distance, the distance can be computed and stored in SortTag. The sorting should occur immediately after assigning the sort tag. (Many renderers of DigitalRune Graphics internally also use the sort tag. Hence, the property may be overwritten by the graphics engine.)

See Also