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

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

成员函数说明

◆ GetTickableTickType()

virtual ETickableTickType FTickableObjectBase::GetTickableTickType ( ) const
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

返回
true if object will ever want to be ticked, false otherwise.

被 UAISubsystem, UAutoDestroySubsystem, FInMemoryNetworkReplayStreamer , 以及 FNullNetworkReplayStreamer 重载.

◆ IsTickable()

virtual bool FTickableObjectBase::IsTickable ( ) const
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.

返回
true if object is ready to be ticked, false otherwise.

◆ Tick()

virtual void FTickableObjectBase::Tick ( float  DeltaTime)
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)

参数
DeltaTimeGame time passed since the last call.

在 FInMemoryNetworkReplayStreamer, FNullNetworkReplayStreamer, UAISubsystem, UAIPerceptionSystem , 以及 UAutoDestroySubsystem 内被实现.


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