Click or drag to resize

LightningGenerator Methods

The LightningGenerator type exposes the following members.

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