texture property

Texture2D texture

Material map texture.

Implementation

Texture2D get texture => Texture2D.fromRef(ref.texture);
void texture=(Texture2D texture)

Implementation

set texture(Texture2D texture) => ref.texture = texture.ref;