51 inline explicit operator bool()
const;
98 struct FPrivateToken {
explicit FPrivateToken() =
default; };
113 UE_DEPRECATED(5.5,
"Temporary constructor to allow deprecation of other navigation types. Use the version taking an object reference instead.")
298 bool bDirtyAreaOnRegistration =
true;
305 bool bIsInBaseNavigationData =
false;
308 bool bIsFromLevelVisibilityChange =
false;
322 return Element ? Element->GetName() :
TEXT(
"None");
327 return Element ? Element->GetPathName() :
TEXT(
"None");
332 return Element ? Element->GetFullName() :
TEXT(
"None");
342 , SubElementId(SubElementId)
348 , SubElementId(SubElementId)
359 return !(*
this ==
Other);
362FNavigationElementHandle::operator
bool()
const
389 return bIsFromLevelVisibilityChange;
394 return bIsInBaseNavigationData;
399 return GeometryTransform;
419 return BodySetup.
Get();
424 return NavigationParent;
434 return GeometryExportType;
444 return GeometryGatheringMode;
454 return bDirtyAreaOnRegistration;
@ INDEX_NONE
Definition CoreMiscDefines.h:150
#define UE_DEPRECATED(Version, Message)
Definition CoreMiscDefines.h:302
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define DECLARE_DELEGATE_TwoParams(DelegateName, Param1Type, Param2Type)
Definition DelegateCombinations.h:57
#define DECLARE_DELEGATE_ThreeParams(DelegateName, Param1Type, Param2Type, Param3Type)
Definition DelegateCombinations.h:66
ENavDataGatheringMode
Definition NavDataGatheringMode.h:9
FString GetFullNameSafe(const FNavigationElement *Element)
Definition NavigationElement.h:330
FString GetPathNameSafe(const FNavigationElement *Element)
Definition NavigationElement.h:325
FString GetNameSafe(const FNavigationElement *Element)
Definition NavigationElement.h:320
uint32 GetTypeHash(const FNavigationElementHandle &Key)
Definition NavigationElement.h:315
const bool
Definition NetworkReplayStreaming.h:178
constexpr uint32 HashCombine(uint32 A, uint32 C)
Definition TypeHash.h:36
Definition NavRelevantInterface.h:49
Definition SharedPointer.h:1640
Definition SharedPointer.h:153
Definition BodySetup.h:128
Definition NavigationElement.h:18
Type
Definition NavRelevantInterface.h:27
Definition NavigationSystemHelpers.h:25
Definition NavigationDirtyElement.h:13
Definition NavigationElement.h:36
ENGINE_API friend FString LexToString(const FNavigationElementHandle &Handle)
Definition NavigationElement.cpp:198
bool operator==(const FNavigationElementHandle &Other) const
Definition NavigationElement.h:352
void Invalidate()
Definition NavigationElement.h:372
static ENGINE_API const FNavigationElementHandle Invalid
Definition NavigationElement.h:37
bool operator!=(const FNavigationElementHandle &Other) const
Definition NavigationElement.h:357
bool IsValid() const
Definition NavigationElement.h:367
friend uint32 GetTypeHash(const FNavigationElementHandle &Handle)
Definition NavigationElement.h:315
FNavigationElementHandle()=default
Definition NavigationElement.h:94
void SetNavigationParent(const UObject *InNavigationParent)
Definition NavigationElement.h:427
TWeakObjectPtr< const UObject > GetWeakUObject() const
Definition NavigationElement.h:382
void SetDirtyAreaOnRegistration(const bool bInDirtyAreaOnRegistration)
Definition NavigationElement.h:457
ENGINE_API friend uint32 GetTypeHash(const FNavigationElement &Element)
Definition NavigationElement.cpp:188
bool IsFromLevelVisibilityChange() const
Definition NavigationElement.h:387
ENGINE_API friend FString LexToString(const FNavigationElement &Element)
Definition NavigationElement.cpp:193
FBox GetBounds() const
Definition NavigationElement.h:407
ENGINE_API FString GetName() const
Definition NavigationElement.cpp:157
ENGINE_API void SetBodySetup(UBodySetup *InBodySetup)
Definition NavigationElement.cpp:147
friend FString GetFullNameSafe(const FNavigationElement *Element)
Definition NavigationElement.h:330
static ENGINE_API TSharedRef< const FNavigationElement > CreateFromNavRelevantInterface(const INavRelevantInterface &NavRelevantInterface)
Definition NavigationElement.cpp:142
friend FString GetPathNameSafe(const FNavigationElement *Element)
Definition NavigationElement.h:325
ENavDataGatheringMode GetGeometryGatheringMode() const
Definition NavigationElement.h:442
friend FString GetNameSafe(const FNavigationElement *Element)
Definition NavigationElement.h:320
const TWeakObjectPtr< const UObject > & GetNavigationParent() const
Definition NavigationElement.h:422
FCustomGeometryExport CustomGeometryExportDelegate
Definition NavigationElement.h:241
FNavigationElement()=delete
FNavigationDataExport NavigationDataExportDelegate
Definition NavigationElement.h:235
void SetGeometryGatheringMode(const ENavDataGatheringMode InGeometryGatheringMode)
Definition NavigationElement.h:447
void SetTransform(const FTransform &InGeometryTransform)
Definition NavigationElement.h:402
ENGINE_API FString GetPathName() const
Definition NavigationElement.cpp:168
void SetBounds(const FBox &InBounds)
Definition NavigationElement.h:412
UBodySetup * GetBodySetup() const
Definition NavigationElement.h:417
ENGINE_API FString GetFullName() const
Definition NavigationElement.cpp:178
void SetGeometryExportType(const EHasCustomNavigableGeometry::Type InCustomNavigableGeometry)
Definition NavigationElement.h:437
bool IsInBaseNavigationData() const
Definition NavigationElement.h:392
ENGINE_API FNavigationElementHandle GetHandle() const
Definition NavigationElement.cpp:152
bool GetDirtyAreaOnRegistration() const
Definition NavigationElement.h:452
const FTransform & GetTransform() const
Definition NavigationElement.h:397
EHasCustomNavigableGeometry::Type GetGeometryExportType() const
Definition NavigationElement.h:432
FGeometrySliceExport GeometrySliceExportDelegate
Definition NavigationElement.h:244
Definition NavigationRelevantData.h:40
Definition WeakObjectPtrTemplates.h:25
FORCEINLINE T * Get(bool bEvenIfPendingKill) const
Definition WeakObjectPtrTemplates.h:132
FORCEINLINE bool HasSameIndexAndSerialNumber(const TWeakObjectPtr &Other) const
Definition WeakObjectPtrTemplates.h:273