Skip to main content

concinnity_core/components/
hidden.rs

1// src/components/hidden.rs
2
3/// Runtime-only tag: this entity's draw slots are switched off by a `hide`
4/// action (VisibilityRequest). The entity keeps simulating; scene-driven
5/// visibility switches leave tagged entities dark, and a `show` request
6/// removes the tag and relights the slots. Never authored directly.
7#[derive(Debug, Clone, Copy, Default)]
8pub struct Hidden;