Summary
Generates a random point in 3D space within the specified region.
- Namespace
- StrideToolkit
.Mathematics - Containing Type
- RandomExtensions
Syntax
public static Vector3 NextPoint(this Random random, BoundingBox region)
Parameters
Name | Type | Description |
---|---|---|
random | Random | An instance of Random . |
region | BoundingBox | A 3D region in which point is generated. |
Return Value
Type | Description |
---|---|
Vector3 |