Epok Engine

EPOK RUNTIME

epok::gameplay_tween

Function · 1 overload

Function

Performs `gameplay tween` as part of the utility module.

Belongs to
epok
Header
utility.hpp
Overloads
1

Declaration

Declaration
inline Tween gameplay_tween(GameplayTweenState state)

Performs `gameplay tween` as part of the utility module.

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

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

Example

C++ example
#include "utility.hpp"

// Assume these named values have been initialized with valid data:
// GameplayTweenState state

auto result = epok::gameplay_tween(state);

Why use it

It provides direct, allocation-conscious access to the utility 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/utility.hpp:159

Related members