| InputManagerIsReleased Method (Buttons, LogicalPlayerIndex) |
Determines whether the specified button has been released by the given player.
(Not available in Silverlight.)
Namespace: DigitalRune.Game.InputAssembly: DigitalRune.Game.Input (in DigitalRune.Game.Input.dll) Version: 1.8.0.0 (1.8.0.14467)
Syntax public bool IsReleased(
Buttons button,
LogicalPlayerIndex player
)
Public Function IsReleased (
button As Buttons,
player As LogicalPlayerIndex
) As Boolean
public:
virtual bool IsReleased(
Buttons button,
LogicalPlayerIndex player
) sealed
abstract IsReleased :
button : Buttons *
player : LogicalPlayerIndex -> bool
override IsReleased :
button : Buttons *
player : LogicalPlayerIndex -> bool
Parameters
- button
- Type: Buttons
The button. - player
- Type: DigitalRune.Game.InputLogicalPlayerIndex
The LogicalPlayerIndex that identifies the player.
(Any to check the game controllers of all available
players.)
Return Value
Type:
Boolean if the specified button was previously down and has been released;
otherwise,
.
Implements
IInputServiceIsReleased(Buttons, LogicalPlayerIndex)See Also