A value object for a single frame of animation in a SpriteSheetClipNode object.


Can be created with method new:

Lib.Away3D.Animators.SpriteSheetAnimationFrame.new(offsetU, offsetV, scaleU, scaleV, mapID)

Creates a new SpriteSheetAnimationFrame object.

offsetU - The u-component offset of the spritesheet animation frame, default 0.0,

offsetV - The v-component offset of the spritesheet animation frame, default 0.0, 

scaleU - The u-component scale of the spritesheet animation frame, default 1.0, 

scaleV - The v-component scale of the spritesheet animation frame, default 1.0, 

mapID - The mapID, zero based, if the animation is spreaded over more bitmapData's, default 0.0


Created SpriteSheetAnimationFrame object has properties:

offsetU

Number, The u-component offset of the spritesheet animation frame

offsetV

Number, The v-component offset of the spritesheet animation frame

scaleU

Number, The u-component scale of the spritesheet animation frame

scaleV

Number, The v-component scale of the spritesheet animation frame

mapID

Number, The mapID, zero based, if the animation is spreaded over more bitmapData's




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