Click or drag to resize

LightningLightParameters Fields

The LightningLightParameters type exposes the following members.

Fields
  NameDescription
Public fieldBounceIntensity
Bounce intensity
Public fieldCullingMask
Only light up objects that match this layer mask
Public fieldFadeFullyLitMultiplier
Increase the duration of light fully lit compared to the lightning fade.
Public fieldFadeInMultiplier
Increase the duration of light fade in compared to the lightning fade.
Public fieldFadeOutMultiplier
Increase the duration of light fade out compared to the lightning fade.
Public fieldLightColor
Color of light
Public fieldLightIntensity
Light intensity
Public fieldLightPercent
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
Public fieldLightRange
Light range
Public fieldLightShadowPercent
What percent of lights created should cast shadows?
Public fieldOrthographicOffset
Offset from camera position when in orthographic mode
Public fieldRenderMode
Light render mode
Public fieldShadowBias
Shadow bias
Public fieldShadowNormalBias
Shadow normal bias
Public fieldShadowStrength
Shadow strength, 0 - 1. 0 means all light, 1 means all shadow
Top
See Also