Files
UnrealEngineUWP/Engine/Source/Runtime/Experimental/GeometryCollectionEngine/Public/GeometryCollection/GeometryCollectionDebugDrawComponent.h
cedric caillaud 3f789086d2 Chaos: Deprecate geometrycollection debuyg draw component
#rb benn.gallagher, brice.criswell
#jira UE-100417
#preflight 61f8d6f2a6632a34f368e29d

#ROBOMERGE-AUTHOR: cedric.caillaud
#ROBOMERGE-SOURCE: CL 18805895 in //UE5/Release-5.0/... via CL 18807995 via CL 18821777
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545)

[CL 18822139 by cedric caillaud in ue5-main branch]
2022-02-02 02:20:31 -05:00

44 lines
1.9 KiB
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "Components/MeshComponent.h"
#include "GeometryCollection/GeometryCollectionParticlesData.h"
#include "GeometryCollectionDebugDrawComponent.generated.h"
class AGeometryCollectionRenderLevelSetActor;
class UGeometryCollectionComponent;
class AGeometryCollectionDebugDrawActor;
class AChaosSolverActor;
#if GEOMETRYCOLLECTION_DEBUG_DRAW
namespace Chaos { class FImplicitObject; }
namespace Chaos { template<class T, int d> class TPBDRigidParticles; }
#endif // #if GEOMETRYCOLLECTION_DEBUG_DRAW
/**
* UGeometryCollectionDebugDrawComponent
* Component adding debug drawing functionality to a GeometryCollectionActor.
* This component is automatically added to every GeometryCollectionActor.
*/
class UE_DEPRECATED(5.0, "Deprecated. Use normal debug draw Chaos Physics commands") UGeometryCollectionDebugDrawComponent;
UCLASS(meta = (BlueprintSpawnableComponent), HideCategories = ("Tags", "Activation", "Cooking", "AssetUserData", "Collision"))
class GEOMETRYCOLLECTIONENGINE_API UGeometryCollectionDebugDrawComponent : public UActorComponent
{
GENERATED_UCLASS_BODY()
public:
PRAGMA_DISABLE_DEPRECATION_WARNINGS
/** Singleton actor, containing the debug draw properties. Automatically populated at play time unless explicitly set. */
UPROPERTY()
TObjectPtr<AGeometryCollectionDebugDrawActor> GeometryCollectionDebugDrawActor_DEPRECATED;
PRAGMA_ENABLE_DEPRECATION_WARNINGS
/** Level Set singleton actor, containing the Render properties. Automatically populated at play time unless explicitly set. */
UPROPERTY(EditAnywhere, Category = "Debug Draw", AdvancedDisplay)
TObjectPtr<AGeometryCollectionRenderLevelSetActor> GeometryCollectionRenderLevelSetActor;
UGeometryCollectionComponent* GeometryCollectionComponent; // the component we are debug rendering for, set by the GeometryCollectionActor after creation
};