UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
DebugDrawParticle.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2#pragma once
3
4#include "Chaos/Core.h"
5#include "Chaos/Declares.h"
8
9#define UE_API CHAOS_API
10
11#if CHAOS_DEBUG_DRAW
12
13namespace Chaos
14{
15 struct FChaosDDParticle
16 {
17 // Draw a particle's shapes with auto-coloring. SpaceTransform is simulation space to world transform (for RBAN)
18 static UE_API void DrawShapes(
19 const FRigidTransform3& SpaceTransform,
20 const FGeometryParticleHandle* Particle);
21
22 // Draw a particle's shapes with auto-coloring
23 static UE_API void DrawShapes(
24 const FGeometryParticleHandle* Particle);
25
26 // Draw a particle's shapes with manual coloring
27 static UE_API void DrawShapes(
28 const FGeometryParticleHandle* Particle,
29 const FColor& Color);
30
31 // Draw a particle's optimized shapes with auto-coloring if it has any
32 static UE_API bool DrawOptimizedShapes(
33 const FGeometryParticleHandle* Particle);
34 };
35}
36
37#endif
38
39#undef UE_API
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define UE_API
Definition SColorGradingComponentViewer.h:12
Definition SkeletalMeshComponent.h:307
Definition Color.h:486