Class CanvasBackground
A CanvasBackground is a VisualElement used as the background of a Canvas.
Implements
Inherited Members
Namespace: Unity.AppUI.UI
Assembly: solution.dll
Syntax
public class CanvasBackground : VisualElement, IEventHandler, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, IResolvedStyle
Constructors
| Name | Description |
|---|---|
| CanvasBackground() | Instantiates a CanvasBackground element. |
Fields
| Name | Description |
|---|---|
| ussClassName | The CanvasBackground main USS class name. |
Properties
| Name | Description |
|---|---|
| drawPoints | Either draw points or lines. |
| nextGridScaleFactor | The scale factor to use for the next grid. |
| offset | The offset of the grid. |
| scale | The scale factor to use for the grid. |
| spacing | The spacing between lines or points. |