engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
FTickableGameObject类 参考

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::FTickableGameObject ( )

Registers this instance with the static array of tickable objects.


成员函数说明

◆ IsTickableInEditor()

virtual bool FTickableGameObject::IsTickableInEditor ( ) const
inlinevirtual

Used to determine whether the object should be ticked in the editor.

Defaults to false since that is the previous behavior.

返回
true if this tickable object can be ticked in the editor

◆ IsTickableWhenPaused()

virtual bool FTickableGameObject::IsTickableWhenPaused ( ) const
inlinevirtual

Used to determine if an object should be ticked when the game is paused.

Defaults to false, as that mimics old behavior.

返回
true if it should be ticked when paused, false otherwise

被 FInMemoryNetworkReplayStreamer , 以及 FNullNetworkReplayStreamer 重载.


该类的文档由以下文件生成: