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
"
6
#include "
BaseGizmos/GizmoElementCircleBase.h
"
7
#include "
InputState.h
"
8
#include "
UObject/ObjectMacros.h
"
9
#include "GizmoElementCircle.generated.h"
10
17
UCLASS
(
Transient
, MinimalAPI)
18
class
UGizmoElementCircle
:
public
UGizmoElementCircleBase
19
{
20
GENERATED_BODY
()
21
22
public
:
23
//~ Begin UGizmoElementBase Interface.
24
INTERACTIVETOOLSFRAMEWORK_API
virtual
void
Render
(
IToolsContextRenderAPI
*
RenderAPI
,
const
FRenderTraversalState
&
RenderState
)
override
;
25
INTERACTIVETOOLSFRAMEWORK_API
virtual
FInputRayHit
LineTrace(
const
UGizmoViewContext
*
ViewContext
,
const
FLineTraceTraversalState
&
LineTraceState
,
const
FVector
& RayOrigin,
const
FVector
& RayDirection,
FLineTraceOutput
&
OutLineTraceOutput
)
override
;
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
44
protected
:
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
};
CoreMinimal.h
StaticCastSharedRef
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition
SharedPointer.h:127
EPackageAutoSaveType::Transient
@ Transient
true
return true
Definition
ExternalRpcRegistry.cpp:601
GizmoElementCircleBase.h
InputState.h
bool
const bool
Definition
NetworkReplayStreaming.h:178
ObjectMacros.h
UPROPERTY
#define UPROPERTY(...)
UObject definition macros.
Definition
ObjectMacros.h:744
GENERATED_BODY
#define GENERATED_BODY(...)
Definition
ObjectMacros.h:765
UCLASS
#define UCLASS(...)
Definition
ObjectMacros.h:776
EOpenGLFormatCapabilities::Render
@ Render
EBulkReregister::RenderState
@ RenderState
IToolsContextRenderAPI
Definition
ToolContextInterfaces.h:427
UGizmoElementCircleBase
Definition
GizmoElementCircleBase.h:19
UGizmoElementCircle
Definition
GizmoElementCircle.h:19
UGizmoViewContext
Definition
GizmoViewContext.h:20
false
@ false
Definition
radaudio_common.h:23
FInputRayHit
Definition
InputState.h:52
UE::Math::TVector< double >
UGizmoElementBase::FLineTraceOutput
Definition
GizmoElementBase.h:125
UGizmoElementBase::FLineTraceTraversalState
Definition
GizmoElementBase.h:96
UGizmoElementBase::FRenderTraversalState
Definition
GizmoElementBase.h:52
Engine
Source
Runtime
InteractiveToolsFramework
Public
BaseGizmos
GizmoElementCircle.h
Generated by
1.9.8