| PackedTextureGetBounds Method |
Gets the bounds of the packed texture in pixel.
Namespace: DigitalRune.GraphicsAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax public Rectangle GetBounds(
float animationTime
)
Public Function GetBounds (
animationTime As Single
) As Rectangle
public:
Rectangle GetBounds(
float animationTime
)
member GetBounds :
animationTime : float32 -> Rectangle
Parameters
- animationTime
- Type: SystemSingle
For tile sets: The normalized animation time. (0 = start of the animation, 1 = end of
animation)
Return Value
Type:
RectangleThe bounds of the packed texture in pixel.
See Also