Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

Background.FromRenderTexture

Declaration

public static UIElements.Background FromRenderTexture(RenderTexture rt);

Parameters

rt The render texture to use as a background.

Returns

Background A new background object.

Description

Creates a background from a RenderTexture.