public static UIElements.Background FromTexture2D (Texture2D t);

Parameters

tThe texture to use as a background.

Returns

Background A new background object.

Description

Creates a background from a Texture2D.