UClip and UPbr
UClip
UClip { enabled: bool } clips descendants.
Typical usage:
#![allow(unused)]
fn main() {
UClip { enabled: true }
}
Where Clipping Is Used
- in
interaction/pickingto reject hits outside clip bounds - in
render/systemto pass clip data intoUNodeMaterial - in text through local glyph clipping in
sync_text_label_meshesand ancestor material clipping insync_text_clipper_materials
UPbr
For 3D UI roots:
UPbrconfigures metallic, roughness, and emissive properties- the settings affect the
UNodeMaterial3dpath