Short Name:
|
Derived From:
|
Fields: |
Returns a vector function that applies a linear transformation on the input coordinates.
| x * s + offset.X | result := | y * s + offset.Y | | z * s + offset.Z |
where x
, y
and z
are the noise input coordinates.
The following table lists all fields of this config type.
Field | Type | Constraint | Default | |
---|---|---|---|---|
optional
|
scale
|
number
|
1 |
|
Linear coefficient (see remarks). |
||||
optional
|
offset
|
Vec3
|
{0, 0, 0} |
|
Linear coefficient (see remarks). |