Options
All
  • Public
  • Public/Protected
  • All
Menu

Class NoiseConversion

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

Hierarchy

  • NoiseConversion

Index

Constructors

Methods

Constructors

constructor

Methods

addNode

  • 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 dencity at a given height, generally can be between -0.5 and 0.5. Values between nodes are interpolated linearly

    Returns NoiseConversion

Generated using TypeDoc