Click or drag to resize

LightningLightParametersLightPercent Field

What percent of segments should have a light? Keep this pretty low for performance, i.e. 0.05 or lower depending on generations Set really really low to only have 1 light, i.e. 0.0000001f For example, at generations 5, the main trunk has 32 segments, 64 at generation 6, etc. If non-zero, there wil be at least one light in the middle

Namespace:  DigitalRuby.ThunderAndLightning
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
public float LightPercent

Field Value

Type: Single
See Also