Base class for tickable objects 更多...
#include <Tickable.h>
类 FTickableObjectBase 继承关系图:Public 成员函数 | |
| virtual TStatId | GetStatId () const =0 |
| return the stat id to use for this tickable | |
| virtual ETickableTickType | GetTickableTickType () const |
| Virtual that can be overloaded by the inheriting class. 更多... | |
| virtual bool | IsTickable () const |
| Virtual that can be overloaded by the inheriting class. 更多... | |
| virtual void | Tick (float DeltaTime)=0 |
| Pure virtual that must be overloaded by the inheriting class. 更多... | |
Base class for tickable objects
|
inlinevirtual |
Virtual that can be overloaded by the inheriting class.
It is used to determine whether an object will ever be able to tick, and if not, it will not get added to the tickable objects array. If the tickable tick type is Conditional then the virtual IsTickable will be called to determine whether to tick the object on each given frame
被 UAISubsystem, UAutoDestroySubsystem, FInMemoryNetworkReplayStreamer , 以及 FNullNetworkReplayStreamer 重载.
|
inlinevirtual |
Virtual that can be overloaded by the inheriting class.
It is used to determine whether an object is ready to be ticked. This is required for example for all UObject derived classes as they might be loaded async and therefore won't be ready immediately.
|
pure virtual |
Pure virtual that must be overloaded by the inheriting class.
It will be called from within LevelTick.cpp after ticking all actors or from the rendering thread (depending on bIsRenderingThreadObject)
| DeltaTime | Game time passed since the last call. |
在 FInMemoryNetworkReplayStreamer, FNullNetworkReplayStreamer, UAISubsystem, UAIPerceptionSystem , 以及 UAutoDestroySubsystem 内被实现.