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.
True once after a non-looping animation reaches its end.
bool take_finished()True once after a non-looping animation reaches its end.
This overload takes no parameters.
Returns: bool. Consult the linked header for its meaning.
#include "world2d_skeleton.hpp"
epok::Skeleton2DComponent& object = /* obtain a valid instance */;
auto result = object.take_finished();Consult the linked header for this operation’s ownership, lifetime and failure behavior.
Declared in runtime/world2d_skeleton.hpp:110
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_ik_enabledReports whether ik enabled 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.Method