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)

Windows
MacOS
Linux

Inheritance Hierarchy

UObjectBase

UObjectBaseUtility

UObject

UGizmoLambdaHitTarget

References

Module

InteractiveToolsFramework

Header

/Engine/Source/Runtime/Experimental/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

Overridden from IGizmoClickTarget

Name Description

Public function Virtual Const

FInputRayHit

 

IsHit

(
    const FInputDeviceRay& ClickPos
)

Public function Virtual Const

void

 

UpdateHoverState

(
    bool bHovering
)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss