UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
GizmoCircleComponent.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"
8#include "GizmoCircleComponent.generated.h"
9
16{
18
19public:
20 UPROPERTY(EditAnywhere, Category = Options)
22
23 UPROPERTY(EditAnywhere, Category = Options)
24 float Radius = 100.0f;
25
26 UPROPERTY(EditAnywhere, Category = Options)
27 float Thickness = 2.0f;
28
29 UPROPERTY(EditAnywhere, Category = Options)
30 int NumSides = 64;
31
32 UPROPERTY(EditAnywhere, Category = Options)
33 bool bViewAligned = false;
34
35 UPROPERTY(EditAnywhere, Category = Options)
36 bool bDrawFullCircle = false;
37
38 // If the circle was on a 3D sphere, then only the 'front' part of the circle can be hit,
39 // (in other words, if the ray would hit the sphere first, ignore the hit).
40 // Dynamically disabled if the circle is parallel to the view plane (ie "fully visible")
41 UPROPERTY(EditAnywhere, Category = Options)
42 bool bOnlyAllowFrontFacingHits = true;
43
45 //~ Begin UPrimitiveComponent Interface.
47 INTERACTIVETOOLSFRAMEWORK_API virtual bool LineTraceComponent(FHitResult& OutHit, const FVector Start, const FVector End, const FCollisionQueryParams& Params) override;
48 //~ End UPrimitiveComponent Interface.
49
50 //~ Begin USceneComponent Interface.
51 INTERACTIVETOOLSFRAMEWORK_API virtual FBoxSphereBounds CalcBounds(const FTransform& LocalToWorld) const override;
52 //~ Begin USceneComponent Interface.
53};
@ Normal
Definition AndroidInputInterface.h:116
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
return true
Definition ExternalRpcRegistry.cpp:601
#define UPROPERTY(...)
UObject definition macros.
Definition ObjectMacros.h:744
#define GENERATED_BODY(...)
Definition ObjectMacros.h:765
#define UCLASS(...)
Definition ObjectMacros.h:776
Definition PrimitiveSceneProxy.h:296
Definition GizmoBaseComponent.h:43
Definition GizmoCircleComponent.h:16
@ false
Definition radaudio_common.h:23
Definition CollisionQueryParams.h:43
Definition HitResult.h:21
Definition BoxSphereBounds.h:25