UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
ISMPoolDebugDrawComponent.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
7#include "ISMPoolDebugDrawComponent.generated.h"
8
9#define UE_API ISMPOOL_API
10
13
14UCLASS(MinimalAPI, ClassGroup = Debug)
16{
18
19 UPROPERTY(EditAnywhere, Category = Debug)
20 bool bShowGlobalStats = false;
21
22 UPROPERTY(EditAnywhere, Category = Debug)
23 bool bShowStats = false;
24
25 UPROPERTY(EditAnywhere, Category = Debug)
26 bool bShowBounds = false;
27
30
31 float SelectTimer = 0.f;
32
33protected:
34 UE_API virtual void BeginPlay() override;
35 UE_API virtual void EndPlay(const EEndPlayReason::Type EndPlayReason) override;
36 UE_API virtual void TickComponent(float DeltaTime, enum ELevelTick TickType, FActorComponentTickFunction* ThisTickFunction) override;
37 UE_API virtual FBoxSphereBounds CalcBounds(const FTransform& LocalToWorld) const override;
38
39#if WITH_EDITOR
40 UE_API virtual void PostEditChangeProperty(FPropertyChangedEvent& PropertyChangedEvent) override;
41#endif
42
43 UE_API void UpdateTickEnabled();
44
45#if UE_ENABLE_DEBUG_DRAWING
46 UE_API virtual FDebugRenderSceneProxy* CreateDebugSceneProxy() override;
47
48 FDebugDrawDelegateHelper DebugDrawDelegateHelper;
49 virtual FDebugDrawDelegateHelper& GetDebugDrawDelegateHelper() override { return DebugDrawDelegateHelper; }
50
51 FDelegateHandle OnScreenMessagesHandle;
53#endif
54
55public:
56 static UE_API void UpdateAllTickEnabled();
57};
58
59#undef UE_API
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
ELevelTick
Definition EngineBaseTypes.h:70
#define UE_API
Definition ISMPoolDebugDrawComponent.h:9
#define UPROPERTY(...)
UObject definition macros.
Definition ObjectMacros.h:744
#define GENERATED_UCLASS_BODY(...)
Definition ObjectMacros.h:768
#define UCLASS(...)
Definition ObjectMacros.h:776
Definition DebugRenderSceneProxy.h:41
Definition IDelegateInstance.h:14
Definition DebugDrawComponent.h:50
Definition ISMPoolDebugDrawComponent.h:16
Definition InstancedStaticMeshComponent.h:158
virtual ENGINE_API FBoxSphereBounds CalcBounds(const FTransform &BoundTransform) const override
Definition InstancedStaticMesh.cpp:3077
Type
Definition EngineTypes.h:3431
Definition EngineBaseTypes.h:571
Definition DebugRenderSceneProxy.h:434
Definition UnrealType.h:6865
Definition ObjectPtr.h:488
Definition BoxSphereBounds.h:25