pub struct SceneLight {
pub shape: LightShape,
pub position: [f32; 3],
pub direction: [f32; 3],
pub color: Color,
pub intensity: f32,
pub radius: f32,
}Expand description
A resolved scene light for the low-level renderer.
Fields§
§shape: LightShape§position: [f32; 3]§direction: [f32; 3]§color: Color§intensity: f32§radius: f32Trait Implementations§
Source§impl Clone for SceneLight
impl Clone for SceneLight
impl Copy for SceneLight
Source§impl Debug for SceneLight
impl Debug for SceneLight
Source§impl PartialEq for SceneLight
impl PartialEq for SceneLight
impl StructuralPartialEq for SceneLight
Auto Trait Implementations§
impl Freeze for SceneLight
impl RefUnwindSafe for SceneLight
impl Send for SceneLight
impl Sync for SceneLight
impl Unpin for SceneLight
impl UnsafeUnpin for SceneLight
impl UnwindSafe for SceneLight
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
Source§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.