Constructors

Accessors

  • get lightmap(): null | Texture
  • Returns null | Texture

  • set lightmap(tex): void
  • Parameters

    Returns void

Methods

  • Apply the lightmap to the object. This will clone the material and set the lightmap texture and scale/offset

    Returns void

  • Parameters

    • lightmapIndex: number
    • lightmapScaleOffset: Vector4
    • lightmapTexture: Texture

    Returns void

  • Parameters

    Returns void