Click or drag to resize
IMyControlGetAnalogState Method

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

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.

Namespace: VRage.ModAPI
Assembly: VRage (in VRage.dll) Version: 1.0.0.0
Syntax
C#
float GetAnalogState()

Return Value

Type: Single

[Missing <returns> documentation for "M:VRage.ModAPI.IMyControl.GetAnalogState"]

See Also