Package | away3d.animators.data |
Class | public class VertexAnimationState |
Inheritance | VertexAnimationState AnimationStateBase |
See also
Property | Defined by | ||
---|---|---|---|
animation : AnimationBase
The animation on which this AnimationStateBase object is based.
| AnimationStateBase | ||
poses : Vector [read-only]
The blend poses that will be used to compute the final pose.
| VertexAnimationState | ||
weights : Vector [read-only]
The blend weights per pose, must be values between 0 and 1.
| VertexAnimationState |
Method | Defined by | ||
---|---|---|---|
Creates a VertexAnimationState object.
| VertexAnimationState | ||
Clones the current object.
| VertexAnimationState | ||
invalidateState():void
Invalidates the state, so it needs to be updated next time it is requested.
| AnimationStateBase | ||
setRenderState(context:Context3D, contextIndex:uint, pass:MaterialPassBase, renderable:IRenderable):void
Sets the GPU render state required by the animation that is dependent of the rendered object.
| VertexAnimationState |
_poses | property |
arcane var _poses:Vector
poses | property |
poses:Vector
[read-only]The blend poses that will be used to compute the final pose.
Implementation public function get poses():Vector
weights | property |
weights:Vector
[read-only]The blend weights per pose, must be values between 0 and 1.
Implementation public function get weights():Vector
VertexAnimationState | () | constructor |
public function VertexAnimationState(animation:VertexAnimation)
Parameters
animation:VertexAnimation — The animation object the state refers to.
|
clone | () | method |
public override function clone():AnimationStateBase
Clones the current object.
ReturnsAnimationStateBase —
An exact duplicate of the current object.
|
setRenderState | () | method |
public override function setRenderState(context:Context3D, contextIndex:uint, pass:MaterialPassBase, renderable:IRenderable):void
Sets the GPU render state required by the animation that is dependent of the rendered object.
Parameterscontext:Context3D — The context which is currently performing the rendering.
|
|
contextIndex:uint — The material pass which is currently used to render the geometry.
|
|
pass:MaterialPassBase — The object currently being rendered.
|
|
renderable:IRenderable |