Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework > API/Runtime/InteractiveToolsFramework/BaseGizmos
Inheritance Hierarchy
- IGizmoClickMultiTarget
- UGizmoElementHitMultiTarget
References
| Module | InteractiveToolsFramework |
| Header | /Engine/Source/Runtime/InteractiveToolsFramework/Public/BaseGizmos/GizmoInterfaces.h |
| Include | #include "BaseGizmos/GizmoInterfaces.h" |
Syntax
class IGizmoClickMultiTarget
Remarks
IGizmoClickMultiTarget is an interface used to provide a ray-object hit test against a target which supports hitting parts of the target.
For a gizmo with multiple parts, the part identifier establishes a correspondence between a gizmo part and the elements representing that part within the hit target. The valid part identifiers should be defined in the gizmo. Identifier 0 is reserved for the default ID which should be assigned to elements that do not correspond to any gizmo part, such as non-hittable decorative elements.
Functions
| Type | Name | Description | |
|---|---|---|---|
| FInputRayHit | IsHit
(
const FInputDeviceRay& ClickPos |
||
| void | UpdateHittableState
(
bool bHittable, |
Updates the hittable state of the specified gizmo part. | |
| void | UpdateHoverState
(
bool bHovering, |
Updates the hover state of the specified gizmo part, indicating whether the input device is currently hovering over the Standard gizmo. | |
| void | UpdateInteractingState
(
bool bInteracting, |
Updates the interacting state of the specified gizmo part, indicating when interaction with the Standard gizmo is actively occurring, typically upon the input device clicking and dragging the Standard gizmo. |