Files
UnrealEngine/Engine/Plugins/Runtime/MassGameplay/Source/MassRepresentation/Public/MassRepresentationDebug.h
2025-05-18 13:04:45 +08:00

33 lines
1.2 KiB
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "MassCommonTypes.h"
#include "Containers/ArrayView.h"
#if WITH_MASSGAMEPLAY_DEBUG
class UWorld;
struct FColor;
struct FMassExecutionContext;
struct FMassRepresentationFragment;
struct FMassRepresentationLODFragment;
struct FTransformFragment;
namespace UE::Mass::Representation::Debug
{
extern MASSREPRESENTATION_API FColor RepresentationColors[];
extern MASSREPRESENTATION_API int32 DebugRepresentation;
extern MASSREPRESENTATION_API float DebugRepresentationMaxSignificance;
extern MASSREPRESENTATION_API int32 DebugRepresentationLOD;
extern MASSREPRESENTATION_API float DebugRepresentationLODMaxSignificance;
void DebugDisplayRepresentation(FMassExecutionContext& Context, TConstArrayView<FMassRepresentationLODFragment> RepresentationLODList, TConstArrayView<FMassRepresentationFragment> RepresentationList, TConstArrayView<FTransformFragment> LocationList, UWorld* World);
void VisLogRepresentation(FMassExecutionContext& Context, TConstArrayView<FMassRepresentationLODFragment> RepresentationLODList, TConstArrayView<FMassRepresentationFragment> RepresentationList, TConstArrayView<FTransformFragment> LocationList, UObject* LogOwner);
}
#endif // WITH_MASSGAMEPLAY_DEBUG