Package | away3dlite.animators |
Class | public class BonesAnimator |
See also
Property | Defined by | ||
---|---|---|---|
length : Number
Defines the total length of the animation in seconds
| BonesAnimator | ||
loop : Boolean
Defines wether the animation will loop
| BonesAnimator | ||
start : Number
Defines the start of the animation in seconds
| BonesAnimator |
Method | Defined by | ||
---|---|---|---|
BonesAnimator | |||
Adds an animation channel to the animation timeline.
| BonesAnimator | ||
Adds a
SkinController and all associated SkinVertex objects to the animation. | BonesAnimator | ||
Clones the animation data into a new
BonesAnimator object. | BonesAnimator | ||
populateVertices():void
Populates the skin vertex list from the set of unique vertices
| BonesAnimator | ||
update(time:Number, interpolate:Boolean = true):void
Updates all channels in the animation with the given time in seconds.
| BonesAnimator |
length | property |
public var length:Number
Defines the total length of the animation in seconds
loop | property |
public var loop:Boolean
Defines wether the animation will loop
start | property |
public var start:Number
Defines the start of the animation in seconds
BonesAnimator | () | constructor |
public function BonesAnimator()
Init Parameters
addChannel | () | method |
public function addChannel(channel:Channel):void
Adds an animation channel to the animation timeline.
Parameterschannel:Channel |
addSkinController | () | method |
public function addSkinController(skinController:SkinController):void
Adds a SkinController
and all associated SkinVertex
objects to the animation.
skinController:SkinController |
clone | () | method |
public function clone(object:ObjectContainer3D):BonesAnimator
Clones the animation data into a new BonesAnimator
object.
object:ObjectContainer3D |
BonesAnimator |
populateVertices | () | method |
public function populateVertices():void
Populates the skin vertex list from the set of unique vertices
update | () | method |
public function update(time:Number, interpolate:Boolean = true):void
Updates all channels in the animation with the given time in seconds.
Parameterstime:Number — Defines the time in seconds of the playhead of the animation.
|
|
interpolate:Boolean (default = true ) — [optional] Defines whether the animation interpolates between channel points Defaults to true.
|