Interface IMyOxygenProvider
ModAPI interface representing provider of oxygen
Namespace: VRage.Game.ModAPI
Assembly: VRage.Game.dll
Syntax
public interface IMyOxygenProvider
Methods
GetOxygenForPosition(Vector3D)
Gets oxygen for position
Declaration
float GetOxygenForPosition(Vector3D worldPoint)
Parameters
Type | Name | Description |
---|---|---|
Vector3D | worldPoint | World coordinates |
Returns
Type | Description |
---|---|
System.Single | Oxygen level |
IsPositionInRange(Vector3D)
Checks if provider can provide oxygen in that position
Declaration
bool IsPositionInRange(Vector3D worldPoint)
Parameters
Type | Name | Description |
---|---|---|
Vector3D | worldPoint | World coordinates |
Returns
Type | Description |
---|---|
System.Boolean | True if can provide oxygen in that position |