Why use it
It provides direct, allocation-conscious access to the object model module. No exception-based error path is implied by the signature.
EPOK RUNTIME
Method · 1 overload
Performs `sample vertex` as part of the object model module.
VertexSample sample_vertex(uint32_t vertex,PoseKind pose,CoordinateSpace space)Performs `sample vertex` as part of the object model module.
| Parameter | Type | Meaning |
|---|---|---|
vertex | uint32_t | Value supplied for vertex. Keep referenced or pointed-to data valid for the complete call. |
pose | PoseKind | Value supplied for pose. Keep referenced or pointed-to data valid for the complete call. |
space | CoordinateSpace | Value supplied for space. Keep referenced or pointed-to data valid for the complete call. |
Returns: VertexSample. 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 vertex
// PoseKind pose
// CoordinateSpace space
epok::Mesh3DComponent& object = /* obtain a valid instance */;
auto result = object.sample_vertex(vertex, pose, space);It provides direct, allocation-conscious access to the object model module. No exception-based error path is implied by the signature.
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:704
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