Click or drag to resize

LightningLightParameters Class

Light parameters
Inheritance Hierarchy
SystemObject
  DigitalRuby.WeatherMakerLightningLightParameters

Namespace:  DigitalRuby.WeatherMaker
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
[SerializableAttribute]
public class LightningLightParameters

The LightningLightParameters type exposes the following members.

Constructors
  NameDescription
Public methodLightningLightParameters
Initializes a new instance of the LightningLightParameters class
Top
Properties
  NameDescription
Public propertyHasLight
Should light be shown for these parameters?
Top
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top
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 fieldLightPosition
Light position, zero if auto
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