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.
Sets speed as part of the world2d skeleton module.
void set_speed(Fixed value)Sets speed as part of the world2d skeleton module.
| Parameter | Type | Meaning |
|---|---|---|
value | Fixed | Not documented; consult the linked header. |
Returns: Nothing (void).
#include "world2d_skeleton.hpp"
// Assume these named values have been initialized with valid data:
// Fixed value
epok::Skeleton2DComponent& object = /* obtain a valid instance */;
object.set_speed(value);Consult the linked header for this operation’s ownership, lifetime and failure behavior.
Declared in runtime/world2d_skeleton.hpp:100
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