Files
UnrealEngineUWP/Engine/Source/Runtime/NavigationSystem/Private/NavGraph/NavGraphGenerator.h
stephen holmes d46374bce0 Work to Deprecate IsNavigationBuildInProgress(bool) and IsBuildInProgress(bool). These functions behave inconsistently between different navmesh build types and were causing issues. Not only that but their default params were set opposite ways (true / false).
[at]Yoan.StAmant [at]Mieszko.Zielinski [at]Maxime.Mercier [at]David.Hamm


#ROBOMERGE-SOURCE: CL 12126550 via CL 12132795
#ROBOMERGE-BOT: (v659-12123632)

[CL 12132919 by stephen holmes in Main branch]
2020-03-11 13:01:04 -04:00

41 lines
981 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/Volume.h"
#include "AI/NavDataGenerator.h"
class ANavigationGraph;
/**
* Class that handles generation of the ANavigationGraph data
*/
class FNavGraphGenerator : public FNavDataGenerator
{
public:
FNavGraphGenerator(ANavigationGraph* InDestNavGraph);
virtual ~FNavGraphGenerator();
private:
/** Prevent copying. */
FNavGraphGenerator(FNavGraphGenerator const& NoCopy) { check(0); };
FNavGraphGenerator& operator=(FNavGraphGenerator const& NoCopy) { check(0); return *this; }
private:
// Performs initial setup of member variables so that generator is ready to do its thing from this point on
void Init();
void CleanUpIntermediateData();
void UpdateBuilding();
private:
/** Bounding geometry definition. */
TArray<AVolume const*> InclusionVolumes;
FCriticalSection GraphChangingLock;
ANavigationGraph* DestNavGraph;
uint32 bInitialized:1;
};