Epok Engine

EPOK RUNTIME

epok::Tween::loop_mode

Method · 1 overload

Method

Performs `loop mode` as part of the utility module.

Belongs to
epok::Tween
Header
utility.hpp
Overloads
1

Declaration

const
Declaration
TweenLoop loop_mode()const

Performs `loop mode` as part of the utility module.

This overload takes no parameters.

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

Example

C++ example
#include "utility.hpp"

epok::Tween& object = /* obtain a valid instance */;

auto result = object.loop_mode();

Why use it

The method is `const`, so it does not mutate the object through this API surface.

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

Related members