Epok Engine

EPOK RUNTIME

epok::Actor

Class

Class

Class declared by the object-model module for the object model module.

Namespace
epok
Header
object_model.hpp
Include
#include "object_model.hpp"
Module
object-model
Source
runtime/object_model.hpp:394
Inherits from
Object

Basic usage

This minimal snippet shows the normal syntax for reaching the type. Open a member below for an operation-specific example.

C++ example
#include "object_model.hpp"

epok::Actor& value = /* obtain a valid instance from your game */;

Fields and constants

Public methods

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.Methodend_playEnds play as part of the object model module.Methodlevel_idReflected identity/hierarchy readers.Methodlogical_parentPerforms `logical parent` as part of the object model module.MethodnamePerforms `name` as part of the object model module.Methodon_disablePerforms `on disable` as part of the object model module.Methodon_enablePerforms `on enable` as part of the object model module.Methodroot_idPerforms `root id` as part of the object model module.Methodset_activeFolded activation with the on_enable/on_disable fan-out, and deferred destruction inside a dispatch scope: the same Level paths the legacy Blueprint nodes take.Methodset_nameSets name as part of the object model module.Methodset_wants_tickSets wants tick as part of the object model module.MethodtickPerforms `tick` as part of the object model module.Methodwants_tickPerforms `wants tick` as part of the object model module.Method