20 lines
739 B
C++
20 lines
739 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "Models/NavigationSimulationNode.h"
|
|
#include "Widgets/SWidget.h"
|
|
|
|
/**
|
|
* Helper class to paint the result of a navigation event simulation
|
|
*/
|
|
class FNavigationSimulationOverlay
|
|
{
|
|
public:
|
|
FNavigationSimulationOverlay() = delete;
|
|
|
|
static int32 PaintSnapshotNode(const TArray<FNavigationSimulationWidgetNodePtr>& NodeToPaint, const FGeometry& AllottedGeometry, FSlateWindowElementList& OutDrawElements, int32 LayerId, const FVector2D& RootDrawOffset);
|
|
static int32 PaintLiveNode(const TArray<FNavigationSimulationWidgetNodePtr>& NodeToPaint, const FGeometry& AllottedGeometry, FSlateWindowElementList& OutDrawElements, int32 LayerId);
|
|
};
|