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
Clears text as part of the object model module.
void clear_text()Clears text as part of the object model module.
This overload takes no parameters.
Returns: Nothing (void).
#include "object_model.hpp"
epok::TextComponent& object = /* obtain a valid instance */;
object.clear_text();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:811
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.Methodset_colorSets color as part of the object model module.Methodset_enabledSets enabled as part of the object model module.Methodset_numberSets number as part of the object model module.Methodset_text_wordSets text word as part of the object model module.Methodset_unsignedSets unsigned as part of the object model module.Methodset_wrapSets wrap as part of the object model module.Methodtext_wordPerforms `text word` as part of the object model module.Method