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 `on frame` as part of the object model module.
virtual void on_frame(uint32_t frame_microseconds)Performs `on frame` as part of the object model module.
| Parameter | Type | Meaning |
|---|---|---|
frame_microseconds | uint32_t | Value supplied for frame_microseconds. Keep referenced or pointed-to data valid for the complete call. |
Returns: Nothing (void).
#include "object_model.hpp"
// Assume these named values have been initialized with valid data:
// uint32_t frame_microseconds
epok::ActorComponent& object = /* obtain a valid instance */;
object.on_frame(frame_microseconds);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:486
attach_slotPerforms `attach slot` as part of the object model module.Methodbegin_playBegins play as part of the object model module.Methodblueprint_observePerforms `blueprint observe` as part of the object model module.Methodclass_idPerforms `class id` as part of the object model module.Methodend_playEnds play as part of the object model module.Methodframe_updatePerforms `frame update` as part of the object model module.Methodget_ownerReturns owner as part of the object model module.MethodnamePerforms `name` as part of the object model module.Methodon_disablePerforms `on disable` as part of the object model module.Methodon_enablePerforms `on enable` as part of the object model module.Methodon_triggerPerforms `on trigger` as part of the object model module.Methodowner_idPerforms `owner id` as part of the object model module.Method