Packageaway3d.animators
Classpublic class SpriteSheetAnimationSet
InheritanceSpriteSheetAnimationSet Inheritance AnimationSetBase Inheritance NamedAssetBase Inheritance flash.events.EventDispatcher
Implements IAnimationSet

The animation data set containing the Spritesheet animation state data.

See also

away3d.animators.SpriteSheetAnimator
away3d.animators.SpriteSheetAnimationState


Public Properties
 PropertyDefined By
 InheritedanimationNames : Vector.<String>
[read-only] Returns a vector of animation state objects that make up the contents of the animation data set.
AnimationSetBase
 Inheritedanimations : Vector.<AnimationNodeBase>
[read-only] Returns a vector of animation state objects that make up the contents of the animation data set.
AnimationSetBase
 InheritedassetFullPath : Array
[read-only]
NamedAssetBase
 InheritedassetNamespace : String
[read-only]
NamedAssetBase
 InheritedassetType : String
[read-only] The type of the asset.
AnimationSetBase
 Inheritedid : String
NamedAssetBase
 Inheritedname : String
NamedAssetBase
 InheritedoriginalName : String
[read-only] The original name used for this asset in the resource (e.g.
NamedAssetBase
 InheritedusesCPU : Boolean
[read-only] Indicates whether the properties of the animation data contained within the set combined with the vertex registers aslready in use on shading materials allows the animation data to utilise GPU calls.
AnimationSetBase
Public Methods
 MethodDefined By
  
SpriteSheetAnimationSet
  
activate(stage3DProxy:Stage3DProxy, pass:MaterialPassBase):void
SpriteSheetAnimationSet
 Inherited
Adds an animation state object to the aniamtion data set under the given name.
AnimationSetBase
 Inherited
assetPathEquals(name:String, ns:String):Boolean
NamedAssetBase
 Inherited
AnimationSetBase
  
deactivate(stage3DProxy:Stage3DProxy, pass:MaterialPassBase):void
SpriteSheetAnimationSet
 Inherited
dispose():void
Cleans up any resources used by the current object.
AnimationSetBase
  
SpriteSheetAnimationSet
  
getAGALFragmentCode(pass:MaterialPassBase, shadedTarget:String, profile:String):String
SpriteSheetAnimationSet
  
getAGALUVCode(pass:MaterialPassBase, UVSource:String, UVTarget:String):String
SpriteSheetAnimationSet
  
getAGALVertexCode(pass:MaterialPassBase, sourceRegisters:Vector.<String>, targetRegisters:Vector.<String>, profile:String):String
SpriteSheetAnimationSet
 Inherited
Retrieves the animation state object registered in the animation data set under the given name.
AnimationSetBase
 Inherited
hasAnimation(name:String):Boolean
Check to determine whether a state is registered in the animation set under the given name.
AnimationSetBase
 Inherited
resetAssetPath(name:String, ns:String = null, overrideOriginal:Boolean = true):void
NamedAssetBase
Protected Methods
 MethodDefined By
 Inherited
findTempReg(exclude:Vector.<String>, excludeAnother:String = null):String
Retrieves a temporary GPU register that's still free.
AnimationSetBase
Public Constants
 ConstantDefined By
 InheritedDEFAULT_NAMESPACE : String = default
[static]
NamedAssetBase
Constructor Detail
SpriteSheetAnimationSet()Constructor
public function SpriteSheetAnimationSet()



Method Detail
activate()method
public function activate(stage3DProxy:Stage3DProxy, pass:MaterialPassBase):void

Parameters

stage3DProxy:Stage3DProxy
 
pass:MaterialPassBase

deactivate()method 
public function deactivate(stage3DProxy:Stage3DProxy, pass:MaterialPassBase):void

Parameters

stage3DProxy:Stage3DProxy
 
pass:MaterialPassBase

doneAGALCode()method 
public function doneAGALCode(pass:MaterialPassBase):void

Parameters

pass:MaterialPassBase

getAGALFragmentCode()method 
public function getAGALFragmentCode(pass:MaterialPassBase, shadedTarget:String, profile:String):String

Parameters

pass:MaterialPassBase
 
shadedTarget:String
 
profile:String

Returns
String
getAGALUVCode()method 
public function getAGALUVCode(pass:MaterialPassBase, UVSource:String, UVTarget:String):String

Parameters

pass:MaterialPassBase
 
UVSource:String
 
UVTarget:String

Returns
String
getAGALVertexCode()method 
public function getAGALVertexCode(pass:MaterialPassBase, sourceRegisters:Vector.<String>, targetRegisters:Vector.<String>, profile:String):String

Parameters

pass:MaterialPassBase
 
sourceRegisters:Vector.<String>
 
targetRegisters:Vector.<String>
 
profile:String

Returns
String