Trade-offs and warnings
Consult the linked header for this operation’s ownership, lifetime and failure behavior.
EPOK RUNTIME
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.
Reports whether ik enabled as part of the world2d skeleton module.
bool is_ik_enabled(int32_t chain) constReports whether ik enabled as part of the world2d skeleton module.
| Parameter | Type | Meaning |
|---|---|---|
chain | int32_t | Not documented; consult the linked header. |
Returns: bool. Consult the linked header for its meaning.
#include "world2d_skeleton.hpp"
// Assume these named values have been initialized with valid data:
// int32_t chain
epok::Skeleton2DComponent& object = /* obtain a valid instance */;
auto result = object.is_ik_enabled(chain);Consult the linked header for this operation’s ownership, lifetime and failure behavior.
Declared in runtime/world2d_skeleton.hpp:127
advanceCalled by the service every simulation step: advances the animation, poses the bones, then solves the IK chains.MethodapplyPoses the bones at `seconds` of the current animation.Methodclass_idPerforms `class id` as part of the world2d skeleton module.Methodget_animationReturns animation as part of the world2d skeleton module.Methodget_animation_countReturns animation count as part of the world2d skeleton module.Methodget_boneReturns bone as part of the world2d skeleton module.Methodget_bone_countReturns bone count as part of the world2d skeleton module.Methodget_speedReturns speed as part of the world2d skeleton module.Methodget_timeReturns time as part of the world2d skeleton module.Methodis_playingReports whether playing as part of the world2d skeleton module.Methodlevel_attachedPerforms `level attached` as part of the world2d skeleton module.MethodplayStarts animation `index` from its beginning; an index out of range stops.Method