VR4Medical/ICI/Library/PackageCache/com.unity.xr.interaction.toolkit@42ef3600567b/Documentation~/canvas-optimizer.md
2025-07-29 13:45:50 +03:00

15 lines
662 B
Markdown

---
uid: xri-canvas-optimizer
---
# Canvas Optimizer
Keeps track of canvases in a scene and optimizes them by removing unnecessary components in nested canvases and canvases out of view.
See [UI Setup - Canvas optimizer](ui-setup.md#canvas-optimizer) for more details.
|**Property**|**Description**|
|---|---|
| **Ray Position Ignore Angle** | How wide of an field-of-view to use when determining if a canvas is in view. |
| **Ray Facing Ignore Angle** | How much the camera and canvas rotate away from one another and still be considered facing. |
| **Ray Position Ignore Distance** | How far away a canvas can be from this camera and still receive input. |