Click or drag to resize

LightningGeneratorGenerateLightningBoltStandard Method

Generate a normal/standard lightning bolt

Namespace:  DigitalRuby.ThunderAndLightning
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.ThunderAndLightningLightningBolt
Lightning bolt
start
Type: Vector3
Start position
end
Type: Vector3
End position
generation
Type: SystemInt32
Generation
totalGenerations
Type: SystemInt32
Max generation
offsetAmount
Type: SystemSingle
Offset amount for variance
parameters
Type: DigitalRuby.ThunderAndLightningLightningBoltParameters
Parameters
See Also