LightningGenerator Class |
Namespace: DigitalRuby.ThunderAndLightning
The LightningGenerator type exposes the following members.
Name | Description | |
---|---|---|
LightningGenerator | Initializes a new instance of the LightningGenerator class |
Name | Description | |
---|---|---|
CreateFork |
Create a fork in a lightning bolt
| |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GenerateLightningBolt(LightningBolt, LightningBoltParameters) |
Generate a lightning bolt
| |
GenerateLightningBolt(LightningBolt, LightningBoltParameters, Vector3, Vector3) |
Generate a lightning bolt
| |
GenerateLightningBoltStandard |
Generate a normal/standard lightning bolt
| |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
OnGenerateLightningBolt |
Fires when a lightning bolt needs to be generated
| |
RandomDirection2D |
Get random 2D direction in XY plane
| |
RandomDirection2DXZ |
Get random 2D direction in XZ plane
| |
RandomDirection3D |
Get a random 3D direction
| |
RandomVector |
Generate a random vector
| |
ShouldCreateFork |
Determines if a fork should be created
| |
ToString | (Inherited from Object.) |
Name | Description | |
---|---|---|
GeneratorInstance |
Singleton lightning generator instance
|