Why use it
The method is `const`, so it does not mutate the object through this API surface.
EPOK RUNTIME
Method · 1 overload
Performs `clip frames` as part of the object model module.
uint32_t clip_frames(uint32_t clip) constPerforms `clip frames` as part of the object model module.
| Parameter | Type | Meaning |
|---|---|---|
clip | uint32_t | Value supplied for clip. Keep referenced or pointed-to data valid for the complete call. |
Returns: uint32_t. Check the value before continuing when it represents success, availability or a resource handle.
#include "object_model.hpp"
// Assume these named values have been initialized with valid data:
// uint32_t clip
epok::Mesh3DComponent& object = /* obtain a valid instance */;
auto result = object.clip_frames(clip);The method is `const`, so it does not mutate the object through this API surface.
Call it only in the lifecycle phase described by the module. Validate indices, capacities and object state before use.
Declared in runtime/object_model.hpp:683
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_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.Methodquad_countPerforms `quad count` as part of the object model module.Method