Epok Engine

EPOK RUNTIME

epok::skeletal_query_detail::selected_pose

Function · 1 overload

Function

Performs `selected pose` as part of rigid skeletal animation and pose evaluation.

Belongs to
epok::skeletal_query_detail
Header
skeletal.hpp
Overloads
1

Declaration

Declaration
inline const BonePose* selected_pose(const SkeletalMesh& model,const Animator& animator,size_t bone,PoseKind kind)

Performs `selected pose` as part of rigid skeletal animation and pose evaluation.

ParameterTypeMeaning
modelconst SkeletalMesh &Value supplied for model. Keep referenced or pointed-to data valid for the complete call.
animatorconst Animator &Value supplied for animator. Keep referenced or pointed-to data valid for the complete call.
bonesize_tValue supplied for bone. Keep referenced or pointed-to data valid for the complete call.
kindPoseKindValue supplied for kind. Keep referenced or pointed-to data valid for the complete call.

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

Example

C++ example
#include "skeletal.hpp"

// Assume these named values have been initialized with valid data:
// const SkeletalMesh & model
// const Animator & animator
// size_t bone
// PoseKind kind

auto result = epok::skeletal_query_detail::selected_pose(model, animator, bone, kind);

Why use it

It provides direct, allocation-conscious access to rigid skeletal animation and pose evaluation. No exception-based error path is implied by the signature.

Trade-offs and warnings

Pointer/reference arguments are borrowed unless the source contract says otherwise; keep them valid for the complete operation and never assume null is accepted.

Declared in runtime/skeletal.hpp:132

Related members