pub struct ShadowedLight {
pub light: Entity,
pub centre: [f32; 3],
pub range: f32,
}Expand description
A light the consumer chose to shadow: its centre, in the frame the source’s shadowed programs compare positions in, and its range.
Fields§
§light: Entity§centre: [f32; 3]§range: f32Trait Implementations§
Source§impl Clone for ShadowedLight
impl Clone for ShadowedLight
impl Copy for ShadowedLight
Source§impl Debug for ShadowedLight
impl Debug for ShadowedLight
Source§impl PartialEq for ShadowedLight
impl PartialEq for ShadowedLight
impl StructuralPartialEq for ShadowedLight
Auto Trait Implementations§
impl Forget for ShadowedLight
impl Freeze for ShadowedLight
impl RefUnwindSafe for ShadowedLight
impl Send for ShadowedLight
impl Sync for ShadowedLight
impl Unpin for ShadowedLight
impl UnsafeUnpin for ShadowedLight
impl UnwindSafe for ShadowedLight
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