Class ColorHsvaParameter
A numeric parameter for generating color samples using HSVA samplers
Inherited Members
Namespace: UnityEngine.Perception.Randomization.Parameters
Assembly: solution.dll
Syntax
[Serializable]
public class ColorHsvaParameter : NumericParameter<Color>
Fields
| Name | Description |
|---|---|
| alpha | The sampler used for randomizing the alpha component of generated samples |
| hue | The sampler used for randomizing the hue component of generated samples |
| saturation | The sampler used for randomizing the saturation component of generated samples |
| value | The sampler used for randomizing the value component of generated samples |
Methods
| Name | Description |
|---|---|
| Sample() | Generates an RGBA color sample |
| SampleHsva() | Generates an HSVA color sample |