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.
Ends play as part of the object model module.
virtual void end_play(EndPlayReason end_play_reason)Ends play as part of the object model module.
| Parameter | Type | Meaning |
|---|---|---|
end_play_reason | EndPlayReason | Not documented; consult the linked header. |
Returns: Nothing (void).
#include "object_model.hpp"
// Assume these named values have been initialized with valid data:
// EndPlayReason end_play_reason
epok::Actor& object = /* obtain a valid instance */;
object.end_play(end_play_reason);Consult the linked header for this operation’s ownership, lifetime and failure behavior.
Declared in runtime/object_model.hpp:514
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.MethoddestroyDestroys destroy as part of the object model module.Methodframe_updatePerforms `frame update` as part of the object model module.Methodlevel_idReflected identity/hierarchy readers.Method