Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework
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.
| Name | IGizmoClickMultiTarget |
| Type | class |
| Header File | /Engine/Source/Runtime/InteractiveToolsFramework/Public/BaseGizmos/GizmoInterfaces.h |
| Include Path | #include "BaseGizmos/GizmoInterfaces.h" |
Syntax
class IGizmoClickMultiTarget
Derived Classes
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FInputRayHit IsHit
(
const FInputDeviceRay& ClickPos |
BaseGizmos/GizmoInterfaces.h | ||
void UpdateHittableState
(
bool bHittable, |
Updates the hittable state of the specified gizmo part. | BaseGizmos/GizmoInterfaces.h | |
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. | BaseGizmos/GizmoInterfaces.h | |
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. | BaseGizmos/GizmoInterfaces.h | |
void UpdateSelectedState
(
bool bSelected, |
Updates the selected state of the specified gizmo part, indicating when the gizmo part is currently selected, typically upon the input device clicking the Standard gizmo. | BaseGizmos/GizmoInterfaces.h | |
void UpdateSubdueState
(
bool bSubdued, |
Updates the subdued state of the specified gizmo part, indicating when the element should have a subdued/background appearance, typically upon interacting with one of a set of gizmos representing 3 axis - the two not interacted with would be subdued. | BaseGizmos/GizmoInterfaces.h |