Class sandy.core.transform.Parallel3D

Implemented Interfaces

Interpolator3D

Description

Field Index

onRenderEVENT

Method Index

new Parallel3D()
addChild(), addEventListener(), broadcastEvent(), destroy(), dispatchEvent(), getDuration(), getDurationElapsed(), getDurationRemaining(), getEndMatrix(), getFrame(), getMatrix(), getPercent(), getProgress(), getStartMatrix(), getType(), isFinished(), isModified(), isPaused(), pause(), redo(), removeEventListener(), resume(), setDuration(), setModified(), toString(), yoyo()

Constructor Detail

Parallel3D

public function Parallel3D(Void)

Create a new TranslationInterpolator.

This class realise an interpolation resulting in multiple interpolation in the same time.

Field Detail

onRenderEVENT

static public onRenderEVENT:EventType
The Interpolation render Event. Broadcasted to his child when the Parallel3D had to be rendered.

Method Detail

pause

public function pause(Void):Void

Make a pause in the Interpolation. You can continue the motion later with resume method. Broadcast an InterpolationEvent.

Specified By

pause() in sandy.core.transform.Interpolator3D

resume

public function resume(Void):Void

Resume the motion after it was paused. Broadcast an InterpolationEvent.

Specified By

resume() in sandy.core.transform.Interpolator3D

addChild

public function addChild(i:Interpolator3D):Void

Add an Interpolator.

Parameters

Return

Void

setDuration

public function setDuration(t:Number):Void

Resize the total duration in number of frames with the one giving in parameter.

Parameters

Return

Void

Specified By

setDuration() in sandy.core.transform.Interpolator3D

getDuration

public function getDuration(Void):Number

Set the interpolation duration in number of frames. Could be lower than 5!

Parameters

Void

Return

Number of frame corresponding to the durationoh the interpolator

Specified By

getDuration() in sandy.core.transform.Interpolator3D

getDurationElapsed

public function getDurationElapsed(Void):Number

getDurationRemaining

public function getDurationRemaining(Void):Number

getEndMatrix

public function getEndMatrix(Void):Matrix4

Get the end matrix of the interpolator.

Parameters

Void

Return

Matrix4

Specified By

getEndMatrix() in sandy.core.transform.Interpolator3D

getStartMatrix

public function getStartMatrix(Void):Matrix4

Get the start matrix of the interpolator.

Parameters

Void

Return

Matrix4

Specified By

getStartMatrix() in sandy.core.transform.Interpolator3D

getMatrix

public function getMatrix(Void):Matrix4

redo

public function redo(Void):Void

redo

Make the interpolation starting again

Specified By

redo() in sandy.core.transform.Interpolator3D

yoyo

public function yoyo(Void):Void

yoyo

Make the interpolation going in the inversed way

Specified By

yoyo() in sandy.core.transform.Interpolator3D

getPercent

public function getPercent(Void):Number

Returns the percent of the interpolator. 0 is the beginning, and 100 is the end.

Parameters

Void

Return

a Number between [0-1] corresponding on the percentage of the interpolation progress.

Specified By

getPercent() in sandy.core.transform.Interpolator3D

getProgress

public function getProgress(Void):Number

getType

public function getType(Void):TransformType

Returns the type of the interpolation.

Parameters

Void

Return

TransformType the type of the interpolation

toString

public function toString():String

destroy

public function destroy(Void):Void

addEventListener

public function addEventListener(t:String, oL):Void

removeEventListener

public function removeEventListener(t:String, oL):Void

dispatchEvent

public function dispatchEvent(o:Object):Void

broadcastEvent

public function broadcastEvent(e:IEvent):Void

getFrame

public function getFrame(Void):Number

isPaused

public function isPaused(Void):Boolean

isFinished

public function isFinished(Void):Boolean

isModified

public function isModified(Void):Boolean

setModified

public function setModified(b:Boolean):Void