Epok Engine

EPOK RUNTIME

epok::SkyGradientView::up

Field

Declarations are extracted from the pinned headers. Examples and general guidance are generated sketches, not verified complete programs; consult the linked source and guides for the actual contract.

Field

World up in camera space, normalised to Q12 (camera +Z forward, +Y up).

Belongs to
epok::SkyGradientView
Header
sky_gradient.hpp

Declaration

Declaration
int32_t up[3]

World up in camera space, normalised to Q12 (camera +Z forward, +Y up).

Type
int32_t[3]
Storage
Per instance

Example sketch

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

auto firstValue = object.up[0];

// When mutation is valid for this object:
// object.up[0] = replacement;

Trade-offs and warnings

Consult the linked header for the meaning, lifetime and permitted use of this declaration.

Declared in runtime/sky_gradient.hpp:31