Click or drag to resize

LightningGenerator Class

Generates lightning
Inheritance Hierarchy

Namespace:  DigitalRuby.WeatherMaker
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
public class LightningGenerator

The LightningGenerator type exposes the following members.

Constructors
  NameDescription
Public methodLightningGenerator
Initializes a new instance of the LightningGenerator class
Top
Methods
  NameDescription
Public methodCreateFork
Create a fork
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGenerateLightningBolt(LightningBolt, LightningBoltParameters)
Generate a lightning bolt
Public methodGenerateLightningBolt(LightningBolt, LightningBoltParameters, Vector3, Vector3)
Generate a lightning bolt
Public methodGenerateLightningBoltStandard
Generate a normal lightning bolt
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodOnGenerateLightningBolt
Callback for lightning bolt generation
Public methodRandomDirection2D
Get a random 2D direction on XY plane
Public methodRandomDirection2DXZ
Get a random 2D direction on XZ plane
Public methodRandomDirection3D
Get a random 3D direction
Public methodRandomVector
Get a random vector for a lightning bolt
Public methodShouldCreateFork
Determine if a fork should be created
Public methodToString (Inherited from Object.)
Top
Fields
  NameDescription
Public fieldStatic memberGeneratorInstance
Lightning generator singleton
Top
See Also