| Package | away3d.animators |
| Interface | public interface IAnimator |
| Implementors | ParticleAnimator, SkeletonAnimator, SpriteSheetAnimator, UVAnimator, VertexAnimator |
AnimationSetBase.
See also
| Property | Defined By | ||
|---|---|---|---|
| animationSet : IAnimationSet [read-only]
Returns the animation data set in use by the animator. | IAnimator | ||
| Method | Defined By | ||
|---|---|---|---|
Returns a shallow clone (re-using the same IAnimationSet) of this IAnimator. | IAnimator | ||
| IAnimator | |||
getAnimationStateByName(name:String):AnimationStateBase | IAnimator | ||
setRenderState(stage3DProxy:Stage3DProxy, renderable:IRenderable, vertexConstantOffset:int, vertexStreamOffset:int, camera:Camera3D):void
Sets the GPU render state required by the animation that is dependent of the rendered object. | IAnimator | ||
testGPUCompatibility(pass:MaterialPassBase):void
Verifies if the animation will be used on cpu. | IAnimator | ||
| animationSet | property |
animationSet:IAnimationSet [read-only] Returns the animation data set in use by the animator.
public function get animationSet():IAnimationSet| clone | () | method |
public function clone():IAnimatorReturns a shallow clone (re-using the same IAnimationSet) of this IAnimator.
ReturnsIAnimator |
| getAnimationState | () | method |
public function getAnimationState(node:AnimationNodeBase):AnimationStateBaseParameters
node:AnimationNodeBase |
AnimationStateBase |
| getAnimationStateByName | () | method |
public function getAnimationStateByName(name:String):AnimationStateBaseParameters
name:String |
AnimationStateBase |
| setRenderState | () | method |
public function setRenderState(stage3DProxy:Stage3DProxy, renderable:IRenderable, vertexConstantOffset:int, vertexStreamOffset:int, camera:Camera3D):voidSets the GPU render state required by the animation that is dependent of the rendered object.
Parameters
stage3DProxy:Stage3DProxy — The Stage3DProxy object which is currently being used for rendering.
| |
renderable:IRenderable — The object currently being rendered.
| |
vertexConstantOffset:int — The first available vertex register to write data to if running on the gpu.
| |
vertexStreamOffset:int — The first available vertex stream to write vertex data to if running on the gpu.
| |
camera:Camera3D |
| testGPUCompatibility | () | method |
public function testGPUCompatibility(pass:MaterialPassBase):voidVerifies if the animation will be used on cpu. Needs to be true for all passes for a material to be able to use it on gpu. Needs to be called if gpu code is potentially required.
Parameters
pass:MaterialPassBase |