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.
Legacy adapter: the canonical slot behind the root scene component, or nullptr.
ActorData* data() constLegacy adapter: the canonical slot behind the root scene component, or nullptr.
This overload takes no parameters.
Returns: ActorData *. Consult the linked header for its meaning.
#include "object_model.hpp"
epok::Actor& object = /* obtain a valid instance */;
auto result = object.data();Consult the linked header for this operation’s ownership, lifetime and failure behavior.
Declared in runtime/object_model.hpp:525
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.Methoddefault_rootRuntime hook, not reflected: the declarative root component embedded in the actor.MethoddestroyDestroys destroy as part of the object model module.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