Class NumericParameter<T>
Numeric parameters use samplers to generate randomized structs
Inherited Members
Namespace: UnityEngine.Experimental.Perception.Randomization.Parameters
Assembly: solution.dll
Syntax
[Serializable]
public abstract class NumericParameter<T> : Parameter where T : struct
Type Parameters
Name | Description |
---|---|
T | The sample type of the parameter |
Properties
Name | Description |
---|---|
sampleType | The sample type of parameter |
Methods
Name | Description |
---|---|
GenericSample() | Generates a generic sample |
Sample() | Generates one parameter sample |
Samples(int, out JobHandle) | Schedules a job to generate an array of parameter samples. Call Complete() on the JobHandle returned by this function to wait on the job generating the parameter samples. |
Validate() | Validate the settings of this parameter |