Function getMaterialConstructor

  • Internal

    Returns a MaterialConstructor basing on provided technique object.

    Parameters

    • technique: Technique

      Technique object which the material will be based on.

    • shadowsEnabled: boolean

      Whether the material can accept shadows, this is required for some techniques to decide which material to create.

    Returns MaterialConstructor | undefined

Generated using TypeDoc