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 value` as part of the utility module.
static Fixed tween_value(GameplayTweenState state)Performs `tween value` 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. |
Returns: Fixed. 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
auto result = epok::UtilityLibrary::tween_value(state);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:177
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_advancePerforms `tween advance` 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.Method