SpriteBase Properties |
The SpriteBase type exposes the following members.
Name | Description | |
---|---|---|
CurrentState |
Retrieves information about the state that the sprite is currently in.
| |
CurrentView |
If multiple views are visible, this determines which view is currently active.
(Inherited from GeneralRules.) | |
Item |
Returns information about a specified state of this sprite
| |
ModulateAlpha |
Affects the sprite's visibility.
| |
ModulateBlue |
Affects the output of blue when this sprite is drawn.
| |
ModulateGreen |
Affects the output of green when this sprite is drawn.
| |
ModulateRed |
Affects the output of red when this sprite is drawn.
| |
OldPixelX |
The horizontal pixel coordinate that the sprite was at on the previous frame
| |
OldPixelY |
The vertical pixel coordinate that the sprite was at on the previous frame
| |
ParentLayer |
Retrieves information about the layer in which the sprite resides.
(Overrides GeneralRulesParentLayer.) | |
PixelX |
Horizontal position of the sprite within the layer rounded toward zero to yield an integer.
| |
PixelY |
Vertical position of the sprite within the layer rounded toward zero to yield an integer.
| |
ProposedPixelX |
The horizontal coordinate that the sprite is expected to be at on the next frame based on its
current position and velocity, rounded toward zero to yield an integer pixel coordinate.
| |
ProposedPixelY |
The vertical coordinate that the sprite is expected to be at on the next frame based on its
current position and velocity, rounded toward zero to yield an integer pixel coordinate.
| |
SolidHeight |
How many pixels high is the solid area of this sprite.
| |
SolidWidth |
How many pixels wide is the solid area of this sprite.
|