Package | away3d.animators |
Class | public class SkinAnimation |
Implements | IMeshAnimation |
Property | Defined by | ||
---|---|---|---|
length : Number
Defines the total length of the animation in seconds
| SkinAnimation | ||
loop : Boolean
Defines wether the animation will loop
| SkinAnimation | ||
start : Number
Defines the start of the animation in seconds
| SkinAnimation |
Method | Defined by | ||
---|---|---|---|
SkinAnimation | |||
Adds an animation channel to the animation timeline.
| SkinAnimation | ||
SkinAnimation | |||
update(time:Number, interpolate:Boolean = true):void
Updates all channels in the animation with the given time in seconds.
| SkinAnimation |
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
SkinAnimation | () | constructor |
public function SkinAnimation()
Init Parameters
appendChannel | () | method |
public function appendChannel(channel:Channel):void
Adds an animation channel to the animation timeline.
Parameterschannel:Channel |
clone | () | method |
public function clone(object:ObjectContainer3D):IMeshAnimation
Parameters
object:ObjectContainer3D |
IMeshAnimation |
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.
|