Background.FromTexture2D

public static UIElements.Background FromTexture2D(Texture2D t);

Parameters

t The texture to use as a background.

Returns

Background A new background object.

Description

Creates a background from a Texture2D.

Did you find this page useful? Please give it a rating: