Click or drag to resize

LightningGeneratorPath Methods

The LightningGeneratorPath type exposes the following members.

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
See Also