Table of Contents

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 float

The radius.

Returns

Vector3

Vector3.