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

Static Public Member Functions

static string GenerateAsteroidName ()
 
static string GenerateCometName (System.Random generator=null)
 Create the name of the comet from the names already stored for the crew and adding a number at the end. More...
 
static ProtoVessel SpawnAsteroid (string asteroidName, Orbit o, uint seed, UntrackedObjectClass objClass, double lifeTime, double lifeTimeMax)
 
static ProtoVessel SpawnComet (string cometName, Orbit o, CometDefinition cometDef, uint seed, UntrackedObjectClass objClass, double lifeTime, double lifeTimeMax, bool optimizedCollider, float fragmentDynamicPressureModifier)
 Create comet More...
 

Member Function Documentation

static string DiscoverableObjectsUtil.GenerateAsteroidName ( )
inlinestatic
static string DiscoverableObjectsUtil.GenerateCometName ( System.Random  generator = null)
inlinestatic

Create the name of the comet from the names already stored for the crew and adding a number at the end.

static ProtoVessel DiscoverableObjectsUtil.SpawnAsteroid ( string  asteroidName,
Orbit  o,
uint  seed,
UntrackedObjectClass  objClass,
double  lifeTime,
double  lifeTimeMax 
)
inlinestatic
static ProtoVessel DiscoverableObjectsUtil.SpawnComet ( string  cometName,
Orbit  o,
CometDefinition  cometDef,
uint  seed,
UntrackedObjectClass  objClass,
double  lifeTime,
double  lifeTimeMax,
bool  optimizedCollider,
float  fragmentDynamicPressureModifier 
)
inlinestatic

Create comet


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