UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UGizmoRectangleComponent Class Reference

#include <GizmoRectangleComponent.h>

+ Inheritance diagram for UGizmoRectangleComponent:

Public Attributes

FVector DirectionX = FVector(0, 0, 1)
 
FVector DirectionY = FVector(0, 1, 0)
 
bool bOrientYAccordingToCamera = false
 
float OffsetX = 0.0f
 
float OffsetY = 0.0f
 
float LengthX = 20.0f
 
float LengthY = 20.0f
 
float Thickness = 2.0f
 
uint8 SegmentFlags = 0x1 | 0x2 | 0x4 | 0x8
 
- Public Attributes inherited from UGizmoBaseComponent
FLinearColor Color = FLinearColor::Red
 
float HoverSizeMultiplier = 2.0f
 
float PixelHitDistanceThreshold = 7.0f
 

Additional Inherited Members

- Public Member Functions inherited from UGizmoBaseComponent
 UGizmoBaseComponent ()
 
void NotifyExternalPropertyUpdates ()
 
void SetGizmoViewContext (UGizmoViewContext *GizmoViewContextIn)
 
virtual void UpdateHoverState (bool bHoveringIn) override
 
virtual void UpdateWorldLocalState (bool bWorldIn) override
 
- Public Member Functions inherited from IGizmoBaseComponentInterface
virtual void UpdateInteractingState (bool bInteractingIn)
 
- Protected Attributes inherited from UGizmoBaseComponent
bool bHovering = false
 
bool bWorld = false
 
TObjectPtr< UGizmoViewContextGizmoViewContext = nullptr
 
bool bIsViewDependent = false
 

Detailed Description

Simple Component intended to be used as part of 3D Gizmos. Draws outline of 3D rectangle based on parameters.

Member Data Documentation

◆ bOrientYAccordingToCamera

bool UGizmoRectangleComponent::bOrientYAccordingToCamera = false

◆ DirectionX

FVector UGizmoRectangleComponent::DirectionX = FVector(0, 0, 1)

◆ DirectionY

FVector UGizmoRectangleComponent::DirectionY = FVector(0, 1, 0)

◆ LengthX

float UGizmoRectangleComponent::LengthX = 20.0f

◆ LengthY

float UGizmoRectangleComponent::LengthY = 20.0f

◆ OffsetX

float UGizmoRectangleComponent::OffsetX = 0.0f

◆ OffsetY

float UGizmoRectangleComponent::OffsetY = 0.0f

◆ SegmentFlags

uint8 UGizmoRectangleComponent::SegmentFlags = 0x1 | 0x2 | 0x4 | 0x8

◆ Thickness

float UGizmoRectangleComponent::Thickness = 2.0f

The documentation for this class was generated from the following files: