Class BooleanParameter
A numeric parameter for generating boolean samples
Inherited Members
Namespace: UnityEngine.Perception.Randomization.Parameters
Assembly: solution.dll
Syntax
[Serializable]
public class BooleanParameter : NumericParameter<bool>
Fields
| Name | Description |
|---|---|
| threshold | A threshold value that transforms random values within the range [0, 1] to boolean values. Values greater than the threshold are true, and values less than the threshold are false. |
| value | The sampler used as a source of random values for this parameter |
Methods
| Name | Description |
|---|---|
| Sample() | Generates a boolean sample |