engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 静态 Public 成员函数 | Public 属性 | Protected 属性 | 所有成员列表
UNavArea类 参考

Class containing definition of a navigation area 更多...

#include <NavArea.h>

+ 类 UNavArea 继承关系图:

Public 成员函数

virtual void CopyFrom (TSubclassOf< UNavArea > AreaClass)
 copy properties from other area
 
virtual void FinishDestroy () override
 Called to finish destroying the object. 更多...
 
virtual float GetFixedAreaEnteringCost ()
 Get the fixed area entering cost.
 
virtual void InitializeArea ()
 called before adding to navigation system
 
virtual void PostInitProperties () override
 Called after the C++ constructor and after the properties have been initialized, including those loaded from config. 更多...
 
virtual void PostLoad () override
 Do any object-specific cleanup required immediately after loading an object. 更多...
 
virtual void Serialize (FArchive &Ar) override
 Handles reading, writing, and reference collecting using FArchive. 更多...
 

静态 Public 成员函数

static FColor GetColor (UClass *AreaDefinitionClass)
 Retrieved color declared for AreaDefinitionClass
 

Public 属性

float DefaultCost
 travel cost multiplier for path distance
 
FColor DrawColor
 area color in navigation view
 
FNavAgentSelector SupportedAgents
 restrict area only to specified agents
 

Protected 属性

uint16 AreaFlags
 these flags will be applied to navigation data along with AreaID
 
float FixedAreaEnteringCost
 entering cost
 

详细描述

Class containing definition of a navigation area

成员函数说明

◆ FinishDestroy()

virtual void UNavArea::FinishDestroy ( )
overridevirtual

Called to finish destroying the object.

After UObject::FinishDestroy is called, the object's memory should no longer be accessed.

警告
Because properties are destroyed here, Super::FinishDestroy() should always be called at the end of your child class's FinishDestroy() method, rather than at the beginning.

重载 UObject .

◆ PostInitProperties()

virtual void UNavArea::PostInitProperties ( )
overridevirtual

Called after the C++ constructor and after the properties have been initialized, including those loaded from config.

This is called before any serialization or other setup has happened.

重载 UObject .

◆ PostLoad()

virtual void UNavArea::PostLoad ( )
overridevirtual

Do any object-specific cleanup required immediately after loading an object.

This is not called for newly-created objects, and by default will always execute on the game thread.

重载 UObject .

◆ Serialize()

virtual void UNavArea::Serialize ( FArchive &  Ar)
overridevirtual

Handles reading, writing, and reference collecting using FArchive.

This implementation handles all FProperty serialization, but can be overridden for native variables.

重载 UObject .


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