| IInputServiceGetLogicalPlayer Method |
Gets the game controller assigned to the specified 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 Nullable<PlayerIndex> GetLogicalPlayer(
LogicalPlayerIndex player
)
Function GetLogicalPlayer (
player As LogicalPlayerIndex
) As Nullable(Of PlayerIndex)
Nullable<PlayerIndex> GetLogicalPlayer(
LogicalPlayerIndex player
)
abstract GetLogicalPlayer :
player : LogicalPlayerIndex -> Nullable<PlayerIndex>
Parameters
- player
- Type: DigitalRune.Game.InputLogicalPlayerIndex
The LogicalPlayerIndex that identifies the player.
Return Value
Type:
NullablePlayerIndex
The
PlayerIndex that identifies the game controller. Returns
, if no game controller is assigned to
player.
Remarks See Also