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