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

See also:

  • away3d.animators.nodes.SpriteSheetClipNode

Constructor

@:value({ mapID : 0, scaleV : 1, scaleU : 1, offsetV : 0, offsetU : 0 })new(offsetU:Float = 0, offsetV:Float = 0, scaleU:Float = 1, scaleV:Float = 1, mapID:Int = 0)

Creates a new SpriteSheetAnimationFrame object.

Parameters:

offsetU

The u-component offset of the spritesheet frame.

offsetV

The v-component offset of the spritesheet frame.

scaleU

The u-component scale of the spritesheet frame.

scaleV

The v-component scale of the spritesheet frame.

mapID

The v-component scale of the spritesheet frame.

Variables

mapID:Int

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

offsetU:Float

The u-component offset of the spritesheet frame.

offsetV:Float

The v-component offset of the spritesheet frame.

scaleU:Float

The u-component scale of the spritesheet frame.

scaleV:Float

The v-component scale of the spritesheet frame.