UGizmoLambdaHitTarget

[UGizmoLambdaHitTarget](API\Runtime\InteractiveToolsFramework\BaseGizmos\UGizmoLambdaHitTarget) is an [IGizmoClickTarget](API\Runtime\InteractiveToolsFramework\BaseGizmos\IGizmoClickTarget) implementation that forwards the hit-test function to a [TFunction](API\Runtime\Core\GenericPlatform\TFunction)

Choose your operating system:

Windows

macOS

Linux

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

Name Description

Public variable

TUniqueFunction...

 

IsHitFunction

This function is called to determine if target is hit

Public variable

TFunction< void...

 

UpdateHoverFunction

This function is called to update hover state of the target

Public variable

TFunction< void...

 

UpdateInteractingFunction

This function is called to update interacting state of the target

Overridden from IGizmoClickTarget

Name Description

Public function Virtual Const

FInputRayHit

 

IsHit

(
    const FInputDeviceRay& ClickPos
)

Public function Virtual

void

 

UpdateHoverState

(
    bool bHovering
)

Updates the hover state indicating whether the input device is currently hovering over the Standard gizmo.

Public function 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.