Skip to content

Interactivity / InputProcessor

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
public InputProcessor();

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

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