Package | away3d.animators.states |
Class | public class ParticleSpriteSheetState |
Inheritance | ParticleSpriteSheetState ParticleStateBase AnimationStateBase Object |
Property | Defined By | ||
---|---|---|---|
cycleDuration : Number
Defines the cycle duration in seconds, when in global mode. | ParticleSpriteSheetState | ||
cyclePhase : Number
Defines the cycle phase, when in global mode. | ParticleSpriteSheetState | ||
needUpdateTime : Boolean [read-only] | ParticleStateBase | ||
positionDelta : Vector3D [read-only]
Returns a 3d vector representing the translation delta of the animating entity for the current timestep of animation
| AnimationStateBase |
Method | Defined By | ||
---|---|---|---|
ParticleSpriteSheetState(animator:ParticleAnimator, particleSpriteSheetNode:ParticleSpriteSheetNode) | ParticleSpriteSheetState | ||
offset(startTime:int):void
Resets the start time of the node to a new value. | AnimationStateBase | ||
phase(value:Number):void
Sets the animation phase of the node. | AnimationStateBase | ||
setRenderState(stage3DProxy:Stage3DProxy, renderable:IRenderable, animationSubGeometry:AnimationSubGeometry, animationRegisterCache:AnimationRegisterCache, camera:Camera3D):void [override] | ParticleSpriteSheetState | ||
update(time:int):void
Updates the configuration of the node to its current state. | AnimationStateBase |
cycleDuration | property |
cycleDuration:Number
Defines the cycle duration in seconds, when in global mode. Defaults to 1.
public function get cycleDuration():Number
public function set cycleDuration(value:Number):void
cyclePhase | property |
cyclePhase:Number
Defines the cycle phase, when in global mode. Defaults to zero.
public function get cyclePhase():Number
public function set cyclePhase(value:Number):void
ParticleSpriteSheetState | () | Constructor |
public function ParticleSpriteSheetState(animator:ParticleAnimator, particleSpriteSheetNode:ParticleSpriteSheetNode)
animator:ParticleAnimator | |
particleSpriteSheetNode:ParticleSpriteSheetNode |
setRenderState | () | method |
override public function setRenderState(stage3DProxy:Stage3DProxy, renderable:IRenderable, animationSubGeometry:AnimationSubGeometry, animationRegisterCache:AnimationRegisterCache, camera:Camera3D):void
Parameters
stage3DProxy:Stage3DProxy | |
renderable:IRenderable | |
animationSubGeometry:AnimationSubGeometry | |
animationRegisterCache:AnimationRegisterCache | |
camera:Camera3D |