Why use it
The method is `const`, so it does not mutate the object through this API surface. The boolean result makes success, availability or state explicit without exceptions.
EPOK RUNTIME
Method · 1 overload
Performs `trigger` as part of the object model module.
bool trigger() constPerforms `trigger` as part of the object model module.
This overload takes no parameters.
Returns: bool. Check the value before continuing when it represents success, availability or a resource handle.
#include "object_model.hpp"
epok::Collider3DComponent& object = /* obtain a valid instance */;
auto result = object.trigger();The method is `const`, so it does not mutate the object through this API surface. The boolean result makes success, availability or state explicit without exceptions.
Check the return value; `false` is part of normal control flow for many PSX resource operations.
Declared in runtime/object_model.hpp:774
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_half_extentsSets half extents 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.Method