Struct ConvexConvexDistanceTest.PseudoRandomNumberGenerator
Syntax
public struct PseudoRandomNumberGenerator
Constructors
PseudoRandomNumberGenerator(UInt32)
Declaration
public PseudoRandomNumberGenerator(uint seed)
Parameters
Type |
Name |
Description |
System.UInt32 |
seed |
|
Methods
NextFloat()
Declaration
Returns
Type |
Description |
System.Single |
|
NextFloat(Single, Single)
Declaration
public float NextFloat(float center, float halfExtent)
Parameters
Type |
Name |
Description |
System.Single |
center |
|
System.Single |
halfExtent |
|
Returns
Type |
Description |
System.Single |
|
NextFloat2(Single, Single)
Declaration
public float2 NextFloat2(float center = 0F, float halfExtent = 1F)
Parameters
Type |
Name |
Description |
System.Single |
center |
|
System.Single |
halfExtent |
|
Returns
NextFloat3(Single, Single)
Declaration
public float3 NextFloat3(float center = 0F, float halfExtent = 1F)
Parameters
Type |
Name |
Description |
System.Single |
center |
|
System.Single |
halfExtent |
|
Returns
NextFloat4(Single, Single)
Declaration
public float4 NextFloat4(float center = 0F, float halfExtent = 1F)
Parameters
Type |
Name |
Description |
System.Single |
center |
|
System.Single |
halfExtent |
|
Returns
NextUInt32()
Declaration
Returns
Type |
Description |
System.UInt32 |
|