Navigation
API > API/Editor > API/Editor/SequencerCore
Class responsible for handling input to multiple objects that reside at the same level in the widget hierarchy.
The sequencer track area is one such example of a single widget that delegates its input handling to multiple sources (edit tool, or time slider controller). To alleviate the complexity of handling input for such sources, where each may fight for mouse capture, this class keeps track of which handler captured the mouse and routs input accordingly.
When no mouse capture is active, handlers are called sequentially in the order they were added, until the event is handled.
| Name | FInputHandlerStack |
| Type | class |
| Header File | /Engine/Source/Editor/SequencerCore/Public/MVVM/Views/SequencerInputHandlerStack.h |
| Include Path | #include "MVVM/Views/SequencerInputHandlerStack.h" |
Syntax
class FInputHandlerStack
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FInputHandlerStack() |
MVVM/Views/SequencerInputHandlerStack.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| InputHandlerFunction | FReply(ISequencerInputHandler::*) | MVVM/Views/SequencerInputHandlerStack.h | |
| KeyInputHandlerFunction | FReply(ISequencerInputHandler::*) | MVVM/Views/SequencerInputHandlerStack.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| OnBeginCapture | FSimpleMulticastDelegate | MVVM/Views/SequencerInputHandlerStack.h | ||
| OnEndCapture | FSimpleMulticastDelegate | MVVM/Views/SequencerInputHandlerStack.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CapturedIndex | int32 | Index of the handler that currently has the mouse captured | MVVM/Views/SequencerInputHandlerStack.h | |
| Handlers | TArray< ISequencerInputHandler * > | Array o9f input handlers | MVVM/Views/SequencerInputHandlerStack.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddHandler
(
ISequencerInputHandler* Handler |
Add a handler to the stack | MVVM/Views/SequencerInputHandlerStack.h | |
int32 GetCapturedIndex() |
Get the index of the currently captured handler, or INDEX_NONE | MVVM/Views/SequencerInputHandlerStack.h | |
| MVVM/Views/SequencerInputHandlerStack.h | |||
| MVVM/Views/SequencerInputHandlerStack.h | |||
FReply HandleMouseButtonDown
(
SWidget& OwnerWidget, |
Handle a mouse down | MVVM/Views/SequencerInputHandlerStack.h | |
FReply HandleMouseButtonUp
(
SWidget& OwnerWidget, |
Handle a mouse up | MVVM/Views/SequencerInputHandlerStack.h | |
FReply HandleMouseDoubleClick
(
SWidget& OwnerWidget, |
Handle a mouse double click | MVVM/Views/SequencerInputHandlerStack.h | |
FReply HandleMouseMove
(
SWidget& OwnerWidget, |
Handle a mouse move | MVVM/Views/SequencerInputHandlerStack.h | |
FReply HandleMouseWheel
(
SWidget& OwnerWidget, |
Handle a mouse wheel | MVVM/Views/SequencerInputHandlerStack.h | |
void SetHandlerAt
(
int32 Index, |
Reset an existing entry in the stack to a new handler | MVVM/Views/SequencerInputHandlerStack.h |