UGizmoBaseComponent

Base class for simple Components intended to be used as part of 3D Gizmos.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

InteractiveToolsFramework

Header

/Engine/Source/Runtime/Experimental/InteractiveToolsFramework/Public/BaseGizmos/GizmoBaseComponent.h

Include

#include "BaseGizmos/GizmoBaseComponent.h"

Syntax

class UGizmoBaseComponent : public UPrimitiveComponent

Remarks

Base class for simple Components intended to be used as part of 3D Gizmos. Contains common properties and utility functions. This class does nothing by itself, use subclasses like UGizmoCircleComponent

Variables

Name Description

Protected variable

bool

 

bHovering

Hover state

Protected variable

bool

 

bWorld

World/local coordinates state

Public variable

FLinearColor

 

Color

Protected variable

float

 

DynamicPixelToWorldScale

Scale factor between pixel distances and world distances at Gizmo origin

Public variable

float

 

HoverSizeMultiplier

Public variable

float

 

PixelHitDistanceThreshold

Constructors

Name Description

Public function

UGizmoBaseComponent()

Functions

Name Description

Public function

void

 

NotifyExternalPropertyUpdates()

Currently this must be called if you change UProps on Base or subclass, to recreate render proxy which has a local copy of those settings

Public function

void

 

UpdateHoverState

(
    bool bHoveringIn
)

Public function

void

 

UpdateWorldLocalState

(
    bool bWorldIn
)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss