Options
All
  • Public
  • Public/Protected
  • All
Menu

Class representing noise conversion function. Used to define "density" of the landscape at a given height. Values between nodes are interpolated linearly

Hierarchy

  • NoiseConversion

Index

Constructors

Methods

Constructors

Methods

  • Adds a new node to the noise conversion function

    Parameters

    • x: number

      value from 0 to 1 representing the height of the block in the terrain layer

    • y: number

      landscape density at a given height, generally can be between -0.5 and 0.5. Values between nodes are interpolated linearly

    Returns NoiseConversion

Generated using TypeDoc