-
-
Notifications
You must be signed in to change notification settings - Fork 230
Nodify_Interactivity_InputProcessor
Namespace: Nodify.Interactivity
Assembly: Nodify
Inheritance: Object → InputProcessor
Derived: InputProcessor.Shared<TElement>
References: Connector, IInputHandler, InputProcessorExtensions, ItemContainer, Minimap, NodifyEditor
Processes input events and delegates them to registered handlers.
public class InputProcessor
public InputProcessor();
Gets or sets a value indicating whether events that have been handled should be processed.
public bool ProcessHandledEvents { get; set; }
Property Value
Gets a value indicating whether the processor has ongoing interactions that require input capture to remain active.
public virtual bool RequiresInputCapture { get; set; }
Property Value
Adds an input handler to the processor.
public void AddHandler(IInputHandler handler);
Parameters
handler
IInputHandler: The input handler to add.
Clears all registered handlers.
public void Clear();
Processes an input event and delegates it to the registered handlers.
public void ProcessEvent(InputEventArgs e);
Parameters
e
InputEventArgs: The input event arguments to process.
public void RemoveHandlers<T>();