pub struct Point {
pub map: Option<Map>,
pub blend: Blend,
pub size: Value,
pub tint: Vec<Term>,
pub alpha_cutoff: Value,
pub soft: Option<SoftEdge>,
pub distance: Option<DistanceFade>,
pub bloom: Option<[f32; 4]>,
}Expand description
A point sprite: a screen-aligned textured square.
Fields§
§map: Option<Map>§blend: Blend§size: ValueEdge in metres at the particle, a function of the age.
tint: Vec<Term>§alpha_cutoff: Value§soft: Option<SoftEdge>§distance: Option<DistanceFade>§bloom: Option<[f32; 4]>Trait Implementations§
impl StructuralPartialEq for Point
Auto Trait Implementations§
impl Forget for Point
impl Freeze for Point
impl RefUnwindSafe for Point
impl Send for Point
impl Sync for Point
impl Unpin for Point
impl UnsafeUnpin for Point
impl UnwindSafe for Point
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