UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
GizmoElementCircle.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
7#include "InputState.h"
9#include "GizmoElementCircle.generated.h"
10
17UCLASS(Transient, MinimalAPI)
19{
21
22public:
23 //~ Begin UGizmoElementBase Interface.
26 //~ End UGizmoElementBase Interface.
27
28 // Draw mesh
29 INTERACTIVETOOLSFRAMEWORK_API virtual void SetDrawMesh(bool InDrawMesh);
30 INTERACTIVETOOLSFRAMEWORK_API virtual bool GetDrawMesh() const;
31
32 // Draw line
33 INTERACTIVETOOLSFRAMEWORK_API virtual void SetDrawLine(bool InDrawLine);
34 INTERACTIVETOOLSFRAMEWORK_API virtual bool GetDrawLine() const;
35
36 // Hit mesh
37 INTERACTIVETOOLSFRAMEWORK_API virtual void SetHitMesh(bool InHitMesh);
38 INTERACTIVETOOLSFRAMEWORK_API virtual bool GetHitMesh() const;
39
40 // Hit line
41 INTERACTIVETOOLSFRAMEWORK_API virtual void SetHitLine(bool InHitLine);
42 INTERACTIVETOOLSFRAMEWORK_API virtual bool GetHitLine() const;
43
44protected:
45
46 // Whether to render solid circle.
47 UPROPERTY()
48 bool bDrawMesh = true;
49
50 // Whether to render line circle.
51 UPROPERTY()
52 bool bDrawLine = false;
53
54 // Whether to perform hit test on mesh.
55 UPROPERTY()
56 bool bHitMesh = true;
57
58 // Whether to perform hit test on line.
59 UPROPERTY()
60 bool bHitLine = false;
61};
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
return true
Definition ExternalRpcRegistry.cpp:601
const bool
Definition NetworkReplayStreaming.h:178
#define UPROPERTY(...)
UObject definition macros.
Definition ObjectMacros.h:744
#define GENERATED_BODY(...)
Definition ObjectMacros.h:765
#define UCLASS(...)
Definition ObjectMacros.h:776
Definition ToolContextInterfaces.h:427
Definition GizmoElementCircleBase.h:19
Definition GizmoElementCircle.h:19
Definition GizmoViewContext.h:20
@ false
Definition radaudio_common.h:23
Definition InputState.h:52
Definition GizmoElementBase.h:125
Definition GizmoElementBase.h:96
Definition GizmoElementBase.h:52