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

Class to store the details necessary to pass an instance of comet deifnition between methods More...

Public Member Functions

ConfigNode CreateVesselNode (bool optimizedCollider, float fragmentDynamicPressureModifier, bool hasName)
 Build a confignode for a new CometVessel More...
 

Public Attributes

double comaWidthRatio
 Diameter of the Coma (ratio of nucleus radius) More...
 
CometOrbitType cometType
 Ref to the CometOrbitType More...
 
double ionTailWidthRatio
 Width of the Ion Tail - at the object end of the tail (ratio of comawidth) More...
 
int numGeysers
 Number of geysers More...
 
int numNearDustEmitters
 Number of near dust emitters More...
 
float radius
 Radius of this comets nucleus More...
 
int seed
 Seed for comet generation More...
 
double tailMaxLengthRatio
 Length of the Tail (ratio of comawidth) More...
 
double tailWidthRatio
 Width of the Tail - at the object end of the tail (ratio of comawidth) More...
 
string typeName
 Name of the comet type More...
 
double vfxStartDistance
 Max distance from sun (in homebody SMA ratio) that the tail grows from 0 More...
 

Detailed Description

Class to store the details necessary to pass an instance of comet deifnition between methods

Member Function Documentation

ConfigNode CometDefinition.CreateVesselNode ( bool  optimizedCollider,
float  fragmentDynamicPressureModifier,
bool  hasName 
)
inline

Build a confignode for a new CometVessel

Parameters
definitionDefinition params for a comet
hasNameSet to true if the vessel is already named and we dont what a new comet name generated when appraching the comet
Returns
The vessels node

Member Data Documentation

double CometDefinition.comaWidthRatio

Diameter of the Coma (ratio of nucleus radius)

CometOrbitType CometDefinition.cometType

Ref to the CometOrbitType

double CometDefinition.ionTailWidthRatio

Width of the Ion Tail - at the object end of the tail (ratio of comawidth)

int CometDefinition.numGeysers

Number of geysers

int CometDefinition.numNearDustEmitters

Number of near dust emitters

float CometDefinition.radius

Radius of this comets nucleus

int CometDefinition.seed

Seed for comet generation

double CometDefinition.tailMaxLengthRatio

Length of the Tail (ratio of comawidth)

double CometDefinition.tailWidthRatio

Width of the Tail - at the object end of the tail (ratio of comawidth)

string CometDefinition.typeName

Name of the comet type

double CometDefinition.vfxStartDistance

Max distance from sun (in homebody SMA ratio) that the tail grows from 0


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