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"
7#include "GizmoActor.generated.h"
8
15
16
22UCLASS(Transient, NotPlaceable, Hidden, NotBlueprintable, NotBlueprintType, MinimalAPI)
24{
26public:
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,
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};
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define FVector
Definition IOSSystemIncludes.h:8
#define GENERATED_BODY(...)
Definition ObjectMacros.h:765
#define UCLASS(...)
Definition ObjectMacros.h:776
Definition Actor.h:257
Definition GizmoActor.h:24
Definition InteractiveToolObjects.h:19
Definition GizmoArrowComponent.h:16
Definition GizmoBoxComponent.h:16
Definition GizmoCircleComponent.h:16
Definition GizmoLineHandleComponent.h:17
Definition GizmoRectangleComponent.h:16
Definition GizmoViewContext.h:20
Definition World.h:918
Definition Color.h:48