Packageaway3d.loaders.utils
Classpublic dynamic class ChannelLibrary
InheritanceChannelLibrary Inheritance flash.utils.Dictionary

Store for all animation channels associated with an externally loaded file.

Public Methods
 MethodDefined by
  
addChannel(name:String, xml:XML):ChannelData
Adds an animation channel name reference to the library.
ChannelLibrary
  
getChannel(name:String):ChannelData
Returns an animation channel data object for the given name reference in the library.
ChannelLibrary
  
getChannelArray():Array
Returns an array of all animation channels.
ChannelLibrary
Method detail
addChannel()method
public function addChannel(name:String, xml:XML):ChannelData

Adds an animation channel name reference to the library.

Parameters
name:String
 
xml:XML

Returns
ChannelData
getChannel()method 
public function getChannel(name:String):ChannelData

Returns an animation channel data object for the given name reference in the library.

Parameters
name:String

Returns
ChannelData
getChannelArray()method 
public function getChannelArray():Array

Returns an array of all animation channels.

Returns
Array
Wiki link
Click to go to the wiki page for 'away3d.loaders.utils.ChannelLibrary'

Code examples

Comments