Singularity/Library/PackageCache/com.unity.ugui@1.0.0/Documentation~/class-CanvasRenderer.md
2024-05-06 11:45:45 -07:00

15 lines
737 B
Markdown

# Canvas Renderer
The **Canvas Renderer** component renders a graphical UI object contained within a [Canvas](class-Canvas.md).
![](images/UI_CanvasRendererInspector.png)
## Properties
The Canvas Renderer has no properties exposed in the inspector.
## Details
The standard UI objects available from the menu (**GameObject > Create UI**) all have Canvas Renderers attached wherever they are required but you may need to add this component manually for custom UI objects. Although there are no properties exposed in the inspector, a few properties and function can be accessed from scripts - see the [CanvasRenderer](https://docs.unity3d.com/ScriptReference/CanvasRenderer.html.md) page in the Script Reference for full details.