Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework
| Name | UMouseWheelInputBehavior |
| Type | class |
| Header File | /Engine/Source/Runtime/InteractiveToolsFramework/Public/BaseBehaviors/MouseWheelBehavior.h |
| Include Path | #include "BaseBehaviors/MouseWheelBehavior.h" |
Syntax
UCLASS (MinimalAPI)
class UMouseWheelInputBehavior : public UAnyButtonInputBehavior
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UInputBehavior → UAnyButtonInputBehavior → UMouseWheelInputBehavior
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UMouseWheelInputBehavior() |
BaseBehaviors/MouseWheelBehavior.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ModifierCheckFunc | TFunction< bool(const FInputDeviceState &)> | WantsCapture() will only return capture request if this function returns true (or is null) | BaseBehaviors/MouseWheelBehavior.h | |
| Modifiers | FInputBehaviorModifierStates | The modifier set for this behavior | BaseBehaviors/MouseWheelBehavior.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Initialize
(
IMouseWheelBehaviorTarget* Target |
Initialize this behavior with the given Target | BaseBehaviors/MouseWheelBehavior.h |
Overridden from UInputBehavior
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FInputCaptureUpdate BeginCapture
(
const FInputDeviceState& InputState, |
Called after WantsCapture() returns a capture request that was accepted | BaseBehaviors/MouseWheelBehavior.h | |
virtual void ForceEndCapture
(
const FInputCaptureData& CaptureData |
If this is called, the Behavior has forcibly lost capture (eg due to app losing focus for example) and needs to clean up accordingly | BaseBehaviors/MouseWheelBehavior.h | |
virtual FInputCaptureUpdate UpdateCapture
(
const FInputDeviceState& InputState, |
Called for each new input event during a capture sequence. | BaseBehaviors/MouseWheelBehavior.h | |
virtual FInputCaptureRequest WantsCapture
(
const FInputDeviceState& Input |
UInputBehavior implementation. | BaseBehaviors/MouseWheelBehavior.h |