Epok Engine

EPOK RUNTIME

epok::FogSettings::start_distance

Field

Field

Exposes `start_distance` on `epok::FogSettings` for the gameplay api module.

Belongs to
epok::FogSettings
Header
gameplay_api.hpp

Declaration

Declaration
Fixed start_distance

Exposes `start_distance` on `epok::FogSettings` for the gameplay api module.

Type
Fixed
Storage
Per instance

Example

C++ example
#include "gameplay_api.hpp"

epok::FogSettings& object = /* obtain a valid instance */;
auto value = object.start_distance;

// When mutation is valid for this object:
// object.start_distance = 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/gameplay_api.hpp:77