Trade-offs and warnings
Consult the linked header for this operation’s ownership, lifetime and failure behavior.
EPOK RUNTIME
Method · 1 overload
Declarations are extracted from the pinned headers. Examples and general guidance are generated sketches, not verified complete programs; consult the linked source and guides for the actual contract.
Destroys destroy as part of the object model module.
void destroy()Destroys destroy as part of the object model module.
This overload takes no parameters.
Returns: Nothing (void).
#include "object_model.hpp"
epok::Actor& object = /* obtain a valid instance */;
object.destroy();Consult the linked header for this operation’s ownership, lifetime and failure behavior.
Declared in runtime/object_model.hpp:546
activeSelf flag only; Level::actor_active() folds the logical parent chain.Methodbegin_playBegins play as part of the object model module.Methodbind_dataPerforms `bind data` as part of the object model module.Methodblueprint_observePerforms `blueprint observe` as part of the object model module.Methodclass_idPerforms `class id` as part of the object model module.Methodcomponent_countPerforms `component count` as part of the object model module.Methodcomponent_idPerforms `component id` as part of the object model module.MethoddataLegacy adapter: the canonical slot behind the root scene component, or nullptr.Methoddefault_rootRuntime hook, not reflected: the declarative root component embedded in the actor.Methodend_playEnds play as part of the object model module.Methodframe_updatePerforms `frame update` as part of the object model module.Methodlevel_idReflected identity/hierarchy readers.Method