threejs-worldgen
    Preparing search index...

    Function resampleColorCurve

    • Colour keys (#rrggbb) resampled to CURVE_KEYS linear-RGB keys, with opacity keys in w.

      Parameters

      • colors: readonly string[]
      • opacity: readonly number[]
      • out: Vector4[]

      Returns Vector4[]