Click or drag to resize

LightningGeneratorPath Class

Generates lightning that follows a path
Inheritance Hierarchy
SystemObject
  DigitalRuby.ThunderAndLightningLightningGenerator
    DigitalRuby.ThunderAndLightningLightningGeneratorPath

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

The LightningGeneratorPath type exposes the following members.

Constructors
  NameDescription
Public methodLightningGeneratorPath
Initializes a new instance of the LightningGeneratorPath class
Top
Methods
  NameDescription
Public methodCreateFork
Create a fork in a lightning bolt
(Inherited from LightningGenerator.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGenerateLightningBolt(LightningBolt, LightningBoltParameters)
Generate a lightning bolt
(Inherited from LightningGenerator.)
Public methodGenerateLightningBolt(LightningBolt, LightningBoltParameters, Vector3, Vector3)
Generate a lightning bolt
(Inherited from LightningGenerator.)
Public methodGenerateLightningBoltPath
Generate lightning bolt path
Public methodGenerateLightningBoltStandard
Generate a normal/standard lightning bolt
(Inherited from LightningGenerator.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodOnGenerateLightningBolt
Fires when lightning bolt needs to be generated
(Overrides LightningGeneratorOnGenerateLightningBolt(LightningBolt, Vector3, Vector3, LightningBoltParameters).)
Public methodRandomDirection2D
Get random 2D direction in XY plane
(Inherited from LightningGenerator.)
Public methodRandomDirection2DXZ
Get random 2D direction in XZ plane
(Inherited from LightningGenerator.)
Public methodRandomDirection3D
Get a random 3D direction
(Inherited from LightningGenerator.)
Public methodRandomVector
Generate a random vector
(Inherited from LightningGenerator.)
Public methodShouldCreateFork
Determines if a fork should be created
(Inherited from LightningGenerator.)
Public methodToString (Inherited from Object.)
Top
Fields
  NameDescription
Public fieldStatic memberPathGeneratorInstance
Singleton path generator
Top
See Also