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