Click or drag to resize

LightningBoltParameters Properties

The LightningBoltParameters type exposes the following members.

Properties
  NameDescription
Public propertyGenerations
Number of generations (0 for just a point light, otherwise 1 - 8). Higher generations have lightning with finer detail but more expensive to create.
Public propertyGrowthMultiplier
A value between 0 and 0.999 that determines how fast the lightning should grow over the lifetime. A value of 1 grows slowest, 0 grows instantly
Public propertyPoints
Points for the trunk to follow - not all generators support this
Public propertyRandom
Used to generate random numbers. Not thread safe.
Public propertyRandomOverride
Override Random to a different Random. This gets set back to null when the parameters go back to the cache. Great for a one time bolt that looks a certain way.
Top
See Also