Why use it
It provides direct, allocation-conscious access to the utility module. No exception-based error path is implied by the signature.
EPOK RUNTIME
Method · 1 overload
Performs `tween advance` as part of the utility module.
static TweenAdvanceSample tween_advance(GameplayTweenState state,Fixed delta_seconds)Performs `tween advance` as part of the utility module.
| Parameter | Type | Meaning |
|---|---|---|
state | GameplayTweenState | Value supplied for state. Keep referenced or pointed-to data valid for the complete call. |
delta_seconds | Fixed | Value supplied for delta_seconds. Keep referenced or pointed-to data valid for the complete call. |
Returns: TweenAdvanceSample. Check the value before continuing when it represents success, availability or a resource handle.
#include "utility.hpp"
// Assume these named values have been initialized with valid data:
// GameplayTweenState state
// Fixed delta_seconds
auto result = epok::UtilityLibrary::tween_advance(state, delta_seconds);It provides direct, allocation-conscious access to the utility module. No exception-based error path is implied by the signature.
Call it only in the lifecycle phase described by the module. Validate indices, capacities and object state before use.
Declared in runtime/utility.hpp:175
easeThe easing catalogue on its own, for curves applied to something that is not a tween.Methodevent_queue_clearPerforms `event queue clear` as part of the utility module.Methodevent_queue_emitPerforms `event queue emit` as part of the utility module.Methodevent_queue_pollPerforms `event queue poll` as part of the utility module.Methodtween_cancelPerforms `tween cancel` as part of the utility module.Methodtween_scheduleThe full plan: `delay_seconds` holds the first leg back, `loop` and `legs` decide the replay, and `legs` 0 loops without end.Methodtween_startPerforms `tween start` as part of the utility module.Methodtween_valuePerforms `tween value` as part of the utility module.Method