Click or drag to resize
DigitalRuneInputContext Class
Provides information during processing of device input.
Inheritance Hierarchy
SystemObject
  DigitalRune.Game.UI.ControlsInputContext

Namespace: DigitalRune.Game.UI.Controls
Assembly: DigitalRune.Game.UI (in DigitalRune.Game.UI.dll) Version: 1.8.0.0 (1.8.0.14553)
Syntax
public class InputContext

The InputContext type exposes the following members.

Constructors
  NameDescription
Public methodInputContext
Initializes a new instance of the InputContext class.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Properties
  NameDescription
Public propertyAllowedPlayer
Gets or sets the LogicalPlayerIndex of the player from which input is accepted.
Public propertyData
Gets a generic collection of name/value pairs which can be used to store custom data.
Public propertyDeltaTime
Gets or sets the size of the current time step.
Public propertyIsMouseOver
Gets or sets a value indicating whether the mouse is over the current control.
Public propertyMousePosition
Gets or sets the mouse position in local coordinates (after the RenderTransform was undone).
Public propertyMousePositionDelta
Gets or sets the mouse position change since the last frame in local coordinates (after the RenderTransform was undone).
Public propertyScreenMousePosition
Gets or sets the absolute mouse position in screen coordinates.
Public propertyScreenMousePositionDelta
Gets or sets the mouse position change since the last frame in screen coordinates.
Top
See Also