Epok Engine

EPOK RUNTIME

epok::locomotion::Runtime::applied

Method · 1 overload

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.

Method

Performs `applied` as part of configurable skeletal and sprite locomotion drivers with extensible selection and shared motor samples.

Belongs to
epok::locomotion::Runtime
Header
character_animation.hpp
Overloads
1

Declaration

Declaration
LocomotionSample applied(LocomotionSelection value,bool changed,ObjectId new_motor,ObjectId new_visual,const void* new_bank)

Performs `applied` as part of configurable skeletal and sprite locomotion drivers with extensible selection and shared motor samples.

ParameterTypeMeaning
valueLocomotionSelectionNot documented; consult the linked header.
changedboolNot documented; consult the linked header.
new_motorObjectIdNot documented; consult the linked header.
new_visualObjectIdNot documented; consult the linked header.
new_bankconst void *Not documented; consult the linked header.

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

Example sketch

C++ example
#include "character_animation.hpp"

// Assume these named values have been initialized with valid data:
// LocomotionSelection value
// bool changed
// ObjectId new_motor
// ObjectId new_visual
// const void * new_bank

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

auto result = object.applied(value, changed, new_motor, new_visual, new_bank);

Trade-offs and warnings

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

Declared in runtime/character_animation.hpp:65

Related members