IHoverBehaviorTarget

[IHoverBehaviorTarget](API\Runtime\InteractiveToolsFramework\BaseBehaviors\IHoverBehaviorTarget) allows Behaviors to notify Tools/etc about device event data in a generic way, without requiring that all Tools know about the concept of Hovering.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

InteractiveToolsFramework

Header

/Engine/Source/Runtime/InteractiveToolsFramework/Public/BaseBehaviors/BehaviorTargetInterfaces.h

Include

#include "BaseBehaviors/BehaviorTargetInterfaces.h"

Syntax

class IHoverBehaviorTarget : public IModifierToggleBehaviorTarget

Remarks

IHoverBehaviorTarget allows Behaviors to notify Tools/etc about device event data in a generic way, without requiring that all Tools know about the concept of Hovering.

Destructors

Name Description

Public function Virtual

~IHoverBehaviorTarget()

Functions

Name Description

Public function

FInputRayHit

 

BeginHoverSequenceHitTest

(
    const FInputDeviceRay& PressPos
)

Do hover hit-test

Public function

void

 

OnBeginHover

(
    const FInputDeviceRay& DevicePos
)

Initialize hover sequence at given position

Public function

void

 

OnEndHover()

Terminate active hover sequence

Public function

bool

 

OnUpdateHover

(
    const FInputDeviceRay& DevicePos
)

Update active hover sequence with new input position