|
InputControlType | Control [get, protected set] |
|
override string | Name [get] |
|
override string | DeviceName [get] |
|
override InputDeviceClass? | DeviceClass [get] |
|
override InputDeviceStyle? | DeviceStyle [get] |
|
override BindingSourceType | BindingSourceType [get] |
|
abstract string | Name [get] |
| Gets a textual representation of the binding source. More...
|
|
abstract string | DeviceName [get] |
| Gets the name of the device this binding source currently represents. More...
|
|
abstract InputDeviceClass | DeviceClass [get] |
| Gets the class of device this binding source currently represents. More...
|
|
abstract InputDeviceStyle | DeviceStyle [get] |
| Gets the style of device this binding source currently represents. More...
|
|
abstract BindingSourceType | BindingSourceType [get] |
|
◆ Equals()
◆ GetState()
Read a bool value from the binding source in the context of an optional InputDevice.
- Returns
true
if the value of the binding is non-zero; otherwise false
.
- Parameters
-
inputDevice | An input device which serves as the context for this source, if applicable. Pass in null when not applicable. |
Implements BindingSource.
◆ GetValue()
Read a float value from the binding source in the context of an optional InputDevice.
- Returns
- The value, usually in the range -1..1, but not necessarily, for example, in the case of mouse movement.
- Parameters
-
inputDevice | An input device which serves as the context for this source, if applicable. Pass in null when not applicable. |
Implements BindingSource.
The documentation for this class was generated from the following file:
- Assets/InControl/Source/Binding/DeviceBindingSource.cs