UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
IMouseWheelBehaviorTarget Class Referenceabstract

#include <BehaviorTargetInterfaces.h>

+ Inheritance diagram for IMouseWheelBehaviorTarget:

Public Member Functions

virtual ~IMouseWheelBehaviorTarget ()
 
virtual FInputRayHit ShouldRespondToMouseWheel (const FInputDeviceRay &CurrentPos)=0
 
virtual void OnMouseWheelScrollUp (const FInputDeviceRay &CurrentPos)=0
 
virtual void OnMouseWheelScrollDown (const FInputDeviceRay &CurrentPos)=0
 
- Public Member Functions inherited from IModifierToggleBehaviorTarget
virtual ~IModifierToggleBehaviorTarget ()
 
virtual void OnUpdateModifierState (int ModifierID, bool bIsOn)
 
virtual void OnForceEndCapture ()
 

Detailed Description

Functions required to apply mouse wheel behavior

Constructor & Destructor Documentation

◆ ~IMouseWheelBehaviorTarget()

virtual IMouseWheelBehaviorTarget::~IMouseWheelBehaviorTarget ( )
inlinevirtual

Member Function Documentation

◆ OnMouseWheelScrollDown()

virtual void IMouseWheelBehaviorTarget::OnMouseWheelScrollDown ( const FInputDeviceRay CurrentPos)
pure virtual
Parameters
CurrentPosdevice position/ray at point where mouse wheel is engaged

◆ OnMouseWheelScrollUp()

virtual void IMouseWheelBehaviorTarget::OnMouseWheelScrollUp ( const FInputDeviceRay CurrentPos)
pure virtual
Parameters
CurrentPosdevice position/ray at point where mouse wheel is engaged

◆ ShouldRespondToMouseWheel()

virtual FInputRayHit IMouseWheelBehaviorTarget::ShouldRespondToMouseWheel ( const FInputDeviceRay CurrentPos)
pure virtual

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)

Parameters
CurrentPosdevice position/ray at point where mouse wheel is engaged
Returns
hit information at this point

The documentation for this class was generated from the following file: