Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Attributes | List of all members
CometParticleController Class Reference
Inheritance diagram for CometParticleController:

Public Attributes

float calcedEmitterRadius
 Scaled Space unit size of the emitter More...
 
CometVessel comet
 Reference to the CometVessel Vessel Module. More...
 
Color emitterColor = new Color(1f, 1f, 1f, 0.2f)
 Color that will be set on the emitter to drive the particles More...
 
FloatCurve logLengthToRate
 Curve uses to return min emitter rate of the emitter based on the length of the tail (Log10 of scaled space value) More...
 
FloatCurve logLengthToSpeed
 Curve uses to return speed of the emitter based on the length of the tail (Log10 of scaled space value) More...
 
float maxEmitterLength = 4000000f
 Max Scale space length for the emmiter particles More...
 
float maxSimSpeed = 100f
 max speed we run the particles at so that we can get the growth/shrink rate, but not run em at full warp More...
 
float minSimSpeed = 0.01f
 Min speed we run the particles at so that we can get the growth/shrink rate, but not run em at full warp More...
 
float normalSpreadRatio = 0.2f
 percentage of additional random force to apply in orbit normal direction to drive spread out from the orbital plane More...
 
float retrogradeSpreadRatio = 0.4f
 percentage of additional random force to apply retrograde direction to drive spread along the orbital plane More...
 
FloatCurve speedToSpreadForce
 Curve uses to return the retrograde force on the emitter particles to simulate the comet tail More...
 
float tailWidthComaRatio = 1f
 The width of the tail object we are simulating relative to the coma's width More...
 
float tailWidthToEmitterScale = 0.6f
 How wide is the emitter relative to the tail width More...
 
float tailWidthToParticleSizeMax = 2.85f
 Max size of the particles relative to the tail width More...
 
float tailWidthToParticleSizeMin = 2.5f
 Min size of the particles relative to the tail width More...
 

Member Data Documentation

float CometParticleController.calcedEmitterRadius

Scaled Space unit size of the emitter

CometVessel CometParticleController.comet

Reference to the CometVessel Vessel Module.

Color CometParticleController.emitterColor = new Color(1f, 1f, 1f, 0.2f)

Color that will be set on the emitter to drive the particles

FloatCurve CometParticleController.logLengthToRate

Curve uses to return min emitter rate of the emitter based on the length of the tail (Log10 of scaled space value)

FloatCurve CometParticleController.logLengthToSpeed

Curve uses to return speed of the emitter based on the length of the tail (Log10 of scaled space value)

float CometParticleController.maxEmitterLength = 4000000f

Max Scale space length for the emmiter particles

float CometParticleController.maxSimSpeed = 100f

max speed we run the particles at so that we can get the growth/shrink rate, but not run em at full warp

This is the PSystems Simulation Speed at max TimeWarp - PSystem wont let this go above 100

float CometParticleController.minSimSpeed = 0.01f

Min speed we run the particles at so that we can get the growth/shrink rate, but not run em at full warp

This is the PSystems Simulation Speed at 1x Timewarp

float CometParticleController.normalSpreadRatio = 0.2f

percentage of additional random force to apply in orbit normal direction to drive spread out from the orbital plane

float CometParticleController.retrogradeSpreadRatio = 0.4f

percentage of additional random force to apply retrograde direction to drive spread along the orbital plane

FloatCurve CometParticleController.speedToSpreadForce

Curve uses to return the retrograde force on the emitter particles to simulate the comet tail

float CometParticleController.tailWidthComaRatio = 1f

The width of the tail object we are simulating relative to the coma's width

float CometParticleController.tailWidthToEmitterScale = 0.6f

How wide is the emitter relative to the tail width

float CometParticleController.tailWidthToParticleSizeMax = 2.85f

Max size of the particles relative to the tail width

float CometParticleController.tailWidthToParticleSizeMin = 2.5f

Min size of the particles relative to the tail width


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