Click or drag to resize

LightningGenerator Methods

The LightningGenerator type exposes the following members.

Methods
  NameDescription
Public methodCreateFork
Create a fork in a lightning bolt
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/standard lightning bolt
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodOnGenerateLightningBolt
Fires when a lightning bolt needs to be generated
Public methodRandomDirection2D
Get random 2D direction in XY plane
Public methodRandomDirection2DXZ
Get random 2D direction in XZ plane
Public methodRandomDirection3D
Get a random 3D direction
Public methodRandomVector
Generate a random vector
Public methodShouldCreateFork
Determines if a fork should be created
Public methodToString (Inherited from Object.)
Top
See Also