Keep the shape in the Scene as generated geometry, or move the selected object into a Canvas. Choose the destination first; add cache, rounded masking, or export after the live result is working.
Base path
Choose it when
What happens next
Base pathWorld Mesh
Choose it whenThe shape belongs in the Scene, needs generated geometry, or may use the optional 3D MeshCollider.
What happens nextKeep the created object as-is. MeshRenderer draws the mesh generated by RoundedRectangleGenerator.
Base pathCanvas Mesh UI
Choose it whenThe shape belongs in a Canvas and its generated topology, border rings, or mesh UVs matter.
What happens nextMove the selected object to Canvas Mesh UI. RectTransform controls its Canvas size and RoundedRectCanvasGraphic draws it.
Base pathCanvas SDF
Choose it whenThe shape belongs in a Canvas and needs soft edges, shadow, glow, emboss, or SDF-based masking/export.
What happens nextMove the selected object to Canvas SDF. RectTransform controls its Canvas size and RoundedRectSDFGraphic adds the soft effects.
Choose a path for VR/AR interfaces
Standalone Meta Quest 3 use has been tested with URP and OpenXR. See Compatibility and Setup for tested platforms and the optional URP/XR supplement.
In VR and AR, the distance between a user and an interface can change. Generated geometry and live Canvas SDF let you author rounded shapes without tying the artwork to a single sprite resolution.
- World Mesh: use it when the rounded shape should be scene geometry.
- Canvas SDF: use it on a world-space Canvas when the interface needs Canvas layout and effects such as glow, shadow or emboss.
- Canvas Mesh UI: use it when a world-space Canvas needs generated topology; SDF-only effects belong to the Canvas SDF path.
Inspect the nearest intended viewing distance and oblique angles. Mesh detail and antialiasing affect shape edges; text and imported textures have their own quality settings. A cached SDF result is a texture: check its resolution at the closest view, or keep the shape live where appropriate.
Rounded Rectangle supplies visual shapes. Connect pointing, selection and interaction through your project's UI and XR systems.
Inspect the world-space examples or compare live and cached output.
Choose Canvas Mesh UI when the generated mesh is part of the requirement. Choose Canvas SDF when the soft-effect controls are part of the requirement.