Summary
Generates a random normalized 3D direction vector.
- Namespace
- StrideToolkit
.Mathematics - Containing Type
- RandomExtensions
Syntax
public static Vector3 NextDirection3D(this Random random)
Parameters
Name | Type | Description |
---|---|---|
random | Random | An instance of Random . |
Return Value
Type | Description |
---|---|
Vector3 |