Click or drag to resize

ControllerHelper Methods

The PlayerControllerHelper type exposes the following members.

Methods
  NameDescription
Public methodAddController(Controller, Boolean)
Public methodAddController(ControllerType, Int32, Boolean)
Public methodAddControllerT(Int32, Boolean)
Assigns a controller to this Player.
Public methodAddLastActiveControllerChangedDelegate(PlayerActiveControllerChangedDelegate)
Add a delegate to receive a callback every time the last active controller changes.
Public methodAddLastActiveControllerChangedDelegate(PlayerActiveControllerChangedDelegate, ControllerType)
Add a delegate to receive a callback every time the last active controller of a specific type changes.
Public methodClearAllControllers
Unassign all controllers from this Player.
Public methodClearControllersOfType(ControllerType)
Public methodClearControllersOfTypeT
Unassign all controllers of a specific type from this Player.
Public methodClearLastActiveControllerChangedDelegates
Remove all delegates to no longer receive any callbacks when the last active controller changes.
Public methodContainsController(Controller)
Public methodContainsController(ControllerType, Int32)
Public methodContainsControllerT(Int32)
Checks if a controller is assigned to this Player.
Public methodGetController(ControllerType, Int32)
Public methodGetControllerT(Int32)
Gets a controller of the specified type assigned to this Player.
Public methodGetControllerTemplatesTInterface
Gets a list of all Controller Templates in assigned Controllers that match the type.
Public methodGetControllerWithTag(ControllerType, String)
Public methodGetControllerWithTagT(String)
Gets a controller of the specificed type with the specified tag assigned to this Player.
Public methodGetFirstControllerWithTemplate(Guid)
Gets the first Controller of any type that implements the specified Controller Template.
Public methodGetFirstControllerWithTemplate(Type)
Gets the first Controller of any type that implements the specified Controller Template.
Public methodGetFirstControllerWithTemplateT
Gets the first Controller of any type that implements the specified Controller Template.
Public methodGetLastActiveController
Get the last controller that contributed input through the Player.
Public methodGetLastActiveController(ControllerType)
Get the last controller that contributed input through the Player.
Public methodGetLastActiveControllerT
Get the last controller that contributed input through the Player.
Public methodRemoveController(Controller)
Public methodRemoveController(ControllerType, Int32)
Public methodRemoveControllerT(Int32)
Unassigns a controller from this Player.
Public methodRemoveLastActiveControllerChangedDelegate(PlayerActiveControllerChangedDelegate)
Remove a delegate to no longer receive callbacks when the last active controller changes.
Public methodRemoveLastActiveControllerChangedDelegate(PlayerActiveControllerChangedDelegate, ControllerType)
Remove a delegate to no longer receive callbacks when the last active controller of a specific type changes.
Top
See Also