A SpriteSheetClipNode containing time-based animation data as individual sprite sheet animation frames.


Inherited from: AnimationClipNodeBase -> AnimationNodeBase -> NamedAssetBase.


Can be created with method new:

Lib.Away3D.Animators.Nodes.SpriteSheetClipNode.new()

Creates a new SpriteSheetClipNode object.



Created SpriteSheetClipNode object has property:

frames

[read-only] Table of SpriteSheetAnimationFrame objects


Method:

addFrame(spriteSheetAnimationFrame, duration)

Adds a SpriteSheetAnimationFrame object to the internal timeline of the animation node.

spriteSheetAnimationFrame - The frame object to add to the timeline of the node. SpriteSheetAnimationFrame.

duration - Number, The specified duration of the frame in milliseconds.


Created with the Personal Edition of HelpNDoc: Easy EPub and documentation editor