Legacy Documentation: Version 5.1
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 var blackTexture: Texture2D;

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.