Package | away3d.animators.states |
Class | public class ParticleScaleState |
Inheritance | ParticleScaleState ParticleStateBase AnimationStateBase Object |
Property | Defined By | ||
---|---|---|---|
cycleDuration : Number
Defines the duration of the animation in seconds, used as a period independent of particle duration when in global mode. | ParticleScaleState | ||
cyclePhase : Number
Defines the phase of the cycle in degrees, used as the starting offset of the cycle when in global mode. | ParticleScaleState | ||
maxScale : Number
Defines the end scale of the state, when in global mode. | ParticleScaleState | ||
minScale : Number
Defines the end scale of the state, when in global mode. | ParticleScaleState | ||
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 | ||
---|---|---|---|
ParticleScaleState | |||
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] | ParticleScaleState | ||
update(time:int):void
Updates the configuration of the node to its current state. | AnimationStateBase |
cycleDuration | property |
cycleDuration:Number
Defines the duration of the animation in seconds, used as a period independent of particle duration 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 phase of the cycle in degrees, used as the starting offset of the cycle when in global mode. Defaults to 0.
public function get cyclePhase():Number
public function set cyclePhase(value:Number):void
maxScale | property |
maxScale:Number
Defines the end scale of the state, when in global mode. Defaults to 1.
public function get maxScale():Number
public function set maxScale(value:Number):void
minScale | property |
minScale:Number
Defines the end scale of the state, when in global mode. Defaults to 1.
public function get minScale():Number
public function set minScale(value:Number):void
ParticleScaleState | () | Constructor |
public function ParticleScaleState(animator:ParticleAnimator, particleScaleNode:ParticleScaleNode)
animator:ParticleAnimator | |
particleScaleNode:ParticleScaleNode |
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 |