Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


blackTexture

Gets a small Texture with all black pixels.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public static Texture2D blackTexture { get; }

Remarks

Unity sets all pixels of this Texture to transparent black (0,0,0,0).