Skip to content

KeyframedMotionMode

Constants in the KeyframedMotionMode enum.

All constant groups

At a glance, from the LSL definitions
integer KFM_FORWARD = 0;  // Playback mode used with KFM_MODE in llSetKeyframedMotion (default)integer KFM_LOOP = 1;  // Playback mode used with KFM_MODE in llSetKeyframedMotioninteger KFM_PING_PONG = 2;  // Playback mode used with KFM_MODE in llSetKeyframedMotioninteger KFM_REVERSE = 3;  // Playback mode used with KFM_MODE in llSetKeyframedMotion

Constants

ConstantTypeValueDescription
KFM_FORWARDinteger0Playback mode used with KFM_MODE in llSetKeyframedMotion (default). It plays the frames sequentially from 1 to N and then stops.
KFM_LOOPinteger1Playback mode used with KFM_MODE in llSetKeyframedMotion. It plays the frames sequentially from 1 to N, returns to the initial position, and repeats indefinitely.
KFM_PING_PONGinteger2Playback mode used with KFM_MODE in llSetKeyframedMotion.
KFM_REVERSEinteger3Playback mode used with KFM_MODE in llSetKeyframedMotion. It plays the frames in reverse order (from N down to 1) and then stops.