IMyControl Interface |
[This is preliminary documentation and is subject to change.]
[Missing <summary> documentation for "T:VRage.ModAPI.IMyControl"]
Namespace: VRage.ModAPI
public interface IMyControl
The IMyControl type exposes the following members.
Name | Description | |
---|---|---|
![]() | GetAnalogState |
Return the analog state between 0 (not pressed at all) and 1 (fully pressed).
If a digital button is mapped to an analog control, it can return only 0 or 1.
|
![]() | GetControlButtonName | |
![]() | GetControlDescription | |
![]() | GetControlName | |
![]() | GetControlTypeEnum | |
![]() | GetGameControlEnum | |
![]() | GetKeyboardControl | |
![]() | GetMouseControl | |
![]() | GetSecondKeyboardControl | |
![]() | IsControlAssigned | |
![]() | IsJoystickPressed | |
![]() | IsNewJoystickPressed | |
![]() | IsNewJoystickReleased | |
![]() | IsNewPressed | |
![]() | IsNewReleased | |
![]() | IsPressed |