Class sandy.core.transform.Sequence3D

Implemented Interfaces

Interpolator3D

Field Index

onRenderEVENT

Method Index

new Sequence3D()
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

Sequence3D

public function Sequence3D(Void)

Create a new TranslationInterpolator.

This class realise an interpolation resulting in a sequence of interpolation.

Field Detail

onRenderEVENT

static public onRenderEVENT:EventType
The Interpolation render Event. Broadcasted when the Sequence3D 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 to the sequence.

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

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

getFrame

public function getFrame(Void):Number

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

getMatrix

public function getMatrix(Void):Matrix4

isModified

public function isModified(Void):Boolean

setModified

public function setModified(b:Boolean):Void

getDurationElapsed

public function getDurationElapsed(Void):Number

getDurationRemaining

public function getDurationRemaining(Void):Number

isPaused

public function isPaused(Void):Boolean

isFinished

public function isFinished(Void):Boolean