UNavigationSystem

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/AI/NavigationSystemBase.h

Include

#include "AI/NavigationSystemBase.h"

Syntax

class UNavigationSystem : public UObject

Constructors

Name Description

Public function

UNavigationSystem

(
    const FObjectInitializer& ObjectIn...
)

Deprecated Functions

Name Description

Public function Static

void

 

ClearNavOctreeAll

(
    AActor* Actor
)

UpdateActorInNavOctree is deprecated. Use FNavigationSystem::RemoveActorData instead

Public function Static

UNavigationS...

 

CreateNavigationSystem

(
    UWorld* WorldOwner
)

CreateNavigationSystem is deprecated. Use FNavigationSystem::CreateNavigationSystem instead

Public function Static

UNavigationS...

 

GetCurrent

(
    UObject* WorldContextObject
)

GetCurrent is deprecated. Use FNavigationSystem::GetCurrent instead

Public function Static

UNavigationS...

 

GetCurrent

(
    UWorld* World
)

GetCurrent is deprecated. Use FNavigationSystem::GetCurrent instead

Public function Static

TSubclassOf<...

 

GetDefaultObstacleArea()

UNavigationSystem::GetNavDataForProps is deprecated. Use FNavigationSystem::GetDefaultObstacleArea instead

Public function Const

const FNavDa...

 

GetDefaultSupportedAgentConfig()

GetDefaultSupportedAgentConfig is deprecated. Use FNavigationSystem::GetDefaultSupportedAgent instead

Public function Static

TSubclassOf<...

 

GetDefaultWalkableArea()

GetDefaultWalkableArea is deprecated. Use FNavigationSystem::GetDefaultWalkableArea instead

Public function Const

UObject *...

 

GetMainNavData()

GetMainNavData has been moved. Use FNavigationSystem::GetCurrent()->GetDefaultNavDataInstance instead

Public function

UObject *...

 

GetMainNavData

(
    int
)

GetMainNavData has been moved. Use FNavigationSystem::GetCurrent()->GetDefaultNavDataInstance instead

Public function

INavigationD...

 

GetNavDataForProps

(
    const FNavAgentProperties& AgentPr...
)

GetNavDataForProps is deprecated. Use FNavigationSystem::GetNavDataForProps instead

Public function Const

const FOctre...

 

GetObjectsNavOctreeId

(
    const UObject* Object
)

GetObjectsNavOctreeId is deprecated. You need to access NavigationSystem's modul NavigationSystem to access this functionality

Public function Const

const TArray...

 

GetSupportedAgents()

GetSupportedAgents has been moved. Use UNavigationSystemV1::GetSupportedAgents instead

Public function Const

bool

 

HasPendingObjectNavOctreeId

(
    UObject* Object
)

HasPendingObjectNavOctreeId is deprecated. You need to access NavigationSystem's modul NavigationSystem class to access this functionality

Public function Static

void

 

InitializeForWorld

(
    UWorld* World,
    FNavigationSystemRunMode Mode
)

InitializeForWorld is deprecated. Use FNavigationSystem::CreateNavigationSystem instead

Public function Static

bool

 

K2_GetRandomReachablePointInRadius

(
    UObject* WorldContextObject,
    const FVector& Origin,
    FVector& RandomLocation,
    float Radius,
    UObject* NavData,
    TSubclassOf< UObject > FilterClass
)

UNavigationSystem::K2_GetRandomReachablePointInRadius is deprecated. Use UNavigationSystemV1::K2_GetRandomReachablePointInRadius instead

Public function Static

void

 

OnActorRegistered

(
    AActor* Actor
)

OnActorRegistered is deprecated. Use FNavigationSystem::OnActorRegistered instead

Public function Static

void

 

OnActorUnregistered

(
    AActor* Actor
)

OnActorUnregistered is deprecated. Use FNavigationSystem::OnActorUnregistered instead

Public function Static

void

 

OnComponentRegistered

(
    UActorComponent* Comp
)

OnComponentRegistered is deprecated. Use FNavigationSystem::OnComponentRegistered instead

Public function Static

void

 

OnComponentUnregistered

(
    UActorComponent* Comp
)

OnComponentUnregistered is deprecated. Use FNavigationSystem::OnComponentUnregistered instead

Public function Const

bool

 

ProjectPointToNavigation

(
    const FVector& Point,
    FNavLocation& OutLocation,
    const FVector& Extent,
    const UObject* NavData,
    void* QueryFilter
)

ProjectPointToNavigation has been deprecated along with the whole UNavigationSystem class. Use UNavigationSystemV1 instead

Public function Static

bool

 

ShouldUpdateNavOctreeOnComponentChange()

ShouldUpdateNavOctreeOnComponentChange is deprecated. Use FNavigationSystem::WantsComponentChangeNotifies instead

Public function Static

void

 

SimpleMoveToActor

(
    AController* Controller,
    const AActor* Goal
)

UNavigationSystem::SimpleMoveToActor is deprecated. Use UAIBlueprintHelperLibrary::SimpleMoveToActor instead

Public function Static

void

 

SimpleMoveToLocation

(
    AController* Controller,
    const FVector& Goal
)

UNavigationSystem::SimpleMoveToLocation is deprecated. Use UAIBlueprintHelperLibrary::SimpleMoveToLocation instead

Public function Static

void

 

UpdateActorAndComponentsInNavOctree

(
    AActor& Actor,
    bool bUpdateAttachedActors
)

UpdateActorAndComponentsInNavOctree is deprecated. Use FNavigationSystem::UpdateActorAndComponentData instead

Public function Static

void

 

UpdateActorInNavOctree

(
    AActor& Actor
)

UpdateActorInNavOctree is deprecated. Use FNavigationSystem::UpdateActorData instead

Public function Static

void

 

UpdateComponentInNavOctree

(
    UActorComponent& Comp
)

UpdateComponentInNavOctree is deprecated. Use FNavigationSystem::UpdateComponentData instead

Public function Static

void

 

UpdateNavOctreeAfterMove

(
    USceneComponent* Comp
)

UpdateNavOctreeAfterMove is deprecated. Use FNavigationSystem::UpdateComponentDataAfterMove instead

Public function Static

void

 

UpdateNavOctreeBounds

(
    AActor* Actor
)

UpdateNavOctreeBounds is deprecated. Use FNavigationSystem::OnActorBoundsChanged instead

Public function

bool

 

UpdateNavOctreeElementBounds

(
    UActorComponent* Comp,
    const FBox& NewBounds,
    const FBox& DirtyArea
)

UpdateNavOctreeElementBounds is deprecated. Use FNavigationSystem::OnComponentBoundsChanged instead

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback