Class SamplerUtility
A set of utility functions for defining sampler interfaces
Inherited Members
Namespace: UnityEngine.Experimental.Perception.Randomization.Samplers
Assembly: solution.dll
Syntax
public static class SamplerUtility
Methods
Name | Description |
---|---|
GenerateRandomSeed() | Non-deterministically generates a non-zero random seed |
GenerateSamples<T>(T, int, out JobHandle) | Schedules a multi-threaded job to generate an array of samples |
GetSamplerDisplayName(Type) | Returns the sampler's display name |
IterateSeed(uint, uint) | Generates new a new non-zero random state by deterministically hashing a base seed with an iteration index |
TruncatedNormalSample(float, float, float, float, float) | Generates samples from a truncated normal distribution. Further reading about this distribution can be found here: https://en.wikipedia.org/wiki/Truncated_normal_distribution |