Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


redTexture

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

Definition

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

Remarks

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