occlusionHiding property
bool
get
occlusionHiding
Whether the node leaves the semantics tree while scene geometry occludes it from the camera. Defaults to false (an occluded node stays focusable), matching how a partially obscured widget behaves.
Checked with a single raycast toward the node's bounds center each semantics update, so enable it only where occlusion genuinely changes meaning (a gauge behind a hatch).
Implementation
bool get occlusionHiding => _occlusionHiding;
set
occlusionHiding
(bool value)
Implementation
set occlusionHiding(bool value) {
if (value == _occlusionHiding) return;
_occlusionHiding = value;
_bump();
}