pub struct SphereLight {
pub position: Vec3,
pub radius: f32,
}Expand description
Ein Licht als Culling-Kugel (Punktlicht: Radius = Reichweite; Spot: Hüllkugel des Kegels).
Fields§
§position: Vec3§radius: f32Implementations§
Trait Implementations§
Source§impl Clone for SphereLight
impl Clone for SphereLight
Source§fn clone(&self) -> SphereLight
fn clone(&self) -> SphereLight
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SphereLight
Source§impl Debug for SphereLight
impl Debug for SphereLight
Source§impl PartialEq for SphereLight
impl PartialEq for SphereLight
Source§fn eq(&self, other: &SphereLight) -> bool
fn eq(&self, other: &SphereLight) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SphereLight
Auto Trait Implementations§
impl Freeze for SphereLight
impl RefUnwindSafe for SphereLight
impl Send for SphereLight
impl Sync for SphereLight
impl Unpin for SphereLight
impl UnsafeUnpin for SphereLight
impl UnwindSafe for SphereLight
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