Navigation
API > API/Runtime > API/Runtime/NavigationSystem
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UActorComponent
- UNavRelevantComponent
- UNavModifierComponent
References
| Module | NavigationSystem |
| Header | /Engine/Source/Runtime/NavigationSystem/Public/NavModifierComponent.h |
| Include | #include "NavModifierComponent.h" |
Syntax
class UNavModifierComponent : public UNavRelevantComponent
Variables
| Type | Name | Description | |
|---|---|---|---|
| TSubclassOf< UNavArea > | AreaClass | ||
| uint8: 1 | bIncludeAgentHeight | Setting to 'true' will result in expanding lower bounding box of the nav modifier by agent's height, before applying to navmesh | |
| FTransform | CachedTransform | Cached in CalcAndCacheBounds and tested in GetNavigationData to see if cached data is still valid | |
| TArray< FRotatedBox > | ComponentBounds | ||
| FVector | FailsafeExtent | Box extent used ONLY when owning actor doesn't have collision component | |
| ENavigationDataResolution | NavMeshResolution | Experimental: Indicates which navmesh resolution should be used around the actor. | |
| FDelegateHandle | OnNavAreaRegisteredDelegateHandle | ||
| FDelegateHandle | OnNavAreaUnregisteredDelegateHandle | ||
| FDelegateHandle | TransformUpdateHandle |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UNavModifierComponent
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | OnNavAreaRegistered
(
const UWorld& World, |
||
| void | OnNavAreaUnregistered
(
const UWorld& World, |
||
| void | OnTransformUpdated
(
USceneComponent* RootComponent, |
||
| void | PopulateComponentBounds
(
FTransform InParentTransform, |
||
| void | SetAreaClass
(
TSubclassOf< UNavArea > NewAreaClass |
Overridden from UNavRelevantComponent
| Type | Name | Description | |
|---|---|---|---|
| void |
Overridden from UActorComponent
| Type | Name | Description | |
|---|---|---|---|
| void | OnRegister () |
Called when a component is registered, after Scene is set, but before CreateRenderState_Concurrent or OnCreatePhysicsState are called. | |
| void | OnUnregister () |
Called when a component is unregistered. |
Overridden from INavRelevantInterface
| Type | Name | Description | |
|---|---|---|---|
| void | GetNavigationData
(
FNavigationRelevantData& Data |
Prepare navigation modifiers |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FRotatedBox |