Trait SceneAdd
rpt
pub trait SceneAdd<T> { pub fn add(&mut self, node: T); }
Trait that allows adding an object or light to a scene
pub fn add(&mut self, node: T)
Add an object or light to the scene
impl SceneAdd<Light> for Scene
pub fn add(&mut self, light: Light)
impl SceneAdd<Object> for Scene
pub fn add(&mut self, object: Object)