Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

Texture2D.whiteTexture

public static Texture2D whiteTexture;

Description

Gets a small Texture with all white pixels.

Unity sets all pixels of this Texture to opaque white (1,1,1,1).