Epok Engine

EPOK RUNTIME

epok::UtilityVectorLibrary::vector_tween_advance

Method · 1 overload

Method

Performs `vector tween advance` as part of the gameplay api module.

Belongs to
epok::UtilityVectorLibrary
Header
gameplay_api.hpp
Overloads
1

Declaration

static
Declaration
static Vector3TweenAdvanceSample vector_tween_advance(GameplayVector3TweenState state,Fixed delta_seconds)

Performs `vector tween advance` as part of the gameplay api module.

ParameterTypeMeaning
stateGameplayVector3TweenStateValue supplied for state. Keep referenced or pointed-to data valid for the complete call.
delta_secondsFixedValue supplied for delta_seconds. Keep referenced or pointed-to data valid for the complete call.

Returns: Vector3TweenAdvanceSample. Check the value before continuing when it represents success, availability or a resource handle.

Example

C++ example
#include "gameplay_api.hpp"

// Assume these named values have been initialized with valid data:
// GameplayVector3TweenState state
// Fixed delta_seconds

auto result = epok::UtilityVectorLibrary::vector_tween_advance(state, delta_seconds);

Why use it

It provides direct, allocation-conscious access to the gameplay api module. No exception-based error path is implied by the signature.

Trade-offs and warnings

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:235

Related members