LightningGeneratorRandomDirection2D Method |
Get a random 2D direction on XY plane
Namespace:
DigitalRuby.WeatherMaker
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax public Vector3 RandomDirection2D(
Random r
)
Public Function RandomDirection2D (
r As Random
) As Vector3
public:
Vector3 RandomDirection2D(
Random^ r
)
member RandomDirection2D :
r : Random -> Vector3
Parameters
- r
- Type: SystemRandom
Random
Return Value
Type:
Vector3Random unit Vector3
See Also