Click or drag to resize
Ab4d.SharpEngine logo

InputEventsManager Class

InputEventsManager is an Avalonia specific implementation of a generic ManualInputEventsManager. This class simplifies working with pointer and mouse events on 3D objects for AvaloniaUI.
Inheritance Hierarchy
SystemObject
  Ab4d.SharpEngine.UtilitiesManualInputEventsManager
    Ab4d.SharpEngine.AvaloniaUIInputEventsManager

Namespace: Ab4d.SharpEngine.AvaloniaUI
Assembly: Ab4d.SharpEngine.AvaloniaUI (in Ab4d.SharpEngine.AvaloniaUI.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
public class InputEventsManager : ManualInputEventsManager, 
	IDisposable

The InputEventsManager type exposes the following members.

Constructors
 NameDescription
Public methodInputEventsManager(ISharpEngineSceneView, IInputElement) Constructor that takes SharpEngineSceneView and an optional IInputElement as events source. If later is not specified, then SharpEngineSceneView is used as events source.
Public methodInputEventsManager(SceneView, IInputElement) Constructor that takes SceneView and eventsSourceElement
Top
Properties
 NameDescription
Public propertyEventsSourceElement Gets the IInputElement that is used to subscribe the mouse events (for example a Border that is a parent of a SharpEngineSceneView). If the property is not set in the constructor, SharpEngineSceneView element is used as event source (if not null).
Public propertySharpEngineSceneView Gets the SharpEngineSceneView that is used by this InputEventsManager. This can be null when InputEventsManager is created by SceneView and not SharpEngineSceneView.
Top
Methods
 NameDescription
Public methodDispose Dispose method unsubscribed this InputEventsManager from all events on the EventsSourceElement.
Top
See Also