Function setMaterialStyle

Set Material display name colour

  • Parameters

    • material: string
    • style:
          | "black"
          | "darkBlue"
          | "darkGreen"
          | "darkAqua"
          | "darkRed"
          | "darkPurple"
          | "gold"
          | "gray"
          | "darkGray"
          | "blue"
          | "green"
          | "aqua"
          | "red"
          | "lightPurple"
          | "yellow"
          | "white"

    Returns string