Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework
UGizmoLambdaHitTarget is an IGizmoClickTarget implementation that forwards the hit-test function to a TFunction
| Name | UGizmoLambdaHitTarget |
| Type | class |
| Header File | /Engine/Source/Runtime/InteractiveToolsFramework/Public/BaseGizmos/HitTargets.h |
| Include Path | #include "BaseGizmos/HitTargets.h" |
Syntax
UCLASS (MinimalAPI)
class UGizmoLambdaHitTarget :
public UObject ,
public IGizmoClickTarget
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UGizmoLambdaHitTarget
Implements Interfaces
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| IsHitFunction | TUniqueFunction< FInputRayHit(const FInputDeviceRay &)> | This function is called to determine if target is hit | BaseGizmos/HitTargets.h | |
| UpdateHoverFunction | TFunction< void(bool)> | This function is called to update hover state of the target | BaseGizmos/HitTargets.h | |
| UpdateInteractingFunction | TFunction< void(bool)> | This function is called to update interacting state of the target | BaseGizmos/HitTargets.h | |
| UpdateSelectedFunction | TFunction< void(bool)> | This function is called to update selected state of the target | BaseGizmos/HitTargets.h | |
| UpdateSubdueFunction | TFunction< void(bool)> | This function is called to update subdued state of the target | BaseGizmos/HitTargets.h |
Functions
Public
Overridden from IGizmoClickTarget
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FInputRayHit IsHit
(
const FInputDeviceRay& ClickPos |
BaseGizmos/HitTargets.h | ||
virtual void UpdateHoverState
(
bool bHovering |
Updates the hover state indicating whether the input device is currently hovering over the Standard gizmo. | BaseGizmos/HitTargets.h | |
virtual 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. | BaseGizmos/HitTargets.h | |
virtual void UpdateSelectedState
(
bool bSelected |
Updates the selected state, indicating when the gizmo is currently selected, typically upon the input device clicking the Standard gizmo. | BaseGizmos/HitTargets.h | |
virtual void UpdateSubdueState
(
bool bSubdued |
Updates the subdued state, 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/HitTargets.h |