Interactivity / InputProcessor
InputProcessor Class
Section titled “InputProcessor Class”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
Constructors
Section titled “Constructors”InputProcessor()
Section titled “InputProcessor()”public InputProcessor();
Properties
Section titled “Properties”RequiresInputCapture
Section titled “RequiresInputCapture”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
Methods
Section titled “Methods”AddHandler(IInputHandler)
Section titled “AddHandler(IInputHandler)”Adds an input handler to the processor.
public void AddHandler(IInputHandler handler);
Parameters
handler
IInputHandler: The input handler to add.
Clear()
Section titled “Clear()”Clears all registered handlers.
public void Clear();
ProcessEvent(InputEventArgs)
Section titled “ProcessEvent(InputEventArgs)”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.
RemoveHandlers()
Section titled “RemoveHandlers()”public void RemoveHandlers<T>();