Why use it
It provides direct, allocation-conscious access to the gameplay api module. No exception-based error path is implied by the signature.
EPOK RUNTIME
Method · 1 overload
Sets screen fade as part of the gameplay api module.
static void set_screen_fade(uint32_t value)Sets screen fade as part of the gameplay api module.
| Parameter | Type | Meaning |
|---|---|---|
value | uint32_t | Value supplied for value. Keep referenced or pointed-to data valid for the complete call. |
Returns: Nothing (void).
#include "gameplay_api.hpp"
// Assume these named values have been initialized with valid data:
// uint32_t value
epok::SceneLibrary::set_screen_fade(value);It provides direct, allocation-conscious access to the gameplay api module. No exception-based error path is implied by the signature.
Call it only in the lifecycle phase described by the module. Validate indices, capacities and object state before use.
Declared in runtime/gameplay_api.hpp:292
active_camera_actorPerforms `active camera actor` as part of the gameplay api module.MethodfogPerforms `fog` as part of the gameplay api module.MethodprojectPerforms `project` as part of the gameplay api module.MethodrequestRequests request as part of the gameplay api module.Methodrequest_with_transitionRequests with transition as part of the gameplay api module.Methodscreen_fadeThe post-HUD fade to black, 0 clear to 255 opaque, clamped rather than rejected because every amount above the range has one nearest valid value.Methodset_cameraSets camera as part of the gameplay api module.Methodset_fogSets fog as part of the gameplay api module.MethodsnapshotPerforms `snapshot` as part of the gameplay api module.Methodtransition_snapshotPerforms `transition snapshot` as part of the gameplay api module.Method