Struct truck_platform::StudioConfig
source · Expand description
Configuration for studio to shoot the scene.
Fields§
§camera: Camera
camera of the scene. Default is Camera::default()
.
lights: Vec<Light>
All lights in the scene. Default is vec![Light::default()]
.
background: Color
background color. Default is Color::BLACK
.
Trait Implementations§
source§impl Clone for StudioConfig
impl Clone for StudioConfig
source§fn clone(&self) -> StudioConfig
fn clone(&self) -> StudioConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for StudioConfig
impl Debug for StudioConfig
source§impl Default for StudioConfig
impl Default for StudioConfig
source§fn default() -> StudioConfig
fn default() -> StudioConfig
Returns the “default value” for a type. Read more