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.
No legacy slot: the component owns the transform.
void bind_local()No legacy slot: the component owns the transform.
This overload takes no parameters.
Returns: Nothing (void).
#include "object_model.hpp"
epok::SceneComponent3D& object = /* obtain a valid instance */;
object.bind_local();Consult the linked header for this operation’s ownership, lifetime and failure behavior.
Declared in runtime/object_model.hpp:650
attach_slotPerforms `attach slot` as part of the object model module.Methodattach_toPerforms `attach to` as part of the object model module.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.Methodentity_slotPerforms `entity slot` 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