pub struct DiskLight {
pub id: LightId,
pub position: Vec3,
pub normal: Vec3,
pub radius: f32,
pub color: Vec3,
pub intensity: f32,
pub two_sided: bool,
pub enabled: bool,
pub tag: Option<String>,
}Expand description
Disk (circular) area light.
Fields§
§id: LightId§position: Vec3§normal: Vec3§radius: f32§color: Vec3§intensity: f32§two_sided: bool§enabled: bool§tag: Option<String>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DiskLight
impl RefUnwindSafe for DiskLight
impl Send for DiskLight
impl Sync for DiskLight
impl Unpin for DiskLight
impl UnsafeUnpin for DiskLight
impl UnwindSafe for DiskLight
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