Epok Engine

EPOK RUNTIME

epok::nav::Request::from

Field

Field

Exposes `from` on `epok::nav::Request` for the navigation module.

Belongs to
epok::nav::Request
Header
navigation.hpp

Declaration

Declaration
int32_t from[3]

Exposes `from` on `epok::nav::Request` for the navigation module.

Type
int32_t[3]
Storage
Per instance

Example

C++ example
#include "navigation.hpp"
epok::nav::Request& object = /* obtain a valid instance */;

auto firstValue = object.from[0];

// When mutation is valid for this object:
// object.from[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/navigation.hpp:22