nightshade 0.55.0

A cross-platform data-oriented game engine.
Documentation
1
2
3
4
5
6
//! Camera-related resources.

/// The entity whose camera drives the primary view each frame. `None` renders
/// no scene camera.
#[derive(Default)]
pub struct ActiveCamera(pub Option<crate::ecs::world::Entity>);