Input

Description

Name

class Tinman.Noise.Vector.Input

Derived from

Noise.Vector

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.

Fields / Optional

scale

Type

number

Default

1

Linear coefficient (see remarks).


offset

Type

Vec3

Default

{Vec3: 0, 0, 0}

Linear coefficient (see remarks).