Class Vector2Parameter
A numeric parameter for generating Vector2 samples
Inherited Members
Namespace: UnityEngine.Experimental.Perception.Randomization.Parameters
Assembly: solution.dll
Syntax
[Serializable]
public class Vector2Parameter : NumericParameter<Vector2>
Fields
Name | Description |
---|---|
x | The sampler used for randomizing the x component of generated samples |
y | The sampler used for randomizing the y component of generated samples |
Methods
Name | Description |
---|---|
Sample() | Generates a Vector2 sample |
Samples(int, out JobHandle) | Schedules a job to generate an array of samples |