concinnity-core 0.18.66

Runtime vocabulary for the Concinnity engine: GPU layouts, ECS components, registry, CPU kernels
Documentation
1
2
3
4
5
6
7
8
9
10
// src/components/scene_member.rs

use crate::ecs::asset_id::AssetId;

/// The `Scene` an entity belongs to, for per-scene show/hide.
///
/// Runtime-only. An entity without this component is visible in every scene.
/// Carries the scene identity a `Prop` resolves into its `scene` field.
#[derive(Debug, Clone, Copy, Default)]
pub struct SceneMember(pub AssetId);