space_ex v0.1.1 SpaceEx.SpaceCenter.Resources
Represents the collection of resources stored in a vessel, stage or part.
Created by calling SpaceEx.SpaceCenter.Vessel.get_resources/2
,
SpaceEx.SpaceCenter.Vessel.resources_in_decouple_stage/4
or
SpaceEx.SpaceCenter.Part.get_resources/2
.
Link to this section Summary
Functions
Returns the amount of a resource that is currently stored
All the individual resources that can be stored
Whether use of all the resources are enabled
A list of resource names that can be stored
Check whether the named resource can be stored
Returns the amount of a resource that can be stored
Whether use of all the resources are enabled
Returns the density of a resource, in \(kg/l\)
Returns the flow mode of a resource
All the individual resources with the given name that can be stored
Link to this section Functions
Returns the amount of a resource that is currently stored.
name
— The name of the resource.
All the individual resources that can be stored.
Whether use of all the resources are enabled.
This is true
if all of the resources are enabled.
If any of the resources are not enabled, this is false
.
A list of resource names that can be stored.
Check whether the named resource can be stored.
name
— The name of the resource.
Returns the amount of a resource that can be stored.
name
— The name of the resource.
Whether use of all the resources are enabled.
This is true
if all of the resources are enabled.
If any of the resources are not enabled, this is false
.
Returns the density of a resource, in \(kg/l\).
name
— The name of the resource.
Returns the flow mode of a resource.
name
— The name of the resource.
All the individual resources with the given name that can be stored.