InputContext Class |
Namespace: DigitalRune.Game.UI.Controls
The InputContext type exposes the following members.
Name | Description | |
---|---|---|
InputContext |
Initializes a new instance of the InputContext class.
|
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
AllowedPlayer |
Gets or sets the LogicalPlayerIndex of the player from which input is
accepted.
| |
Data |
Gets a generic collection of name/value pairs which can be used to store custom data.
| |
DeltaTime |
Gets or sets the size of the current time step.
| |
IsMouseOver |
Gets or sets a value indicating whether the mouse is over the current control.
| |
MousePosition |
Gets or sets the mouse position in local coordinates (after the
RenderTransform was undone).
| |
MousePositionDelta |
Gets or sets the mouse position change since the last frame in local coordinates (after the
RenderTransform was undone).
| |
ScreenMousePosition |
Gets or sets the absolute mouse position in screen coordinates.
| |
ScreenMousePositionDelta |
Gets or sets the mouse position change since the last frame in screen coordinates.
|