UGizmoComponentHitTarget

[UGizmoComponentHitTarget](API\Runtime\InteractiveToolsFramework\BaseGizmos\UGizmoComponentHitTarget) is an [IGizmoClickTarget](API\Runtime\InteractiveToolsFramework\BaseGizmos\IGizmoClickTarget) implementation that hit-tests a [UPrimitiveComponent](API\Runtime\Engine\Components\UPrimitiveComponent)

Windows
MacOS
Linux

Inheritance Hierarchy

UObjectBase

UObjectBaseUtility

UObject

UGizmoComponentHitTarget

References

Module

InteractiveToolsFramework

Header

/Engine/Source/Runtime/Experimental/InteractiveToolsFramework/Public/BaseGizmos/HitTargets.h

Include

#include "BaseGizmos/HitTargets.h"

Syntax

class UGizmoComponentHitTarget :
    public UObject,
    public IGizmoClickTarget

Remarks

UGizmoComponentHitTarget is an IGizmoClickTarget implementation that hit-tests a UPrimitiveComponent

Variables

Name Description

Public variable

UPrimitiveCompo...

 

Component

Component->LineTraceComponent() is called to determine if the target is hit

Public variable

TFunction< void...

 

UpdateHoverFunction

This function is called to update hover state of the target

Functions

Name Description

Public function Static

UGizmoCompon...

 

Construct

(
    UPrimitiveComponent* Component,
    UObject* Outer
)

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