LightningLightParameters Fields |
The LightningLightParameters type exposes the following members.
Name | Description | |
---|---|---|
![]() | BounceIntensity |
Bounce intensity
|
![]() | CullingMask |
Only light up objects that match this layer mask
|
![]() | FadeFullyLitMultiplier | Increase the duration of light fully lit compared to the lightning fade. |
![]() | FadeInMultiplier | Increase the duration of light fade in compared to the lightning fade. |
![]() | FadeOutMultiplier | Increase the duration of light fade out compared to the lightning fade. |
![]() | LightColor |
Color of light
|
![]() | LightIntensity |
Light intensity
|
![]() | LightPercent |
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
|
![]() | LightPosition | Light position, zero if auto |
![]() | LightRange |
Light range
|
![]() | LightShadowPercent |
What percent of lights created should cast shadows?
|
![]() | OrthographicOffset | Offset from camera position when in orthographic mode |
![]() | RenderMode |
Light render mode
|
![]() | ShadowBias |
Shadow bias
|
![]() | ShadowNormalBias |
Shadow normal bias
|
![]() | ShadowStrength |
Shadow strength, 0 - 1. 0 means all light, 1 means all shadow
|