| IInputServiceSetLogicalPlayer Method |
Assigns a game controller to a 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 void SetLogicalPlayer(
LogicalPlayerIndex player,
Nullable<PlayerIndex> controller
)
Sub SetLogicalPlayer (
player As LogicalPlayerIndex,
controller As Nullable(Of PlayerIndex)
)
void SetLogicalPlayer(
LogicalPlayerIndex player,
Nullable<PlayerIndex> controller
)
abstract SetLogicalPlayer :
player : LogicalPlayerIndex *
controller : Nullable<PlayerIndex> -> unit
Parameters
- player
- Type: DigitalRune.Game.InputLogicalPlayerIndex
The LogicalPlayerIndex that identifies the player.
- controller
- Type: SystemNullablePlayerIndex
The PlayerIndex that identifies the game controller. (Can be
to remove the current assignment.)
Exceptions See Also