The animation data set used by vertex-based animators, containing vertex animation state data.


Inherited from AnimationSetBase -> EventDispatcher.


Can  be created with method new:

Lib.Away3D.Animators.VertexAnimationSet.new(numPoses, blendMode)

Creates a new VertexAnimationSet

numPoses - the number of poses made available at once to the GPU animation code. Default 2.

blendMode - value for setting the animation mode of the vertex animator object. Default "absolute"


Created VertexAnimationSet object has properties:

numPoses

[read-only] Returns the number of poses made available at once to the GPU animation code. (Int)

blendMode

[read-only] Returns the active blend mode of the vertex animator object. (String)

useNormals

[read-only] Returns whether or not normal data is used in last set GPU pass of the vertex shader. (Bool)


methods:

activate(stage3DProxy, pass)


stage3DProxy - (Stage3DProxy)

pass - (MaterialPassBase)

deactivate(stage3DProxy, pass)


stage3DProxy - (Stage3DProxy)

pass - (MaterialPassBase)

doneAGALCode(pass)


pass - (MaterialPassBase)

getAGALFragmentCode(pass, shadedTarget, profile)


pass - (MaterialPassBase)

shadedTarget - String

profile - String

getAGALUVCode(pass, UVSource, UVTarget)


pass - (MaterialPassBase)

UVSource -String

UVTarget -:String

getAGALVertexCode(pass, sourceRegisters, targetRegisters, profile)


pass - (MaterialPassBase)

sourceRegisters - Vector array of String

targetRegisters - Vector array of String

profile - String


Created with the Personal Edition of HelpNDoc: Generate EPub eBooks with ease