UDocumentation
UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
GizmoElementArc.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 "GizmoElementArc.generated.h"
10
11
class
FPrimitiveDrawInterface
;
12
class
FMaterialRenderProxy
;
13
18
UCLASS
(
Transient
, MinimalAPI)
19
class
UGizmoElementArc
:
public
UGizmoElementCircleBase
20
{
21
GENERATED_BODY
()
22
23
public
:
24
25
UGizmoElementArc
();
26
27
//~ Begin UGizmoElementBase Interface.
28
INTERACTIVETOOLSFRAMEWORK_API
virtual
void
Render
(
IToolsContextRenderAPI
*
RenderAPI
,
const
FRenderTraversalState
&
RenderState
)
override
;
29
INTERACTIVETOOLSFRAMEWORK_API
virtual
FInputRayHit
LineTrace(
const
UGizmoViewContext
*
ViewContext
,
const
FLineTraceTraversalState
&
LineTraceState
,
const
FVector
& RayOrigin,
const
FVector
& RayDirection,
FLineTraceOutput
&
OutLineTraceOutput
)
override
;
30
//~ End UGizmoElementBase Interface.
31
32
// Inner circle radius.
33
INTERACTIVETOOLSFRAMEWORK_API
virtual
void
SetInnerRadius(
double
InInnerRadius
);
34
INTERACTIVETOOLSFRAMEWORK_API
virtual
double
GetInnerRadius()
const
;
35
36
protected
:
37
38
// Arc inner radius.
39
UPROPERTY
()
40
double
InnerRadius = 5.0;
41
};
CoreMinimal.h
StaticCastSharedRef
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition
SharedPointer.h:127
EPackageAutoSaveType::Transient
@ Transient
GizmoElementCircleBase.h
InputState.h
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
FMaterialRenderProxy
Definition
MaterialRenderProxy.h:102
FPrimitiveDrawInterface
Definition
PrimitiveDrawInterface.h:19
IToolsContextRenderAPI
Definition
ToolContextInterfaces.h:427
UGizmoElementArc
Definition
GizmoElementArc.h:20
UGizmoElementCircleBase
Definition
GizmoElementCircleBase.h:19
UGizmoViewContext
Definition
GizmoViewContext.h:20
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
GizmoElementArc.h
Generated by
1.9.8