pub struct LightDraw {
pub kind: LightKind,
pub colour: Value,
pub intensity: Value,
pub range: Value,
pub shadows: bool,
pub fade_out: f32,
}Expand description
A light that follows the particle or the emitter.
Fields§
§kind: LightKind§colour: ValueLinear RGB, a function of the age (unrestricted).
intensity: ValueCandela, a function of the age.
range: ValueMetres at which it stops.
shadows: bool§fade_out: f32Seconds over which it fades out when its emitter ends.
Trait Implementations§
impl StructuralPartialEq for LightDraw
Auto Trait Implementations§
impl Forget for LightDraw
impl Freeze for LightDraw
impl RefUnwindSafe for LightDraw
impl Send for LightDraw
impl Sync for LightDraw
impl Unpin for LightDraw
impl UnsafeUnpin for LightDraw
impl UnwindSafe for LightDraw
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