LightningBoltParameters Fields |
The LightningBoltParameters type exposes the following members.
Name | Description | |
---|---|---|
ChaosFactor |
How chaotic is the main trunk of lightning? (0 - 1). Higher numbers create more chaotic lightning.
| |
ChaosFactorForks |
How chaotic are the forks of the lightning? (0 - 1). Higher numbers create more chaotic lightning.
| |
Color |
Tint color for the lightning, this is applied to both the lightning and the glow. Unlike the script properties for coloring which
are applied per material, this is applied at the mesh level and as such different bolts on the same script can use different color values.
| |
CustomTransform |
Custom transform action, null if none
| |
Delay |
Minimum delay
| |
DelayRange |
How long to wait in seconds before starting additional lightning bolts
| |
End |
End of the bolt
| |
EndVariance |
X, Y and Z radius variance from End
| |
EndWidthMultiplier |
The ending width of a segment of lightning
| |
FadeFullyLitMultiplier |
Modify the fully lit time for FadePercent (0 - 1)
| |
FadeInMultiplier |
Modify the fade in time for FadePercent (0 - 1)
| |
FadeOutMultiplier |
Modify the fade out time for FadePercent (0 - 1)
| |
FadePercent |
The percent of time the lightning should fade in and out (0 - 1). Example: 0.2 would fade in for 20% of the lifetime and fade out for 20% of the lifetime. Set to 0 for no fade.
| |
Forkedness |
How forked the lightning should be, 0 for none, 1 for LOTS of forks
| |
ForkEndWidthMultiplier |
Forks will have their end widths multiplied by this value
| |
ForkLengthMultiplier |
Minimum distance multiplier for forks
| |
ForkLengthVariance |
Variance of the fork distance (random range of 0 to n is added to ForkLengthMultiplier)
| |
GenerationWhereForksStopSubtractor |
This is subtracted from the initial generations value, and any generation below that cannot have a fork
| |
Generator |
Generator to create the lightning bolt from the parameters
| |
GlowIntensity |
Intensity of the glow
| |
GlowWidthMultiplier |
Glow width multiplier
| |
Intensity |
Intensity of the lightning
| |
LifeTime |
How long the bolt should live in seconds
| |
LightParameters |
Light parameters, null for none
| |
QualityMaximums |
Contains quality settings for different quality levels. By default, this assumes 6 quality levels, so if you have your own
custom quality setting levels, you may want to clear this dictionary out and re-populate it with your own limits
| |
Scale |
Scale all scalar parameters by this value (i.e. trunk width, turbulence, turbulence velocity)
| |
SmoothingFactor |
The amount of smoothing applied. For example, if there were 4 original points and smoothing / spline created 32 points, this value would be 8 - not all generators support this
| |
Start |
Start of the bolt
| |
StartVariance |
X, Y and Z radius variance from Start
| |
TrunkWidth |
The width of the trunk
|