Click or drag to resize
Ab4d.SharpEngine logo

InputEventsSource Class

Base class for all InputEventsSource classes that are used by the ManualInputEventsManager.
Inheritance Hierarchy

Namespace: Ab4d.SharpEngine.Utilities
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
public abstract class InputEventsSource

The InputEventsSource type exposes the following members.

Properties
 NameDescription
Public propertyCustomData Gets or sets any custom data that can be used in event handlers.
Public propertyName Gets or sets the optional name of this InputEventsSource.
Top
Methods
 NameDescription
Public methodIsMySceneNode Method that is called from InputEventsManager to check if this EventSource contains hitSceneNode
Protected methodOnBeginPointerDrag OnBeginPointerDrag
Protected methodOnEndPointerDrag OnEndPointerDrag
Protected methodOnPointerClicked OnPointerClicked
Protected methodOnPointerDoubleClicked OnPointerDoubleClicked
Protected methodOnPointerDrag OnPointerDrag
Protected methodOnPointerEntered OnPointerEntered
Protected methodOnPointerExited OnPointerExited
Protected methodOnPointerMoved OnPointerMoved
Protected methodOnPointerPressed OnPointerPressed
Protected methodOnPointerUp OnPointerUp
Protected methodOnPointerWheelChanged OnPointerWheelChanged
Top
Events
 NameDescription
Public eventBeginPointerDrag Occurs when the user begins to drag the subscribed EventSource.
Public eventEndPointerDrag Occurs when the user ends dragging the subscribed EventSource.
Public eventPointerClicked Occurs when the user clicks on the subscribed EventSource. The PressedButtons in the event args defines the clicked buttons (and not current state of buttons - click occurs when the button is pressed and then released).
Public eventPointerDoubleClicked Occurs when the user double-clicks on the subscribed EventSource. The PressedButtons in the event args defines the clicked buttons (and not current state of buttons - click occurs when the button is pressed and then released).
Public eventPointerDrag Occurs when the user is dragging the subscribed EventSource.
Public eventPointerEntered Occurs when the pointer or mouse enters the subscribed EventSource.
Public eventPointerExited Occurs when the pointer or mouse leaves the subscribed EventSource.
Public eventPointerMoved Occurs when the pointer or mouse moves on the subscribed EventSource.
Public eventPointerPressed Occurs when the pointer is over the subscribed EventSource and a pointer button is pressed.
Public eventPointerReleased Occurs when the pointer is over the subscribed EventSource and a pointer button is released.
Public eventPointerWheelChanged Occurs when the pointer wheel is used on the subscribed EventSource.
Top
See Also