Click or drag to resize

LightningGeneratorGenerateLightningBoltStandard Method

Generate a normal lightning bolt

Namespace:  DigitalRuby.WeatherMaker
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
public void GenerateLightningBoltStandard(
	LightningBolt bolt,
	Vector3 start,
	Vector3 end,
	int generation,
	int totalGenerations,
	float offsetAmount,
	LightningBoltParameters parameters
)

Parameters

bolt
Type: DigitalRuby.WeatherMakerLightningBolt
Lightning bolt
start
Type: Vector3
Start position
end
Type: Vector3
End position
generation
Type: SystemInt32
Generation
totalGenerations
Type: SystemInt32
Total generations
offsetAmount
Type: SystemSingle
Offset amount
parameters
Type: DigitalRuby.WeatherMakerLightningBoltParameters
Parameters
See Also