|
| plActor (plStringView sActorName, const void *pCreatedBy) |
|
plStringView | GetName () const |
| Returns the name of this actor.
|
|
const void * | GetCreatedBy () const |
| Returns the 'created by' pointer of the actor.
|
|
void | AddPlugin (plUniquePtr< plActorPlugin > &&pPlugin) |
| Transfers ownership of the plActorPlugin to the plActor.
|
|
plActorPlugin * | GetPlugin (const plRTTI *pType) const |
| Queries the plActor for an plActorPlugin 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 (plActorPlugin *pPlugin) |
| Deletes the given plugin from the actor.
|
|
void | GetAllPlugins (plHybridArray< plActorPlugin *, 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 plRTTI * | GetDynamicRTTI () const |
|
bool | IsInstanceOf (const plRTTI *pType) const |
| Returns whether the type of this instance is of the given type or derived from it.
|
|
template<typename T > |
PL_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 plRTTI * | GetStaticRTTI () |
|
◆ Update()
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:
- Code/Engine/Core/ActorSystem/Actor.h
- Code/Engine/Core/ActorSystem/Implementation/Actor.cpp