Navigation
Unreal Engine C++ API Reference > Runtime > NavigationSystem
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UNavCollisionBase
- UNavCollision
References
Module | NavigationSystem |
Header | /Engine/Source/Runtime/NavigationSystem/Public/NavCollision.h |
Include | #include "NavCollision.h" |
Syntax
class UNavCollision : public UNavCollisionBase
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
TSubclassOf< class UNavArea > | AreaClass | Navigation area type that will be use when this static mesh is used as a navigation obstacle. |
![]() |
uint32: 1 | bCreateOnClient | If false, will not create nav collision when connecting as a client |
![]() |
uint32: 1 | bForceGeometryRebuild | If set, convex geometry will be rebuild instead of using cooked data |
![]() |
uint32: 1 | bGatherConvexGeometry | If set, convex collisions will be exported offline for faster runtime navmesh building (increases memory usage) |
![]() |
FGuid | BodySetupGuid | Guid of associated BodySetup |
![]() |
TArray< FNavCollisionBox > | BoxCollision | List of nav collision boxes |
![]() |
TNavStatArray< int32 > | ConvexShapeIndices | |
![]() |
FFormatContainer | CookedFormatData | Cooked data for each format |
![]() |
TArray< FNavCollisionCylinder > | CylinderCollision | List of nav collision cylinders |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
UNavCollision
(
const FObjectInitializer& ObjectInitializer |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | ||
![]() |
void | CopyUserSettings
(
const UNavCollision& OtherData |
Copy user settings from other nav collision data |
![]() |
void | Read collisions data | |
![]() |
FByteBulkData * | GetCookedData
(
FName Format |
|
![]() ![]() |
FGuid | GetGuid () |
|
![]() |
void |
Overridden from UNavCollisionBase
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | DrawSimpleGeom
(
FPrimitiveDrawInterface* PDI, |
Show cylinder and box collisions |
![]() ![]() ![]() |
bool | ExportGeometry
(
const FTransform& LocalToWorld, |
Export collision data |
![]() ![]() |
void | GetNavigationModifier
(
FCompositeNavModifier& Modifier, |
Get data for dynamic obstacle |
![]() ![]() |
void | ||
![]() ![]() |
void | Setup
(
UBodySetup* BodySetup |
Tries to read data from DDC, and if that fails gathers navigation collision data, stores it and uploads to DDC |
Overridden from UObject
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | GetResourceSizeEx
(
FResourceSizeEx& CumulativeResourceSize |
Get the size of the object/resource for use in memory tools or to display to artists/LDs in the Editor This is the extended version which separates up the used memory into different memory regions (the actual definition of which may be platform specific). |
![]() ![]() ![]() |
bool | Called during saving to determine the load flags to save with the object. | |
![]() ![]() ![]() |
bool | NeedsLoadForTargetPlatform
(
const ITargetPlatform* TargetPlatform |
Called during saving to determine the load flags to save with the object. |
![]() ![]() |
void | Called after the C++ constructor and after the properties have been initialized, including those loaded from config. | |
![]() ![]() |
void | PostLoad () |
Do any object-specific cleanup required immediately after loading an object. |
![]() ![]() |
void | Handles reading, writing, and reference collecting using FArchive. |