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.
Starts clip as part of the object model module.
bool play_clip(uint32_t clip)Starts clip as part of the object model module.
| Parameter | Type | Meaning |
|---|---|---|
clip | uint32_t | Not documented; consult the linked header. |
Returns: bool. Consult the linked header for its meaning.
#include "object_model.hpp"
// Assume these named values have been initialized with valid data:
// uint32_t clip
epok::Sprite3DComponent& object = /* obtain a valid instance */;
auto result = object.play_clip(clip);Consult the linked header for this operation’s ownership, lifetime and failure behavior.
Declared in runtime/object_model.hpp:834
class_idPerforms `class id` as part of the object model module.MethodenabledPerforms `enabled` as part of the object model module.Methodentity_slotPerforms `entity slot` as part of the object model module.Methodpause_animationPauses animation as part of the object model module.Methodplayback_stateStarts back state as part of the object model module.Methodpoll_eventPolls event as part of the object model module.Methodresume_animationResumes animation as part of the object model module.Methodset_colorSets color as part of the object model module.Methodset_enabledSets enabled as part of the object model module.Methodset_flipSets flip as part of the object model module.Methodset_sizeSets size as part of the object model module.Methodset_textureSets texture as part of the object model module.Method