Epok Engine

EPOK RUNTIME

epok::locomotion::selection

Function · 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.

Function

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

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

Declaration

Declaration
inline LocomotionSelection selection(LocomotionState state,Fixed speed,const LocomotionClips& clips,const LocomotionTuning& tuning,bool distance_driven)

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

ParameterTypeMeaning
stateLocomotionStateNot documented; consult the linked header.
speedFixedNot documented; consult the linked header.
clipsconst LocomotionClips &Not documented; consult the linked header.
tuningconst LocomotionTuning &Not documented; consult the linked header.
distance_drivenboolNot documented; consult the linked header.

Returns: LocomotionSelection. 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:
// LocomotionState state
// Fixed speed
// const LocomotionClips & clips
// const LocomotionTuning & tuning
// bool distance_driven

auto result = epok::locomotion::selection(state, speed, clips, tuning, distance_driven);

Trade-offs and warnings

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

Declared in runtime/character_animation.hpp:47

Related members