Class ThrottleParticleSystemData
- Namespace
- KSP.VFX
- Assembly
- Assembly-CSharp.dll
public class ThrottleParticleSystemData : KerbalMonoBehaviour, IEngineFXData
- Inheritance
-
ThrottleParticleSystemData
- Implements
-
- Inherited Members
-
- Extension Methods
-
Constructors
ThrottleParticleSystemData()
public ThrottleParticleSystemData()
Fields
CurParticles
public ParticleSystem.Particle[] CurParticles
Field Value
- Particle[]
VFX
public ParticleSystem VFX
Field Value
- ParticleSystem
VFXScale
Field Value
- Vector3
XYZSizeMode
Field Value
- bool
XYZSizePressureMode
public bool XYZSizePressureMode
Field Value
- bool
alphaOverallCurve
public AnimationCurve alphaOverallCurve
Field Value
- AnimationCurve
alphaOverallMode
public bool alphaOverallMode
Field Value
- bool
alphaPressureCurve
public AnimationCurve alphaPressureCurve
Field Value
- AnimationCurve
alphaPressureMode
public bool alphaPressureMode
Field Value
- bool
controlAlpha
Field Value
- bool
controlDuration
public bool controlDuration
Field Value
- bool
controlEmissionOverDistance
public bool controlEmissionOverDistance
Field Value
- bool
controlEmissionOverTime
public bool controlEmissionOverTime
Field Value
- bool
controlLifetime
public bool controlLifetime
Field Value
- bool
controlShapeAngle
public bool controlShapeAngle
Field Value
- bool
controlSize
Field Value
- bool
controlSpeed
Field Value
- bool
currentKeyNum
Field Value
- int
durationCurve
public AnimationCurve durationCurve
Field Value
- AnimationCurve
durationCurveRange
public Rect durationCurveRange
Field Value
- Rect
durationMax
Field Value
- float
durationMin
Field Value
- float
durationType
public TRANSITIONTYPES durationType
Field Value
- TRANSITIONTYPES
emissionOverDistanceCurve
public AnimationCurve emissionOverDistanceCurve
Field Value
- AnimationCurve
emissionOverDistanceCurveRange
public Rect emissionOverDistanceCurveRange
Field Value
- Rect
emissionOverDistanceMax
public float emissionOverDistanceMax
Field Value
- float
emissionOverDistanceMin
public float emissionOverDistanceMin
Field Value
- float
emissionOverDistanceType
public TRANSITIONTYPES emissionOverDistanceType
Field Value
- TRANSITIONTYPES
emissionOverTimeCurve
public AnimationCurve emissionOverTimeCurve
Field Value
- AnimationCurve
emissionOverTimeCurveRange
public Rect emissionOverTimeCurveRange
Field Value
- Rect
emissionOverTimeMax
public float emissionOverTimeMax
Field Value
- float
emissionOverTimeMin
public float emissionOverTimeMin
Field Value
- float
emissionOverTimeType
public TRANSITIONTYPES emissionOverTimeType
Field Value
- TRANSITIONTYPES
emissionRotationThresholdMax
public float emissionRotationThresholdMax
Field Value
- float
emissionRotationThresholdMin
public float emissionRotationThresholdMin
Field Value
- float
lifetimeCurve
public AnimationCurve lifetimeCurve
Field Value
- AnimationCurve
lifetimeCurveRange
public Rect lifetimeCurveRange
Field Value
- Rect
lifetimeMax
Field Value
- float
lifetimeMin
Field Value
- float
lifetimeType
public TRANSITIONTYPES lifetimeType
Field Value
- TRANSITIONTYPES
lowerAtmoGradient
public Gradient lowerAtmoGradient
Field Value
- Gradient
maxKeyNum
Field Value
- int
oneShot
Field Value
- bool
pressureCurveRange
public Rect pressureCurveRange
Field Value
- Rect
shapeAngleMax
public float shapeAngleMax
Field Value
- float
shapeAngleMin
public float shapeAngleMin
Field Value
- float
sizeCurve
public AnimationCurve sizeCurve
Field Value
- AnimationCurve
sizeCurveRange
public Rect sizeCurveRange
Field Value
- Rect
sizeCurveX
public AnimationCurve sizeCurveX
Field Value
- AnimationCurve
sizeCurveXRange
public Rect sizeCurveXRange
Field Value
- Rect
sizeCurveY
public AnimationCurve sizeCurveY
Field Value
- AnimationCurve
sizeCurveYRange
public Rect sizeCurveYRange
Field Value
- Rect
sizeCurveZ
public AnimationCurve sizeCurveZ
Field Value
- AnimationCurve
sizeCurveZRange
public Rect sizeCurveZRange
Field Value
- Rect
sizeMax
Field Value
- float
sizeMaxXYZ
public Vector3 sizeMaxXYZ
Field Value
- Vector3
sizeMin
Field Value
- float
sizeMinXYZ
public Vector3 sizeMinXYZ
Field Value
- Vector3
sizePressureCurve
public AnimationCurve sizePressureCurve
Field Value
- AnimationCurve
sizePressureCurveX
public AnimationCurve sizePressureCurveX
Field Value
- AnimationCurve
sizePressureCurveY
public AnimationCurve sizePressureCurveY
Field Value
- AnimationCurve
sizePressureCurveZ
public AnimationCurve sizePressureCurveZ
Field Value
- AnimationCurve
sizePressureMode
public bool sizePressureMode
Field Value
- bool
sizeType
public TRANSITIONTYPES sizeType
Field Value
- TRANSITIONTYPES
sizexyzType
public TRANSITIONTYPES sizexyzType
Field Value
- TRANSITIONTYPES
speedCurve
public AnimationCurve speedCurve
Field Value
- AnimationCurve
speedCurveRange
public Rect speedCurveRange
Field Value
- Rect
speedMax
Field Value
- float
speedMin
Field Value
- float
speedType
public TRANSITIONTYPES speedType
Field Value
- TRANSITIONTYPES
upperAtmoGradient
public Gradient upperAtmoGradient
Field Value
- Gradient
Properties
TriggerUpdateVisuals
public Action<float, float, float, Vector3> TriggerUpdateVisuals { get; set; }
Property Value
- Action<float, float, float, Vector3>
Methods
IsVisible()
Returns
- bool
SetParticleDuration(float)
public void SetParticleDuration(float newDur)
Parameters
newDur float
ToggleVisibility(bool, ParticleSystemStopBehavior)
public void ToggleVisibility(bool doTurnOn, ParticleSystemStopBehavior stopBehaviour = 1)
Parameters
doTurnOn bool
stopBehaviour ParticleSystemStopBehavior
UpdateVisuals(float, float, float, Vector3)
public void UpdateVisuals(float throttleMultiplier, float pressureMultiplier, float angularVelocityMultiplier, Vector3 accelerationDir)
Parameters
throttleMultiplier float
pressureMultiplier float
angularVelocityMultiplier float
accelerationDir Vector3