Interpolator3D ScaleInterpolator
public function ScaleInterpolator(f:Function, pnFrames:Number, min:Vector, max:Vector)Create a new ScaleInterpolator.
This class realise a scale interpolation of the group of objects it has been applied to
f | Function The function generating the interpolation value. You can use what you want even if Sandy recommends the Ease class The function must return a number between [0,1] and must have a parameter between [0,1] too. |
min | Vector The vector containing the initial scale values. |
max | Vector The vector containing the final scale values. |
public function setMinScaleVector(v:Vector):VoidSet the start scale vector. The objects will be initialized after this method call with this value.
v | The vector containing the initial scale properties |
public function setMinScale(x:Number, y:Number, z:Number):VoidSet the start scale vector. The objects will be initialized after this method call with this value.
x | The X axis initial scale value |
y | The Y axis initial scale value |
z | The Z axis initial scale value |
public function setMaxScaleVector(v:Vector):VoidSet the end scale vector. The objects will be initialized after this method call.
v | The vector containing the end scale properties. |
public function setMaxScale(x:Number, y:Number, z:Number):VoidSet the end scale vector. The objects will be initialized after this method call.
x | The X axis end scale value |
y | The Y axis end scale value |
z | The Z axis end scale value |
public function redo(Void):Voidredo
Make the interpolation starting again
redo() in sandy.core.transform.Interpolator3D
public function yoyo(Void):Voidyoyo
Make the interpolation going in the inversed way
yoyo() in sandy.core.transform.Interpolator3D
public function getType(Void):TransformTypeReturns the type of the interpolation.
Void |
TransformType the type of the interpolation