Skip to content

Nodify_Interactivity_InputProcessor

miroiu edited this page Dec 23, 2024 · 1 revision

InputProcessor Class

Namespace: Nodify.Interactivity

Assembly: Nodify

Inheritance: ObjectInputProcessor

Derived: InputProcessor.Shared<TElement>

References: Connector, IInputHandler, InputProcessorExtensions, ItemContainer, Minimap, NodifyEditor

Processes input events and delegates them to registered handlers.

public class InputProcessor  

Constructors

InputProcessor()

public InputProcessor();  

Properties

ProcessHandledEvents

Gets or sets a value indicating whether events that have been handled should be processed.

public bool ProcessHandledEvents { get; set; }  

Property Value

Boolean

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

Boolean

Methods

AddHandler(IInputHandler)

Adds an input handler to the processor.

public void AddHandler(IInputHandler handler);  

Parameters

handler IInputHandler: The input handler to add.

Clear()

Clears all registered handlers.

public void Clear();  

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()

public void RemoveHandlers<T>();  
Clone this wiki locally