Class Vector2Parameter
A numeric parameter for generating Vector2 samples
Inherited Members
Namespace: UnityEngine.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 |