Click or drag to resize

LightningGeneratorRandomVector Method

Generate a random vector

Namespace:  DigitalRuby.ThunderAndLightning
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.ThunderAndLightningLightningBolt
Lightning bolt
start
Type: Vector3
Start position
end
Type: Vector3
End position
offsetAmount
Type: SystemSingle
Offset amount for variance
random
Type: SystemRandom
Random instance
result
Type: Vector3
Receives random vector
See Also