Class Vector4Parameter
A numeric parameter for generating Vector4 samples
Inherited Members
Namespace: UnityEngine.Perception.Randomization.Parameters
Syntax
public class Vector4Parameter : NumericParameter<Vector4>
Fields
w
The sampler used for randomizing the w component of generated samples
Declaration
public ISampler w
Field Value
Type | Description |
---|---|
ISampler |
x
The sampler used for randomizing the x component of generated samples
Declaration
public ISampler x
Field Value
Type | Description |
---|---|
ISampler |
y
The sampler used for randomizing the y component of generated samples
Declaration
public ISampler y
Field Value
Type | Description |
---|---|
ISampler |
z
The sampler used for randomizing the z component of generated samples
Declaration
public ISampler z
Field Value
Type | Description |
---|---|
ISampler |
Methods
Sample()
Generates a Vector4 sample
Declaration
public override Vector4 Sample()
Returns
Type | Description |
---|---|
Vector4 | The generated sample |
Overrides
UnityEngine.Perception.Randomization.Parameters.NumericParameter<Vector4>.Sample()