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.
Performs `entity slot` as part of the object model module.
ActorData* entity_slot() constPerforms `entity slot` as part of the object model module.
This overload takes no parameters.
Returns: ActorData *. Consult the linked header for its meaning.
#include "object_model.hpp"
epok::SceneComponent3D& object = /* obtain a valid instance */;
auto result = object.entity_slot();Consult the linked header for this operation’s ownership, lifetime and failure behavior.
Declared in runtime/object_model.hpp:651
attach_slotPerforms `attach slot` as part of the object model module.Methodattach_toPerforms `attach to` as part of the object model module.Methodbind_localNo legacy slot: the component owns the transform.Methodbind_slotCanonical storage: the legacy entity slot owns the transform and everything that already reads it (collision, rendering, motion interpolation) keeps working.Methodclass_idPerforms `class id` as part of the object model module.Methodlocal_transformPerforms `local transform` as part of the object model module.Methodset_local_positionSets local position as part of the object model module.Methodset_local_rotationSets local rotation as part of the object model module.Methodset_local_scaleSets local scale as part of the object model module.Methodset_local_transformSets local transform as part of the object model module.MethodteleportPerforms `teleport` as part of the object model module.Methodworld_affinePerforms `world affine` as part of the object model module.Method