Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework > API/Runtime/InteractiveToolsFramework/BaseGizmos
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UGizmoLambdaHitTarget
References
| Module | InteractiveToolsFramework |
| Header | /Engine/Source/Runtime/InteractiveToolsFramework/Public/BaseGizmos/HitTargets.h |
| Include | #include "BaseGizmos/HitTargets.h" |
Syntax
class UGizmoLambdaHitTarget :
public UObject,
public IGizmoClickTarget
Remarks
UGizmoLambdaHitTarget is an IGizmoClickTarget implementation that forwards the hit-test function to a TFunction
Variables
| Type | Name | Description | |
|---|---|---|---|
| TUniqueFunction< FInputRayHit(const FInputDeviceRay &)> | IsHitFunction | This function is called to determine if target is hit | |
| TFunction< void(bool)> | UpdateHoverFunction | This function is called to update hover state of the target | |
| TFunction< void(bool)> | UpdateInteractingFunction | This function is called to update interacting state of the target |
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. |