| InputManagerGetLogicalPlayer 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 public Nullable<PlayerIndex> GetLogicalPlayer(
LogicalPlayerIndex player
)
Public Function GetLogicalPlayer (
player As LogicalPlayerIndex
) As Nullable(Of PlayerIndex)
public:
virtual Nullable<PlayerIndex> GetLogicalPlayer(
LogicalPlayerIndex player
) sealed
abstract GetLogicalPlayer :
player : LogicalPlayerIndex -> Nullable<PlayerIndex>
override 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.
Implements
IInputServiceGetLogicalPlayer(LogicalPlayerIndex)Remarks See Also