struct in UnityEngine.UIElements
/
Implemented in:UnityEngine.UIElementsModule
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
CloseFor some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
CloseDescribes a VisualElement background.
texture | The texture to display as a background. You cannot set this and Background.vectorImage at the same time. |
vectorImage | The VectorImage to display as a background. You cannot set this and Background.texture at the same time. |
FromTexture2D | Creates a background from a Texture2D. |
FromVectorImage | Creates a background from a VectorImage. |