Why use it
The method is `const`, so it does not mutate the object through this API surface.
EPOK RUNTIME
Method · 1 overload
Performs `world affine` as part of the object model module.
WorldAffineSample world_affine() constPerforms `world affine` as part of the object model module.
This overload takes no parameters.
Returns: WorldAffineSample. Check the value before continuing when it represents success, availability or a resource handle.
#include "object_model.hpp"
epok::SceneComponent3D& object = /* obtain a valid instance */;
auto result = object.world_affine();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:557
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.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.Method