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 enabled as part of the object model module.
void set_enabled(bool value)Sets enabled as part of the object model module.
| Parameter | Type | Meaning |
|---|---|---|
value | bool | Value supplied for value. 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:
// bool value
epok::ParticleEmitterComponent& object = /* obtain a valid instance */;
object.set_enabled(value);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:837
burstPerforms `burst` as part of the object model module.Methodclass_idPerforms `class id` as part of the object model module.Methodentity_slotPerforms `entity slot` as part of the object model module.MethodplayStarts play as part of the object model module.Methodset_lifetimeSets lifetime as part of the object model module.Methodset_max_particlesSets max particles as part of the object model module.Methodset_rateSets rate as part of the object model module.MethodstatePerforms `state` as part of the object model module.MethodstopStops stop as part of the object model module.Method