| SpriteNodeLastDepth Property |
Gets the depth at which the sprite was rendered.
Namespace: DigitalRune.Graphics.SceneGraphAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax public float LastDepth { get; }
Public ReadOnly Property LastDepth As Single
Get
public:
property float LastDepth {
float get ();
}
member LastDepth : float32 with get
Property Value
Type:
SingleThe 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