| Package | away3d.animators.states |
| Class | public class ParticleStateBase |
| Inheritance | ParticleStateBase AnimationStateBase Object |
| Subclasses | ParticleAccelerationState, ParticleBezierCurveState, ParticleBillboardState, ParticleColorState, ParticleFollowState, ParticleInitialColorState, ParticleOrbitState, ParticleOscillatorState, ParticlePositionState, ParticleRotateToHeadingState, ParticleRotationalVelocityState, ParticleScaleState, ParticleSegmentedColorState, ParticleSpriteSheetState, ParticleTimeState, ParticleUVState, ParticleVelocityState |
| Property | Defined By | ||
|---|---|---|---|
| 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 | |
| Property | Defined By | ||
|---|---|---|---|
![]() | _animationNode : AnimationNodeBase | AnimationStateBase | |
![]() | _animator : IAnimator | AnimationStateBase | |
| _dynamicProperties : Vector.<Vector3D> | ParticleStateBase | ||
| _dynamicPropertiesDirty : Dictionary | ParticleStateBase | ||
| _needUpdateTime : Boolean | ParticleStateBase | ||
![]() | _positionDeltaDirty : Boolean = true | AnimationStateBase | |
![]() | _rootDelta : Vector3D | AnimationStateBase | |
![]() | _startTime : int | AnimationStateBase | |
![]() | _time : int | AnimationStateBase | |
| Method | Defined By | ||
|---|---|---|---|
ParticleStateBase(animator:ParticleAnimator, particleNode:ParticleNodeBase, needUpdateTime:Boolean = false) | ParticleStateBase | ||
![]() | 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 | ParticleStateBase | ||
![]() | update(time:int):void
Updates the configuration of the node to its current state. | AnimationStateBase | |
| Method | Defined By | ||
|---|---|---|---|
updateDynamicProperties(animationSubGeometry:AnimationSubGeometry):void | ParticleStateBase | ||
![]() | updatePositionDelta():void
Updates the node's root delta position
| AnimationStateBase | |
![]() | updateTime(time:int):void
Updates the node's internal playhead position. | AnimationStateBase | |
| _dynamicProperties | property |
protected var _dynamicProperties:Vector.<Vector3D>| _dynamicPropertiesDirty | property |
protected var _dynamicPropertiesDirty:Dictionary| _needUpdateTime | property |
protected var _needUpdateTime:Boolean| needUpdateTime | property |
needUpdateTime:Boolean [read-only] public function get needUpdateTime():Boolean| ParticleStateBase | () | Constructor |
public function ParticleStateBase(animator:ParticleAnimator, particleNode:ParticleNodeBase, needUpdateTime:Boolean = false)animator:ParticleAnimator | |
particleNode:ParticleNodeBase | |
needUpdateTime:Boolean (default = false) |
| setRenderState | () | method |
public function setRenderState(stage3DProxy:Stage3DProxy, renderable:IRenderable, animationSubGeometry:AnimationSubGeometry, animationRegisterCache:AnimationRegisterCache, camera:Camera3D):voidParameters
stage3DProxy:Stage3DProxy | |
renderable:IRenderable | |
animationSubGeometry:AnimationSubGeometry | |
animationRegisterCache:AnimationRegisterCache | |
camera:Camera3D |
| updateDynamicProperties | () | method |
protected function updateDynamicProperties(animationSubGeometry:AnimationSubGeometry):voidParameters
animationSubGeometry:AnimationSubGeometry |