Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework > API/Runtime/InteractiveToolsFramework/BaseGizmos
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UActorComponent
- USceneComponent
- UPrimitiveComponent
- UGizmoBaseComponent
- UGizmoArrowComponent
- UGizmoBoxComponent
- UGizmoCircleComponent
- UGizmoLineHandleComponent
- UGizmoRectangleComponent
References
| Module | InteractiveToolsFramework |
| Header | /Engine/Source/Runtime/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
| Type | Name | Description | |
|---|---|---|---|
| bool | bHovering | Hover state | |
| bool | bIsViewDependent | True when GizmoViewContext is not null. | |
| bool | bWorld | World/local coordinates state | |
| FLinearColor | Color | ||
| TObjectPtr< UGizmoViewContext > | GizmoViewContext | ||
| float | HoverSizeMultiplier | ||
| float | PixelHitDistanceThreshold |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | 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 | ||
| void | SetGizmoViewContext
(
UGizmoViewContext* GizmoViewContextIn |
||
| void | UpdateHoverState
(
bool bHoveringIn |
||
| void | UpdateWorldLocalState
(
bool bWorldIn |