Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework > API/Runtime/InteractiveToolsFramework/BaseGizmos
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UGizmoElementHitTarget
References
| Module | InteractiveToolsFramework |
| Header | /Engine/Source/Runtime/InteractiveToolsFramework/Public/BaseGizmos/GizmoElementHitTargets.h |
| Include | #include "BaseGizmos/GizmoElementHitTargets.h" |
Syntax
class UGizmoElementHitTarget :
public UObject,
public IGizmoClickTarget
Remarks
UGizmoElementHitTarget is an IGizmoClickTarget implementation that hit-tests any object derived from UGizmoElementBase This hit target should be used for hitting a whole gizmo element hierarchy. Use UGizmoElementHitMultiTarget, for hit targets that support hitting parts within a gizmo element hierarchy.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TFunction< bool(const FInputDeviceRay &)> | Condition | If set, this condition is checked before performing the hit test. | |
| TObjectPtr< UGizmoElementBase > | GizmoElement | Gizmo element. | |
| TObjectPtr< UTransformProxy > | GizmoTransformProxy | ||
| TObjectPtr< UGizmoViewContext > | GizmoViewContext |
Functions
| Type | Name | Description | |
|---|---|---|---|
| UGizmoElementHitTarget * | Construct
(
UGizmoElementBase* InGizmoElement, |
Overridden from IGizmoClickTarget
| Type | Name | Description | |
|---|---|---|---|
| FInputRayHit | IsHit
(
const FInputDeviceRay& ClickPos |
||
| void | UpdateHoverState
(
bool bHovering |
Updates the hover state indicating whether the input device is currently hovering over the Standard gizmo. | |
| void | UpdateInteractingState
(
bool bInteracting |
Updates the interacting state indicating when interaction with the Standard gizmo is actively occurring, typically upon the input device clicking and dragging the Standard gizmo. |