Packageaway3d.animators
Classpublic class SkinAnimation
ImplementsIMeshAnimation

Public Properties
 PropertyDefined 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
Public Methods
 MethodDefined by
  
SkinAnimation
  
appendChannel(channel:Channel):void
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
Property detail
lengthproperty
public var length:Number

Defines the total length of the animation in seconds

loopproperty 
public var loop:Boolean

Defines wether the animation will loop

startproperty 
public var start:Number

Defines the start of the animation in seconds

Constructor detail
SkinAnimation()constructor
public function SkinAnimation() Init Parameters
Method detail
appendChannel()method
public function appendChannel(channel:Channel):void

Adds an animation channel to the animation timeline.

Parameters
channel:Channel
clone()method 
public function clone(object:ObjectContainer3D):IMeshAnimation Parameters
object:ObjectContainer3D

Returns
IMeshAnimation
update()method 
public function update(time:Number, interpolate:Boolean = true):void

Updates all channels in the animation with the given time in seconds.

Parameters
time: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.
Wiki link
Click to go to the wiki page for 'away3d.animators.SkinAnimation'

Code examples

Comments