Epok Engine

EPOK RUNTIME

epok::Sprite3DComponent::playback_state

Method · 1 overload

Method

Starts back state as part of the object model module.

Belongs to
epok::Sprite3DComponent
Header
object_model.hpp
Overloads
1

Declaration

const
Declaration
SpritePlaybackState playback_state() const

Starts back state as part of the object model module.

This overload takes no parameters.

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

Example

C++ example
#include "object_model.hpp"

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

auto result = object.playback_state();

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/object_model.hpp:729

Related members