Epok Engine

EPOK RUNTIME

epok::camera_rig::solve

Function · 2 overloads

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.

Function

Performs `solve` as part of camera selection, projection and shared render resources.

Belongs to
epok::camera_rig
Header
camera_rig.hpp
Overloads
2

Declaration 1 of 2

Declaration
inline SpringArmSample solve(ArmState& state,const ArmTuning& tuning,GameplayVector3 origin,GameplayVector3 offset,const ActorData* ignore,Fixed dt)

Performs `solve` as part of camera selection, projection and shared render resources.

ParameterTypeMeaning
stateArmState &Not documented; consult the linked header.
tuningconst ArmTuning &Not documented; consult the linked header.
originGameplayVector3Not documented; consult the linked header.
offsetGameplayVector3Not documented; consult the linked header.
ignoreconst ActorData *Not documented; consult the linked header.
dtFixedNot documented; consult the linked header.

Returns: SpringArmSample. Consult the linked header for its meaning.

Example sketch

C++ example
#include "camera_rig.hpp"

// Assume these named values have been initialized with valid data:
// ArmState & state
// const ArmTuning & tuning
// GameplayVector3 origin
// GameplayVector3 offset
// const ActorData * ignore
// Fixed dt

auto result = epok::camera_rig::solve(state, tuning, origin, offset, ignore, dt);

Trade-offs and warnings

Consult the linked header for this operation’s ownership, lifetime and failure behavior.

Declared in runtime/camera_rig.hpp:64

Declaration 2 of 2

template
Declaration
template<class Queries> inline SpringArmSample solve(ArmState& state,const ArmTuning& tuning,GameplayVector3 origin,GameplayVector3 offset,const ActorData* ignore,Fixed dt,Queries& queries)

Performs `solve` as part of camera selection, projection and shared render resources.

ParameterTypeMeaning
stateArmState &Not documented; consult the linked header.
tuningconst ArmTuning &Not documented; consult the linked header.
originGameplayVector3Not documented; consult the linked header.
offsetGameplayVector3Not documented; consult the linked header.
ignoreconst ActorData *Not documented; consult the linked header.
dtFixedNot documented; consult the linked header.
queriesQueries &Not documented; consult the linked header.

Returns: SpringArmSample. Consult the linked header for its meaning.

Example sketch

C++ example
#include "camera_rig.hpp"

// Replace these template arguments with types or values accepted by the declaration:
// Queries

// Assume these named values have been initialized with valid data:
// ArmState & state
// const ArmTuning & tuning
// GameplayVector3 origin
// GameplayVector3 offset
// const ActorData * ignore
// Fixed dt
// Queries & queries

epok::camera_rig& object = /* obtain a valid instance */;

auto result = object.solve<Queries>(state, tuning, origin, offset, ignore, dt, queries);

Trade-offs and warnings

Consult the linked header for this operation’s ownership, lifetime and failure behavior.

Declared in runtime/camera_rig.hpp:39

Related members