LightSpriteBase Fields |
The LightSpriteBase type exposes the following members.
Name | Description | |
---|---|---|
aimX |
Horizontal offset relative to this sprite's location at which this light source points.
| |
aimY |
Vertical offset relative to this sprite's location at which this light source points.
| |
aimZ |
Depth offset relative to this sprite's location at which this light source points.
| |
apertureFocus |
Determines whether and how light is focused in a particular direction.
| |
apertureSoftness |
Determines how crisp the edges of the light cone are for lights directed by apertureFocus.
| |
color | (Inherited from SpriteBase.) | |
constantFalloff |
Constant falloff works in conjunction with linearFalloff and quadraticFalloff
to determine how this light source extends over distance.
| |
dx |
Horizontal velocity of the sprite in pixels per frame
(Inherited from SpriteBase.) | |
dy |
Vertical velocity of the sprite in pixels per frame
(Inherited from SpriteBase.) | |
frame |
Numeric value corresponding to the sprite's current frame.
(Inherited from SpriteBase.) | |
inputs |
Stores the inputs that are currently being "pressed" on this sprite.
(Inherited from SpriteBase.) | |
isActive |
Determines if this sprite is currently active.
(Inherited from SpriteBase.) | |
lightZ |
Depth position of this light source relative to the layer where the sprite resides.
| |
linearFalloff |
Linear falloff works in conjunction with constantFalloff and quadraticFalloff
to determine how this light source extends over distance.
| |
LocalDX |
Horizontal velocity relative to the sprite's environment (like a platform)
(Inherited from SpriteBase.) | |
LocalDY |
Vertical velocity relative to the sprite's environment
(Inherited from SpriteBase.) | |
oldinputs |
Remembers the inputs that were active on this sprite in the previous frame
(Inherited from SpriteBase.) | |
oldX |
The value of this sprite's x coordinate on the previous frame.
(Inherited from SpriteBase.) | |
oldY |
The value of this sprite's y coordinate on the previous frame.
(Inherited from SpriteBase.) | |
Processed |
Determines if this sprite's definition's rules have been processed yet this frame
(Inherited from SpriteBase.) | |
quadraticFalloff |
Quadratic falloff works in conjunction with constantFalloff and linearFalloff
to determine how this light source extends over distance.
| |
RidingOn |
Stores the platform sprite (the sprite that this sprite rides on).
If not set, then the sprite is not riding anything.
(Inherited from SpriteBase.) | |
state |
Numeric value corresponding to the sprite's current state.
(Inherited from SpriteBase.) | |
TouchedTiles |
A collection of tiles being processed by TouchTiles(TileCategoryName) and other rules
related to tile interactions.
(Inherited from SpriteBase.) | |
x |
Horizontal coordinate of the sprite within its layer.
(Inherited from SpriteBase.) | |
y |
Vertical coordinage of the sprite within its layer.
(Inherited from SpriteBase.) |