pub struct LightS {
pub pos: [f32; 3],
pub color: [f32; 3],
pub intensity: f32,
pub radius: f32,
}Expand description
A coloured point light in world space (mirror of the engine’s Light).
Fields§
§pos: [f32; 3]§color: [f32; 3]§intensity: f32§radius: f32Trait Implementations§
Auto Trait Implementations§
impl Freeze for LightS
impl RefUnwindSafe for LightS
impl Send for LightS
impl Sync for LightS
impl Unpin for LightS
impl UnsafeUnpin for LightS
impl UnwindSafe for LightS
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more