Click or drag to resize
DigitalRuneSpriteNodeLastDepth Property
Gets the depth at which the sprite was rendered.

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

Property Value

Type: Single
The depth of the sprite in the range [0, 1].
Remarks

The properties LastBounds and LastDepth are updated every time the sprite node is rendered. The property LastFrame indicates at which frame the sprite node was rendered last.

Note: The property LastBounds stores the unrotated bounding box.

See Also