concinnity-world 0.18.64

Authored world source, args schema, validation, and spec builders for Concinnity
Documentation
//! Asset templates: typed builders that produce one `AssetSpec` each.
//!
//! These are the reusable element constructors, expressed as data so they can be
//! consumed either as world.jsonl lines (`crate::template`, `cn add`) or
//! materialized straight into a live component (the editor HUD), without any JSON
//! string in between. Each builder sets only the fields it means to change; every
//! other field takes the asset type's serde default when the spec is materialized.

mod interaction;
mod layout;
mod scene;
mod sprite;
mod text;

pub use interaction::hit_region;
pub use layout::{panel, screen};
pub use scene::{camera, point_light, room, volumetric_fog};
pub(crate) use scene::{directional_light, environment_map_sky};
pub use sprite::sprite;
pub use text::{font, menu_label, text_input, text_label};