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
)

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback