24 lines
1.1 KiB
C++
24 lines
1.1 KiB
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
/*=============================================================================
|
|
ConvexDecompositionNotification.h: Defines the interface to update the ConvexDecomposition notification state
|
|
=============================================================================*/
|
|
|
|
#pragma once
|
|
|
|
#include "Containers/UnrealString.h"
|
|
#include "CoreMinimal.h"
|
|
|
|
// To make the convex decomposition notification appear, you simply set 'IsActive' to true and assign
|
|
// the current status message in 'Status'. Use the 'GConvexDecompositionNotificationState' pointer
|
|
// to get access to the global notification state.
|
|
class FConvexDecompositionNotificationState
|
|
{
|
|
public:
|
|
bool IsActive{ false }; // True if convex decomposition is currently active.
|
|
FString Status; // The current status notification message to display
|
|
};
|
|
|
|
/** The global pointer to the notification for convex decomposition; used to set the active state and update messages. */
|
|
extern UNREALED_API FConvexDecompositionNotificationState* GConvexDecompositionNotificationState;
|