sfml.graphics.Sprite
See theSprite companion trait
object Sprite
Attributes
Members list
Value members
Concrete methods
Construct the sprite from a source texture.
Construct the sprite from a source texture.
Value parameters
- texture
-
Source texture
Attributes
- See also
Construct the sprite from a sub-rectangle of a source texture.
Construct the sprite from a sub-rectangle of a source texture.
Value parameters
- rectangle
-
Sub-rectangle of the texture to assign to the sprite
- texture
-
Source texture
Attributes
- See also
In this article