Epok Engine

EPOK RUNTIME

epok::timeline::components

Variable

Variable

Exposes `components` on the `epok::timeline` namespace for fixed-step simulation time and frame timing.

Belongs to
epok::timeline
Header
timeline_service.hpp

Declaration

Declaration
Component components[8]

Exposes `components` on the `epok::timeline` namespace for fixed-step simulation time and frame timing.

Type
Component[8]
Storage
Namespace scope

Example

C++ example
#include "timeline_service.hpp"

auto firstValue = epok::timeline::components[0];

// When mutation is valid for this object:
// epok::timeline::components[0] = replacement;

When it helps

Use this member when you need direct access to the state represented by its declared type.

Trade-offs and warnings

Direct field access has no validation step. Keep the owning object alive, respect units and ranges, and do not mutate state while hardware or another subsystem is consuming it.

Declared in runtime/timeline_service.hpp:14