Package | away3d.animators |
Class | public class VertexAnimationSet |
Inheritance | VertexAnimationSet AnimationSetBase NamedAssetBase flash.events.EventDispatcher |
Implements | IAnimationSet |
See also
Property | Defined By | ||
---|---|---|---|
animationNames : Vector.<String> [read-only]
Returns a vector of animation state objects that make up the contents of the animation data set. | AnimationSetBase | ||
animations : Vector.<AnimationNodeBase> [read-only]
Returns a vector of animation state objects that make up the contents of the animation data set. | AnimationSetBase | ||
assetFullPath : Array [read-only] | NamedAssetBase | ||
assetNamespace : String [read-only] | NamedAssetBase | ||
assetType : String [read-only]
| AnimationSetBase | ||
blendMode : String [read-only]
Returns the active blend mode of the vertex animator object. | VertexAnimationSet | ||
name : String | NamedAssetBase | ||
numPoses : uint [read-only]
Returns the number of poses made available at once to the GPU animation code. | VertexAnimationSet | ||
originalName : String [read-only]
The original name used for this asset in the resource (e.g. | NamedAssetBase | ||
useNormals : Boolean [read-only]
Returns whether or not normal data is used in last set GPU pass of the vertex shader. | VertexAnimationSet | ||
usesCPU : 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 |
Method | Defined By | ||
---|---|---|---|
VertexAnimationSet(numPoses:uint = 2, blendMode:String = absolute)
Creates a new VertexAnimationSet object. | VertexAnimationSet | ||
VertexAnimationSet | |||
addAnimation(node:AnimationNodeBase):void
Adds an animation state object to the aniamtion data set under the given name. | AnimationSetBase | ||
assetPathEquals(name:String, ns:String):Boolean | NamedAssetBase | ||
cancelGPUCompatibility():void | AnimationSetBase | ||
VertexAnimationSet | |||
dispose():void
Cleans up any resources used by the current object. | AnimationSetBase | ||
doneAGALCode(pass:MaterialPassBase):void | VertexAnimationSet | ||
getAGALFragmentCode(pass:MaterialPassBase, shadedTarget:String):String | VertexAnimationSet | ||
getAGALUVCode(pass:MaterialPassBase, UVSource:String, UVTarget:String):String | VertexAnimationSet | ||
getAGALVertexCode(pass:MaterialPassBase, sourceRegisters:Vector.<String>, targetRegisters:Vector.<String>):String | VertexAnimationSet | ||
getAnimation(name:String):AnimationNodeBase
Retrieves the animation state object registered in the animation data set under the given name. | AnimationSetBase | ||
hasAnimation(name:String):Boolean
Check to determine whether a state is registered in the animation set under the given name. | AnimationSetBase | ||
resetAssetPath(name:String, ns:String = null, overrideOriginal:Boolean = true):void | NamedAssetBase |
blendMode | property |
blendMode:String
[read-only] Returns the active blend mode of the vertex animator object.
public function get blendMode():String
numPoses | property |
numPoses:uint
[read-only] Returns the number of poses made available at once to the GPU animation code.
public function get numPoses():uint
useNormals | property |
useNormals:Boolean
[read-only] Returns whether or not normal data is used in last set GPU pass of the vertex shader.
public function get useNormals():Boolean
VertexAnimationSet | () | Constructor |
public function VertexAnimationSet(numPoses:uint = 2, blendMode:String = absolute)
Creates a new VertexAnimationSet
object.
numPoses:uint (default = 2 ) — The number of poses made available at once to the GPU animation code.
| |
blendMode:String (default = absolute ) — Optional value for setting the animation mode of the vertex animator object.
|
See also
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 |
getAGALFragmentCode | () | method |
public function getAGALFragmentCode(pass:MaterialPassBase, shadedTarget:String):String
Parameters
pass:MaterialPassBase | |
shadedTarget:String |
String |
getAGALUVCode | () | method |
public function getAGALUVCode(pass:MaterialPassBase, UVSource:String, UVTarget:String):String
Parameters
pass:MaterialPassBase | |
UVSource:String | |
UVTarget:String |
String |
getAGALVertexCode | () | method |
public function getAGALVertexCode(pass:MaterialPassBase, sourceRegisters:Vector.<String>, targetRegisters:Vector.<String>):String
Parameters
pass:MaterialPassBase | |
sourceRegisters:Vector.<String> | |
targetRegisters:Vector.<String> |
String |