Epok Engine

EPOK RUNTIME

epok::SceneLibrary::active_camera_actor

Method · 1 overload

Method

Performs `active camera actor` as part of the gameplay api module.

Belongs to
epok::SceneLibrary
Header
gameplay_api.hpp
Overloads
1

Declaration

static
Declaration
static ObjectId active_camera_actor()

Performs `active camera actor` as part of the gameplay api module.

This overload takes no parameters.

Returns: ObjectId. Check the value before continuing when it represents success, availability or a resource handle.

Example

C++ example
#include "gameplay_api.hpp"

auto result = epok::SceneLibrary::active_camera_actor();

Why use it

It provides direct, allocation-conscious access to the gameplay api module. No exception-based error path is implied by the signature.

Trade-offs and warnings

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:298

Related members