Package | away3d.animators.states |
Class | public class ParticleOscillatorState |
Inheritance | ParticleOscillatorState ParticleStateBase AnimationStateBase Object |
Property | Defined By | ||
---|---|---|---|
needUpdateTime : Boolean [read-only] | ParticleStateBase | ||
oscillator : Vector3D
Defines the default oscillator axis (x, y, z) and cycleDuration (w) of the state, used when in global mode. | ParticleOscillatorState | ||
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 | ||
---|---|---|---|
ParticleOscillatorState | |||
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]
| ParticleOscillatorState | ||
update(time:int):void
Updates the configuration of the node to its current state. | AnimationStateBase |
oscillator | property |
oscillator:Vector3D
Defines the default oscillator axis (x, y, z) and cycleDuration (w) of the state, used when in global mode.
public function get oscillator():Vector3D
public function set oscillator(value:Vector3D):void
ParticleOscillatorState | () | Constructor |
public function ParticleOscillatorState(animator:ParticleAnimator, particleOscillatorNode:ParticleOscillatorNode)
animator:ParticleAnimator | |
particleOscillatorNode:ParticleOscillatorNode |
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 |