Why use it
It provides direct, allocation-conscious access to the gameplay api module. No exception-based error path is implied by the signature.
EPOK RUNTIME
Method · 1 overload
Performs `vector tween start` as part of the gameplay api module.
static GameplayVector3TweenState vector_tween_start(GameplayVector3 from,GameplayVector3 to,Fixed seconds,Ease easing)Performs `vector tween start` as part of the gameplay api module.
| Parameter | Type | Meaning |
|---|---|---|
from | GameplayVector3 | Value supplied for from. Keep referenced or pointed-to data valid for the complete call. |
to | GameplayVector3 | Value supplied for to. Keep referenced or pointed-to data valid for the complete call. |
seconds | Fixed | Value supplied for seconds. Keep referenced or pointed-to data valid for the complete call. |
easing | Ease | Value supplied for easing. Keep referenced or pointed-to data valid for the complete call. |
Returns: GameplayVector3TweenState. Check the value before continuing when it represents success, availability or a resource handle.
#include "gameplay_api.hpp"
// Assume these named values have been initialized with valid data:
// GameplayVector3 from
// GameplayVector3 to
// Fixed seconds
// Ease easing
auto result = epok::UtilityVectorLibrary::vector_tween_start(from, to, seconds, easing);It provides direct, allocation-conscious access to the gameplay api 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/gameplay_api.hpp:233
vector_tween_advancePerforms `vector tween advance` as part of the gameplay api module.Methodvector_tween_cancelPerforms `vector tween cancel` as part of the gameplay api module.Methodvector_tween_schedulePerforms `vector tween schedule` as part of the gameplay api module.Methodvector_tween_valuePerforms `vector tween value` as part of the gameplay api module.Method