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

Public Types

enum  Mode { Mode.PressureAndSkid, Mode.PressureAndVelocity }
 

Public Member Functions

float EmitParticle (Vector3 position, Vector3 wheelVelocity, Vector3 tireVelocity, float pressureRatio, float intensityRatio, float lastParticleTime)
 

Public Attributes

Color Color1 = Color.white
 
Color Color2 = Color.gray
 
float emissionRate = 10.0f
 
float emissionShuffle = 0.0f
 
float maxLifetime = 7.0f
 
float maxVelocity = 15.0f
 
float minVelocity = 1.0f
 
Mode mode = Mode.PressureAndSkid
 
bool randomColor = false
 
float tireVelocityRatio = 0.5f
 
float wheelVelocityRatio = 0.1f
 

Member Enumeration Documentation

Enumerator
PressureAndSkid 
PressureAndVelocity 

Member Function Documentation

float VehiclePhysics.VPGroundParticleEmitter.EmitParticle ( Vector3  position,
Vector3  wheelVelocity,
Vector3  tireVelocity,
float  pressureRatio,
float  intensityRatio,
float  lastParticleTime 
)
inline

Member Data Documentation

Color VehiclePhysics.VPGroundParticleEmitter.Color1 = Color.white
Color VehiclePhysics.VPGroundParticleEmitter.Color2 = Color.gray
float VehiclePhysics.VPGroundParticleEmitter.emissionRate = 10.0f
float VehiclePhysics.VPGroundParticleEmitter.emissionShuffle = 0.0f
float VehiclePhysics.VPGroundParticleEmitter.maxLifetime = 7.0f
float VehiclePhysics.VPGroundParticleEmitter.maxVelocity = 15.0f
float VehiclePhysics.VPGroundParticleEmitter.minVelocity = 1.0f
Mode VehiclePhysics.VPGroundParticleEmitter.mode = Mode.PressureAndSkid
bool VehiclePhysics.VPGroundParticleEmitter.randomColor = false
float VehiclePhysics.VPGroundParticleEmitter.tireVelocityRatio = 0.5f
float VehiclePhysics.VPGroundParticleEmitter.wheelVelocityRatio = 0.1f

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