glscene

 

TActorAnimationMode

Page history last edited by skinhat 3 yrs ago

Type for the TGLActor animationmode property and defines whether the currently selected animation is played once, is looped or loops from backwards and forwards. To animate an actor set the animationmode to something other than 'aamNone'. It is the enumerated type:

TActorAnimationMode = (aamNone, aamPlayOnce, aamLoop,aamBounceForward,aamBounceBackward,aamLoopBackward, aamExternal);

aamNone : no animation is performed

aamPlayOnce : play from current frame to EndFrame, once end frame has been reached, switches to aamNone

aamLoop : play from current frame to EndFrame, once end frame has been reached, set CurrentFrame to StartFrame

aamBounceForward : play from current frame to EndFrame, once end frame has been reached, switches to aamBounceBackward

aamBounceBackward : play from current frame to StartFrame, once start frame has been reached, switches to aamBounceForward

aamExternal : Allows for external animation control


Unit: GLVectorFileObjects

Comments (0)

You don't have permission to comment on this page.