Packageaway3d.animators.data
Classpublic class UVAnimationFrame
InheritanceUVAnimationFrame Inheritance Object

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

See also

away3d.animators.nodes.UVClipNode


Public Properties
 PropertyDefined By
  offsetU : Number
The u-component offset of the UV animation frame.
UVAnimationFrame
  offsetV : Number
The v-component offset of the UV animation frame.
UVAnimationFrame
  rotation : Number
The rotation value (in degrees) of the UV animation frame.
UVAnimationFrame
  scaleU : Number
The u-component scale of the UV animation frame.
UVAnimationFrame
  scaleV : Number
The v-component scale of the UV animation frame.
UVAnimationFrame
Public Methods
 MethodDefined By
  
UVAnimationFrame(offsetU:Number = 0, offsetV:Number = 0, scaleU:Number = 1, scaleV:Number = 1, rotation:Number = 0)
Creates a new UVAnimationFrame object.
UVAnimationFrame
Property Detail
offsetUproperty
public var offsetU:Number

The u-component offset of the UV animation frame.

offsetVproperty 
public var offsetV:Number

The v-component offset of the UV animation frame.

rotationproperty 
public var rotation:Number

The rotation value (in degrees) of the UV animation frame.

scaleUproperty 
public var scaleU:Number

The u-component scale of the UV animation frame.

scaleVproperty 
public var scaleV:Number

The v-component scale of the UV animation frame.

Constructor Detail
UVAnimationFrame()Constructor
public function UVAnimationFrame(offsetU:Number = 0, offsetV:Number = 0, scaleU:Number = 1, scaleV:Number = 1, rotation:Number = 0)

Creates a new UVAnimationFrame object.

Parameters
offsetU:Number (default = 0) — The u-component offset of the UV animation frame.
 
offsetV:Number (default = 0) — The v-component offset of the UV animation frame.
 
scaleU:Number (default = 1) — The u-component scale of the UV animation frame.
 
scaleV:Number (default = 1) — The v-component scale of the UV animation frame.
 
rotation:Number (default = 0) — The rotation value (in degrees) of the UV animation frame.