Background

struct in UnityEngine.UIElements

Cambiar al Manual

Descripción

Describes a VisualElement background.

Variables

textureThe texture to display as a background. You cannot set this and Background.vectorImage at the same time.
vectorImageThe VectorImage to display as a background. You cannot set this and Background.texture at the same time.

Funciones Estáticas

FromTexture2DCreates a background from a Texture2D.
FromVectorImageCreates a background from a VectorImage.