|
|
| xiiActor (xiiStringView sActorName, const void *pCreatedBy) |
| |
|
xiiStringView | GetName () const |
| | Returns the name of this actor.
|
| |
|
const void * | GetCreatedBy () const |
| | Returns the 'created by' pointer of the actor.
|
| |
|
void | AddPlugin (xiiUniquePtr< xiiActorPlugin > &&pPlugin) |
| | Transfers ownership of the xiiActorPlugin to the xiiActor.
|
| |
|
xiiActorPlugin * | GetPlugin (const xiiRTTI *pType) const |
| | Queries the xiiActor for a xiiActorPlugin of the given type. Returns null if no such plugin was added to the actor.
|
| |
|
template<typename Type> |
| Type * | GetPlugin () const |
| | Templated overload of GetPlugin() that automatically casts to the desired class type.
|
| |
|
void | DestroyPlugin (xiiActorPlugin *pPlugin) |
| | Deletes the given plugin from the actor.
|
| |
|
void | GetAllPlugins (xiiHybridArray< xiiActorPlugin *, 8 > &out_allPlugins) |
| | Fills the list with all plugins that have been added to the actor.
|
| |
|
bool | IsActorQueuedForDestruction () const |
| | Checks whether the actor is queued for destruction at the end of the frame.
|
| |
|
virtual const xiiRTTI * | GetDynamicRTTI () const |
| |
|
bool | IsInstanceOf (const xiiRTTI *pType) const |
| | Returns whether the type of this instance is of the given type or derived from it.
|
| |
|
template<typename T> |
| XII_ALWAYS_INLINE bool | IsInstanceOf () const |
| | Returns whether the type of this instance is of the given type or derived from it.
|
| |
|
|
void | UpdateAllPlugins () |
| |
|
virtual void | Activate () |
| | Called shortly before the first call to Update()
|
| |
| virtual void | Update () |
| | Called once per frame to update the actor state.
|
| |
|
|
static const xiiRTTI * | GetStaticRTTI () |
| |
◆ Update()
| void xiiActor::Update |
( |
| ) |
|
|
protectedvirtual |
Called once per frame to update the actor state.
By default this calls UpdateAllPlugins() internally.
The documentation for this class was generated from the following files:
- /home/runner/work/XII/XII/Source/Engine/Core/ActorSystem/Actor.h
- /home/runner/work/XII/XII/Source/Engine/Core/ActorSystem/Implementation/Actor.cpp