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
Sets half extents as part of the object model module.
void set_half_extents(Fixed x,Fixed y,Fixed z)Sets half extents as part of the object model module.
| Parameter | Type | Meaning |
|---|---|---|
x | Fixed | Value supplied for x. Keep referenced or pointed-to data valid for the complete call. |
y | Fixed | Value supplied for y. Keep referenced or pointed-to data valid for the complete call. |
z | Fixed | Value supplied for z. 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:
// Fixed x
// Fixed y
// Fixed z
epok::Collider3DComponent& object = /* obtain a valid instance */;
object.set_half_extents(x, y, z);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:781
class_idPerforms `class id` as part of the object model module.MethodenabledPerforms `enabled` as part of the object model module.Methodentity_slotPerforms `entity slot` as part of the object model module.MethodlayerPerforms `layer` as part of the object model module.MethodmaskPerforms `mask` as part of the object model module.Methodset_centerSets center as part of the object model module.Methodset_enabledSets enabled as part of the object model module.Methodset_layerSets layer as part of the object model module.Methodset_maskSets mask as part of the object model module.Methodset_triggerSets trigger as part of the object model module.MethodtriggerPerforms `trigger` as part of the object model module.Method