![]() |
XII Release 0.1.0
|
#include <ScriptCoroutine_MoveTo.h>
Public Member Functions | |
| void | Start (xiiGameObjectHandle hObject, const xiiVec3 &vTargetPos, xiiTime duration, xiiEnum< xiiEasingFunction > easing) |
| Initiates the move operation to the specified target position. | |
| virtual Result | Update (xiiTime deltaTimeSinceLastUpdate) override |
Public Member Functions inherited from xiiScriptCoroutine | |
| xiiScriptCoroutineHandle | GetHandle () |
| xiiStringView | GetName () const |
| xiiScriptInstance * | GetScriptInstance () |
| const xiiScriptInstance * | GetScriptInstance () const |
| xiiScriptWorldModule * | GetScriptWorldModule () |
| const xiiScriptWorldModule * | GetScriptWorldModule () const |
| virtual void | Stop () |
| void | UpdateAndSchedule (xiiTime deltaTimeSinceLastUpdate=xiiTime::MakeZero()) |
Script coroutine that smoothly moves a game object to a target position over time.
Provides interpolated movement with configurable easing curves for animation effects. The object's position is updated each frame until the target is reached or the duration expires.
|
overridevirtual |
Implements xiiScriptCoroutine.