UNavigationSystemV1::GetRandomPoint

Finds random point in navigable space

Windows
MacOS
Linux

References

Module

NavigationSystem

Header

/Engine/Source/Runtime/NavigationSystem/Public/NavigationSystem.h

Include

#include "NavigationSystem.h"

Source

/Engine/Source/Runtime/NavigationSystem/Private/NavigationSystem.cpp

Syntax

bool GetRandomPoint
(
    FNavLocation & ResultLocation,
    ANavigationData * NavData,
    FSharedConstNavQueryFilter QueryFilter
)

Remarks

Finds random point in navigable space

Returns

true if any location found, false otherwise

Parameters

Parameter

Description

ResultLocation

Found point is put here

NavData

If NavData == NULL then MainNavData is used.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss