Documentation

Unity Engine

Unity Engine

texture

This is a Texture2D generated by TextureGenerator.GenerateTexture based on the colorBuffer argument passed to that function. If the generator is configured to generate a non-2D texture (cubemap, 3D,...), this member will always be null. To get the result for an arbitrary texture type, please use
Read time 1 minuteLast updated 6 hours ago

Definition

public Texture2D texture { get; }