Options
All
  • Public
  • Public/Protected
  • All
Menu

Class NoiseOctave

Class representig noise octave. Each noise layer consists of multiple noise octaves of different scale and weight

Hierarchy

  • NoiseOctave

Index

Constructors

constructor

  • Creates a new noise octave of specified type

    Parameters

    • Optional type: number | string

      numeric type constant or one of the following strings: "perlin" (0) is a general-purpose noise generator. Used to generate noise of completely random nature "gray" (1) "chess" (2) The following sine noises are used to generate sinusoidal noise. Generally they should be used with some noise octaves of other types to avoid too mathematical landscapes "sine_x" (10) "sine_y" (11) "sine_z" (12) "sine_xy" (13) "sine_yz" (14) "sine_xz" (15) "sine_xyz" (16)

    Returns NoiseOctave

Methods

setConversion

setScale

  • setScale(x: number, y: number, z: number): NoiseOctave

setSeed

  • setSeed(x: number, y: number, z: number): NoiseOctave

setTranslate

  • setTranslate(x: number, y: number, z: number): NoiseOctave

setWeight

Generated using TypeDoc