Class SamplerState
Encapsulates the random state that all samplers mutate when generating random values
Inherited Members
Namespace: UnityEngine.Perception.Randomization.Samplers
Assembly: solution.dll
Syntax
public static class SamplerState
Fields
Name | Description |
---|---|
randomState | The central random state that all samplers mutate when generating random numbers |
Methods
Name | Description |
---|---|
CreateGenerator() | Creates a random number generator seeded with a unique random state |
NextRandomState() | Generates a new random state and overwrites the old random state with the newly generated value |