IMyCharacterGetSuitGasFillLevel Method |
[This is preliminary documentation and is subject to change.]
Returns the amount of gas left in the suit, values will range between 0 and 1, where 0 is no gas and 1 is full gas.
Namespace: VRage.Game.ModAPIAssembly: VRage.Game (in VRage.Game.dll) Version: 1.0.0.0
Syntax float GetSuitGasFillLevel(
MyDefinitionId gasDefinitionId
)
Parameters
- gasDefinitionId
- Type: VRage.GameMyDefinitionId
Definition Id of the gas. Common example: new MyDefinitionId(typeof(MyObjectBuilder_GasProperties), "Oxygen")
Return Value
Type:
Single[Missing <returns> documentation for "M:VRage.Game.ModAPI.IMyCharacter.GetSuitGasFillLevel(VRage.Game.MyDefinitionId)"]
See Also