Skip to main content

Texture2D.whiteTexture

"Read-Only"

This property is Read-Only

NameType
whiteTextureTexture2D

Description

Gets a small Texture with all white pixels.

Extra Detail

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