Sprite Properties

SFML.Net

Sprite Properties

The Sprite type exposes the following members.

Properties
  Name Description
Public property Color
Global color of the object
Public property CPointer
Access to the internal pointer of the object. For internal use only
(Inherited from ObjectBase.)
Public property InverseTransform
The combined transform of the object
(Inherited from Transformable.)
Public property Origin
The origin of an object defines the center point for all transformations (position, scale, rotation). The coordinates of this point must be relative to the top-left corner of the object, and ignore all transformations (position, scale, rotation).
(Inherited from Transformable.)
Public property Position
Position of the object
(Inherited from Transformable.)
Public property Rotation
Rotation of the object
(Inherited from Transformable.)
Public property Scale
Scale of the object
(Inherited from Transformable.)
Public property Texture
Source texture displayed by the sprite
Public property TextureRect
Sub-rectangle of the source image displayed by the sprite
Public property Transform
The combined transform of the object
(Inherited from Transformable.)
Top
See Also