IMouseWheelBehaviorTarget::ShouldRespondToMouseWheel

The result's bHit property determines whether the mouse wheel action will be captured.

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

IMouseWheelBehaviorTarget::ShouldRespondToMouseWheel()

FUVEditor2DMouseWheelZoomBehaviorTarget::ShouldRespondToMouseWheel()

References

Module

InteractiveToolsFramework

Header

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

Include

#include "BaseBehaviors/BehaviorTargetInterfaces.h"

Syntax

FInputRayHit ShouldRespondToMouseWheel
(
    const FInputDeviceRay & CurrentPos
)

Remarks

The result's bHit property determines whether the mouse wheel action will be captured. (Perhaps the mouse wheel only does something when mousing over some part of a mesh)

Returns

hit information at this point

Parameters

Parameter

Description

CurrentPos

device position/ray at point where mouse wheel is engaged