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
)

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback