Legacy Documentation: Version 5.2
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Texture2D.blackTexture

Switch to Manual
public static Texture2D blackTexture;

Description

Get a small texture with all black pixels.

All pixels of this texture will be opaque black (0,0,0,1).

See Also: whiteTexture.