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.
Manual playback position, in the same ticks.
void set_animation_position(Fixed ticks)Manual playback position, in the same ticks.
| Parameter | Type | Meaning |
|---|---|---|
ticks | Fixed | Not documented; consult the linked header. |
Returns: Nothing (void).
#include "object_model.hpp"
// Assume these named values have been initialized with valid data:
// Fixed ticks
epok::Mesh3DComponent& object = /* obtain a valid instance */;
object.set_animation_position(ticks);Consult the linked header for this operation’s ownership, lifetime and failure behavior.
Declared in runtime/object_model.hpp:800
bone_countPerforms `bone count` as part of the object model module.Methodclass_idPerforms `class id` as part of the object model module.Methodclip_countPerforms `clip count` as part of the object model module.Methodclip_framesPerforms `clip frames` as part of the object model module.Methodclip_loop_ticksOne loop of a clip, measured in the animator's own two-per-frame ticks.Methodentity_slotPerforms `entity slot` as part of the object model module.Methodgeometry_statePerforms `geometry state` as part of the object model module.Methodlighting_enabledPerforms `lighting enabled` as part of the object model module.Methodmaterial_statePerforms `material state` as part of the object model module.Methodpause_animationPauses animation as part of the object model module.Methodplay_clipStarts clip as part of the object model module.Methodplayback_stateStarts back state as part of the object model module.Method