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 `enabled` as part of the object model module.
bool enabled() constPerforms `enabled` 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::Sprite3DComponent& object = /* obtain a valid instance */;
auto result = object.enabled();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:735
class_idPerforms `class id` as part of the object model module.Methodentity_slotPerforms `entity slot` as part of the object model module.Methodpause_animationPauses animation as part of the object model module.Methodplay_clipStarts clip as part of the object model module.Methodplayback_stateStarts back state as part of the object model module.Methodpoll_eventPolls event as part of the object model module.Methodresume_animationResumes animation 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_flipSets flip as part of the object model module.Methodset_sizeSets size as part of the object model module.Methodset_textureSets texture as part of the object model module.Method