Method RandomOnSphere
- Namespace
- Gamelogic.Extensions
- Assembly
- Gamelogic.Extensions.dll
RandomOnSphere(float)
Returns a random value on the surface of a sphere with a given radius.
Vector3 RandomOnSphere(float radius)
Parameters
radius
floatThe radius.
Returns
- Vector3
Vector3.