![]() |
Kerbal Space Program
1.12.4
|
This class controls the the welding gun FX and is a component of the welding gun prefab More...
Public Member Functions | |
| void | AdjustWeldingTransform (bool isWelding) |
| Adjusts the position and rotation of the welding gun More... | |
| void | DisableMesh (float delay=0) |
| void | EnableMesh (float delay=0) |
| void | Play () |
| Plays this set of FX More... | |
| void | Reset () |
| Resets this effect group More... | |
| void | Stop () |
| Stops playing these effects More... | |
| void | UpdateGunAiming () |
| Updates aiming for the weld gun More... | |
Public Attributes | |
| bool | Active = false |
| Are the effects in general active More... | |
| Transform | AimPivot |
| Transform used to aim the laser towards the target part More... | |
| KerbalEVA | evaController |
| The kerbal controller this weld gun is attached to More... | |
| ParticleSystem | Flare |
| Flare effect object More... | |
| bool | IsFloating = false |
| Is the Kerbal floating More... | |
| float | LaserDuration = 1.6f |
| Duration of laser FX More... | |
| bool | LaserFXActive = false |
| Are the laser effects active More... | |
| LineRenderer | LaserLine |
| Laser done with the line renderer More... | |
| float | LaserOffset = 0.035f |
| float | LightFadeInDamper = 0.5f |
| float | LightFadeOutDamper = 1f |
| bool | LightFXActive = false |
| Are the light effects active More... | |
| float | MaxIntensity = 10 |
| MeshRenderer | mesh |
| Weld gun Mesh Renderer More... | |
| Transform | RestTransform |
| float | SpaceSparksSpeed = 0.3f |
| ParticleSystem | Sparks |
| Sparks effect object More... | |
| float | StartDelay = 1.1f |
| Delay in seconds before enabling the effects More... | |
| Transform | WeldingTransform |
| Transform | WeldingTransformFl |
| Light | WeldLight |
| Point light effect More... | |
This class controls the the welding gun FX and is a component of the welding gun prefab
|
inline |
Adjusts the position and rotation of the welding gun
|
inline |
|
inline |
|
inline |
Plays this set of FX
|
inline |
Resets this effect group
|
inline |
Stops playing these effects
|
inline |
Updates aiming for the weld gun
| bool WeldFX.Active = false |
Are the effects in general active
| Transform WeldFX.AimPivot |
Transform used to aim the laser towards the target part
| KerbalEVA WeldFX.evaController |
The kerbal controller this weld gun is attached to
| ParticleSystem WeldFX.Flare |
Flare effect object
| bool WeldFX.IsFloating = false |
Is the Kerbal floating
| float WeldFX.LaserDuration = 1.6f |
Duration of laser FX
| bool WeldFX.LaserFXActive = false |
Are the laser effects active
| LineRenderer WeldFX.LaserLine |
Laser done with the line renderer
| float WeldFX.LaserOffset = 0.035f |
| float WeldFX.LightFadeInDamper = 0.5f |
| float WeldFX.LightFadeOutDamper = 1f |
| bool WeldFX.LightFXActive = false |
Are the light effects active
| float WeldFX.MaxIntensity = 10 |
| MeshRenderer WeldFX.mesh |
Weld gun Mesh Renderer
| Transform WeldFX.RestTransform |
| float WeldFX.SpaceSparksSpeed = 0.3f |
| ParticleSystem WeldFX.Sparks |
Sparks effect object
| float WeldFX.StartDelay = 1.1f |
Delay in seconds before enabling the effects
| Transform WeldFX.WeldingTransform |
| Transform WeldFX.WeldingTransformFl |
| Light WeldFX.WeldLight |
Point light effect
1.8.7