Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Static Public Member Functions | Public Attributes | List of all members
ResourceUtilities Class Reference

Static Public Member Functions

static T DeepClone< T > (T obj)
 
static double Deg2Rad (double degrees)
 
static double GetAltitude (Vessel v)
 
static
CBAttributeMapSO.MapAttribute 
GetBiome (double lat, double lon, CelestialBody body)
 
static double GetMaxDeltaTime ()
 
static double GetValue (ConfigNode node, string name, double curVal)
 
static Color HSL2RGB (double h, double sl, double l, float alpha)
 
static List< BiomeLockDataImportBiomeLockNodeList (ConfigNode[] nodes)
 
static List< ResourceDataImportConfigNodeList (ConfigNode[] nodes)
 
static List< DepletionDataImportDepletionNodeList (ConfigNode[] nodes)
 
static List< PlanetScanDataImportPlanetScanNodeList (ConfigNode[] nodes)
 
static T LoadNodeProperties< T > (ConfigNode node)
 
static double Rad2Lat (double radians)
 
static double Rad2Lon (double radians)
 

Public Attributes

const double FLOAT_TOLERANCE = 0.000000001d
 
const double SECONDS_PER_TICK = 0.02d
 

Member Function Documentation

static T ResourceUtilities.DeepClone< T > ( obj)
inlinestatic
static double ResourceUtilities.Deg2Rad ( double  degrees)
inlinestatic
static double ResourceUtilities.GetAltitude ( Vessel  v)
inlinestatic
static CBAttributeMapSO.MapAttribute ResourceUtilities.GetBiome ( double  lat,
double  lon,
CelestialBody  body 
)
inlinestatic
static double ResourceUtilities.GetMaxDeltaTime ( )
inlinestatic
static double ResourceUtilities.GetValue ( ConfigNode  node,
string  name,
double  curVal 
)
inlinestatic
static Color ResourceUtilities.HSL2RGB ( double  h,
double  sl,
double  l,
float  alpha 
)
inlinestatic

< default to gray

static List<BiomeLockData> ResourceUtilities.ImportBiomeLockNodeList ( ConfigNode[]  nodes)
inlinestatic
static List<ResourceData> ResourceUtilities.ImportConfigNodeList ( ConfigNode[]  nodes)
inlinestatic
static List<DepletionData> ResourceUtilities.ImportDepletionNodeList ( ConfigNode[]  nodes)
inlinestatic
static List<PlanetScanData> ResourceUtilities.ImportPlanetScanNodeList ( ConfigNode[]  nodes)
inlinestatic
static T ResourceUtilities.LoadNodeProperties< T > ( ConfigNode  node)
inlinestatic
Type Constraints
T :new() 
static double ResourceUtilities.Rad2Lat ( double  radians)
inlinestatic
static double ResourceUtilities.Rad2Lon ( double  radians)
inlinestatic

Member Data Documentation

const double ResourceUtilities.FLOAT_TOLERANCE = 0.000000001d
const double ResourceUtilities.SECONDS_PER_TICK = 0.02d

The documentation for this class was generated from the following file: