This class provides common registration for gamethread tickable objects. 更多...
#include <Tickable.h>
类 FTickableGameObject 继承关系图:Public 成员函数 | |
| FTickableGameObject () | |
| Registers this instance with the static array of tickable objects. 更多... | |
| virtual bool | IsTickableInEditor () const |
| Used to determine whether the object should be ticked in the editor. 更多... | |
| virtual bool | IsTickableWhenPaused () const |
| Used to determine if an object should be ticked when the game is paused. 更多... | |
| virtual | ~FTickableGameObject () |
| Removes this instance from the static array of tickable objects. | |
Public 成员函数 继承自 FTickableObjectBase | |
| 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. 更多... | |
This class provides common registration for gamethread tickable objects.
It is an abstract base class requiring you to implement the Tick() and GetStatId() methods. Can optionally also be ticked in the Editor, allowing for an object that both ticks during edit time and at runtime.
| FTickableGameObject::FTickableGameObject | ( | ) |
Registers this instance with the static array of tickable objects.
|
inlinevirtual |
Used to determine whether the object should be ticked in the editor.
Defaults to false since that is the previous behavior.
|
inlinevirtual |
Used to determine if an object should be ticked when the game is paused.
Defaults to false, as that mimics old behavior.
被 FInMemoryNetworkReplayStreamer , 以及 FNullNetworkReplayStreamer 重载.