Options
All
  • Public
  • Public/Protected
  • All
Menu

Object returned by TextureWorker.createPaintedTexture used to describe and create a texture made from another texture with a specific color applied to it, and write it to the storage.

since

3.0

Hierarchy

  • PaintedTextureBuilder

Index

Methods

  • Specifies the RGB(A?) color the texture will be painted in.

    since

    3.0

    Parameters

    • r: number
    • g: number
    • b: number
    • Optional a: number

    Returns PaintedTextureBuilder

    reference to itself to be used in sequential calls

  • Specifies the path to the resulting texture in the storage.

    since

    3.0

    Parameters

    • path: any_string

      absolute poth to the directory, where the resulting texture will be stored

    • name: any_string

      resulting texture's name without .png

    Returns PaintedTextureBuilder

    reference to itself to be used in sequential calls

Generated using TypeDoc