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
)
Public Sub RandomVector (
bolt As LightningBolt,
ByRef start As Vector3,
ByRef end As Vector3,
offsetAmount As Single,
random As Random,
<OutAttribute> ByRef result As Vector3
)
public:
void RandomVector(
LightningBolt^ bolt,
Vector3% start,
Vector3% end,
float offsetAmount,
Random^ random,
[OutAttribute] Vector3% result
)
member RandomVector :
bolt : LightningBolt *
start : Vector3 byref *
end : Vector3 byref *
offsetAmount : float32 *
random : Random *
result : Vector3 byref -> unit
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