If
Conditionally renders content based on condition.
When condition is false, children are removed from the scene graph entirely — they do not consume rendering resources. When condition flips from false to true, children are re-inserted and marked dirty, triggering a re-render of the affected subtree only.
Parameters
condition
When false, the content block is not rendered.
content
Composable content to conditionally include in the scene.