Class BooleanParameter
A numeric parameter for generating boolean samples
Inherited Members
Namespace: UnityEngine.Experimental.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 |
Samples(int, out JobHandle) | Schedules a job to generate an array of samples |