FromRenderTexture(RenderTexture)
Creates a background from a RenderTexture.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public static Background FromRenderTexture(RenderTexture rt)
Parameters
The render texture to use as a background.
Returns
Type | Description |
|---|---|
| Background | A new background object. |