Click or drag to resize

LightningGeneratorRandomVector Method

Get a random vector for a lightning bolt

Namespace:  DigitalRuby.WeatherMaker
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
public void RandomVector(
	LightningBolt bolt,
	ref Vector3 start,
	ref Vector3 end,
	float offsetAmount,
	Random random,
	out Vector3 result
)

Parameters

bolt
Type: DigitalRuby.WeatherMakerLightningBolt
Lightning bolt
start
Type: Vector3
Start position
end
Type: Vector3
End position
offsetAmount
Type: SystemSingle
Offset amount
random
Type: SystemRandom
Random
result
Type: Vector3
Result Vector3
See Also