grayTexture
7/14/25Less than 1 minute
Texture2D.grayTexture
"Read-Only"
This property is **Read-Only**
Name | Type |
---|---|
grayTexture | Texture2D |
Description
Gets a small Texture with all gray pixels.
Extra Detail
Unity sets all pixels of this Texture to gray (0.5,0.5,0.5,0.5). The alpha value is also 0.5 (half transparent), and the color is in sRGB color space.