UDocumentation
UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
GizmoActor.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 "
InteractiveToolObjects.h
"
7
#include "GizmoActor.generated.h"
8
9
class
UGizmoArrowComponent
;
10
class
UGizmoRectangleComponent
;
11
class
UGizmoCircleComponent
;
12
class
UGizmoBoxComponent
;
13
class
UGizmoLineHandleComponent
;
14
class
UGizmoViewContext
;
15
16
22
UCLASS
(
Transient
,
NotPlaceable
,
Hidden
, NotBlueprintable, NotBlueprintType, MinimalAPI)
23
class
AGizmoActor
:
public
AInternalToolFrameworkActor
24
{
25
GENERATED_BODY
()
26
public
:
27
INTERACTIVETOOLSFRAMEWORK_API
AGizmoActor
();
28
30
static
INTERACTIVETOOLSFRAMEWORK_API
UGizmoArrowComponent
* AddDefaultArrowComponent(
31
UWorld
*
World
,
AActor
*
Actor
,
UGizmoViewContext
* GizmoViewContext,
32
const
FLinearColor
&
Color
,
const
FVector
& LocalDirection,
const
float
Length
= 80.0f
33
);
35
static
INTERACTIVETOOLSFRAMEWORK_API
UGizmoRectangleComponent
* AddDefaultRectangleComponent(
36
UWorld
*
World
,
AActor
*
Actor
,
UGizmoViewContext
* GizmoViewContext,
37
const
FLinearColor
&
Color
,
const
FVector
&
PlaneAxis1
,
const
FVector
&
PlaneAxisx2
38
);
40
static
INTERACTIVETOOLSFRAMEWORK_API
UGizmoCircleComponent
* AddDefaultCircleComponent(
41
UWorld
*
World
,
AActor
*
Actor
,
UGizmoViewContext
* GizmoViewContext,
42
const
FLinearColor
&
Color
,
const
FVector
& PlaneNormal,
43
float
Radius = 120.0f
44
);
45
47
static
INTERACTIVETOOLSFRAMEWORK_API
UGizmoBoxComponent
* AddDefaultBoxComponent(
48
UWorld
*
World
,
AActor
*
Actor
,
UGizmoViewContext
* GizmoViewContext,
49
const
FLinearColor
&
Color
,
const
FVector
& Origin,
50
const
FVector
& Dimensions =
FVector
(20.0f, 20.0f, 20.0f)
51
);
52
54
static
INTERACTIVETOOLSFRAMEWORK_API
UGizmoLineHandleComponent
* AddDefaultLineHandleComponent(
55
UWorld
*
World
,
AActor
*
Actor
,
UGizmoViewContext
* GizmoViewContext,
56
const
FLinearColor
&
Color
,
const
FVector
& PlaneNormal,
const
FVector
& LocalDirection,
57
const
float
Length
= 60.f,
const
bool
bImageScale =
false
58
);
59
};
EARSessionType::World
@ World
CoreMinimal.h
StaticCastSharedRef
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition
SharedPointer.h:127
EDatasmithElementType::Actor
@ Actor
EPackageAutoSaveType::Transient
@ Transient
EGameplayDebuggerCategoryState::Hidden
@ Hidden
FVector
#define FVector
Definition
IOSSystemIncludes.h:8
InteractiveToolObjects.h
EMaterialExpressionOperatorKind::Length
@ Length
GENERATED_BODY
#define GENERATED_BODY(...)
Definition
ObjectMacros.h:765
UCLASS
#define UCLASS(...)
Definition
ObjectMacros.h:776
EVariantTypes::Color
@ Color
AActor
Definition
Actor.h:257
AGizmoActor
Definition
GizmoActor.h:24
AInternalToolFrameworkActor
Definition
InteractiveToolObjects.h:19
UGizmoArrowComponent
Definition
GizmoArrowComponent.h:16
UGizmoBoxComponent
Definition
GizmoBoxComponent.h:16
UGizmoCircleComponent
Definition
GizmoCircleComponent.h:16
UGizmoLineHandleComponent
Definition
GizmoLineHandleComponent.h:17
UGizmoRectangleComponent
Definition
GizmoRectangleComponent.h:16
UGizmoViewContext
Definition
GizmoViewContext.h:20
UWorld
Definition
World.h:918
FLinearColor
Definition
Color.h:48
UE::Math::TVector< double >
Engine
Source
Runtime
InteractiveToolsFramework
Public
BaseGizmos
GizmoActor.h
Generated by
1.9.8