BArtisan.Thrusters.Helpers.BThrusterHelperParticles Class Reference

Detailed Description
A helper made as an example to show how to connect a thrusters's throttle to a Particle System. Used to make special effects like engine flames, smoke, trails and more. For optimization purposes Deactive this component if you do not need it.
Member Data Documentation
◆ connectedThruster
BThrusterBase BArtisan.Thrusters.Helpers.BThrusterHelperParticles.connectedThruster |
Reference to the the thruster. Leave blank to auto detect in the GO or children.
◆ connectedParticleSystems
ParticleSystem [] BArtisan.Thrusters.Helpers.BThrusterHelperParticles.connectedParticleSystems |
Reference to the particle system it will control. Leave blank to auto detect in the GO and children.
◆ particlesEmitPerFrameAndThrottle
float BArtisan.Thrusters.Helpers.BThrusterHelperParticles.particlesEmitPerFrameAndThrottle = 0f |
◆ controlStarLifetime
bool BArtisan.Thrusters.Helpers.BThrusterHelperParticles.controlStarLifetime = true |
Will control startLifetime value based on the thruster throttle.
◆ startLifetimeByThrottle
AnimationCurve BArtisan.Thrusters.Helpers.BThrusterHelperParticles.startLifetimeByThrottle |
Initial value:
= new AnimationCurve(
new Keyframe[] { new Keyframe(0f, 0.2f), new Keyframe(1f, 2f) })
◆ controlStartSpeed
bool BArtisan.Thrusters.Helpers.BThrusterHelperParticles.controlStartSpeed = true |
Will control startSpeed value based on the thruster throttle.
◆ startSpeedByThrottle
AnimationCurve BArtisan.Thrusters.Helpers.BThrusterHelperParticles.startSpeedByThrottle |
Initial value:
= new AnimationCurve(
new Keyframe[] { new Keyframe(0f, 10f), new Keyframe(1f, 20f) })
◆ controlEmissionRateOverTime
bool BArtisan.Thrusters.Helpers.BThrusterHelperParticles.controlEmissionRateOverTime = true |
Will control emission RateOverTime value based on the thruster throttle.
◆ emissionRateOverTimeByThrottle
AnimationCurve BArtisan.Thrusters.Helpers.BThrusterHelperParticles.emissionRateOverTimeByThrottle |
Initial value:
= new AnimationCurve(
new Keyframe[] { new Keyframe(0f, 100f), new Keyframe(1f, 500f) })
◆ debugLog
|
inherited |
Enable to debug this component. Warning: it may result in CPU intensive debug messages (each frame).