Click or drag to resize

InputStateExt Methods

[This is preliminary documentation and is subject to change.]

Methods
  NameDescription
Public methodStatic memberCode exampleFindFirst(InputState, FuncIDevice, IVirtualAxis, Boolean)
Public methodStatic memberCode exampleFindFirst(InputState, FuncIDevice, IVirtualAxis, Boolean, InputCode)
Public methodStatic memberCode exampleFindFirst(InputState, FuncIDevice, IVirtualAxis, Boolean, IEnumerableInputCode)
Public methodStatic memberCode exampleFindFirst(InputState, IDevice, IVirtualAxis, FuncIDevice, IVirtualAxis, Boolean)
Queries all axes on all devices, and returns first for which a given predicate returns true. If you don't require a custom predicate (i.e. you just want to check IsHeld or similar), you should use simpler variants like FindFirstHeld(InputState, IDevice, IVirtualAxis).
Public methodStatic memberCode exampleFindFirst(InputState, IDevice, IVirtualAxis, FuncIDevice, IVirtualAxis, Boolean, InputCode)
Public methodStatic memberCode exampleFindFirstDown(InputState)
Public methodStatic memberCode exampleFindFirstDown(InputState, InputCode)
Overload of FindFirstDown(InputState, IDevice, IVirtualAxis) that only returns the device and limits the search to selected axes, given as params argument. Use this form if you only need the device object and you're specifying input codes manually.
Public methodStatic memberCode exampleFindFirstDown(InputState, IEnumerableInputCode)
Public methodStatic memberCode exampleFindFirstDown(InputState, IDevice, IVirtualAxis)
Queries all axes on all devices, and returns the first for which IsDown is true.
Public methodStatic memberCode exampleFindFirstDown(InputState, IDevice, IVirtualAxis, InputCode)
Overload of FindFirstDown(InputState, IDevice, IVirtualAxis) that limits the search to selected axes, given as params argument. Use this form if you're specifying input codes manually.
Public methodStatic memberCode exampleFindFirstDown(InputState, IDevice, IVirtualAxis, IEnumerableInputCode)
Public methodStatic memberCode exampleFindFirstHeld(InputState)
Public methodStatic memberCode exampleFindFirstHeld(InputState, InputCode)
Overload of FindFirstHeld(InputState, IDevice, IVirtualAxis) that only returns the device and limits the search to selected axes, given as params argument. Use this form if you only need the device object and you're specifying input codes manually.
Public methodStatic memberCode exampleFindFirstHeld(InputState, IEnumerableInputCode)
Public methodStatic memberCode exampleFindFirstHeld(InputState, IDevice, IVirtualAxis)
Queries all axes on all devices, and returns the first for which IsHeld is true.
Public methodStatic memberCode exampleFindFirstHeld(InputState, IDevice, IVirtualAxis, InputCode)
Overload of FindFirstHeld(InputState, IDevice, IVirtualAxis) that limits the search to selected axes, given as params argument. Use this form if you're specifying input codes manually.
Public methodStatic memberCode exampleFindFirstHeld(InputState, IDevice, IVirtualAxis, IEnumerableInputCode)
Public methodStatic memberCode exampleFindFirstUp(InputState)
Public methodStatic memberCode exampleFindFirstUp(InputState, InputCode)
Overload of FindFirstUp(InputState, IDevice, IVirtualAxis) that only returns the device and limits the search to selected axes, given as params argument. Use this form if you only need the device object and you're specifying input codes manually.
Public methodStatic memberCode exampleFindFirstUp(InputState, IEnumerableInputCode)
Public methodStatic memberCode exampleFindFirstUp(InputState, IDevice, IVirtualAxis)
Queries all axes on all devices, and returns the first for which IsUp is true.
Public methodStatic memberCode exampleFindFirstUp(InputState, IDevice, IVirtualAxis, InputCode)
Overload of FindFirstUp(InputState, IDevice, IVirtualAxis) that limits the search to selected axes, given as params argument. Use this form if you're specifying input codes manually.
Public methodStatic memberCode exampleFindFirstUp(InputState, IDevice, IVirtualAxis, IEnumerableInputCode)
Top
See Also