threejs-worldgen
    Preparing search index...

    Function setColor

    • Sets an sRGB #rrggbb colour on a three Color (helper for GUIs).

      Parameters

      • target: Color
      • hex: string

      Returns Color