pub struct TrailModule {Show 16 fields
pub enabled: bool,
pub mode: TrailMode,
pub ratio: f32,
pub lifetime: MinMaxCurve,
pub min_vertex_distance: f32,
pub world_space: bool,
pub die_with_particles: bool,
pub texture_mode: TrailTextureMode,
pub size_affects_width: bool,
pub size_affects_lifetime: bool,
pub inherit_particle_color: bool,
pub color_over_lifetime: MinMaxGradient,
pub width_over_trail: MinMaxCurve,
pub color_over_trail: MinMaxGradient,
pub generate_lighting_data: bool,
pub shadow_bias: f32,
}Fields§
§enabled: bool§mode: TrailMode§ratio: f32§lifetime: MinMaxCurve§min_vertex_distance: f32§world_space: bool§die_with_particles: bool§texture_mode: TrailTextureMode§size_affects_width: bool§size_affects_lifetime: bool§inherit_particle_color: bool§color_over_lifetime: MinMaxGradient§width_over_trail: MinMaxCurve§color_over_trail: MinMaxGradient§generate_lighting_data: bool§shadow_bias: f32Trait Implementations§
Source§impl Clone for TrailModule
impl Clone for TrailModule
Source§impl Debug for TrailModule
impl Debug for TrailModule
Auto Trait Implementations§
impl Freeze for TrailModule
impl RefUnwindSafe for TrailModule
impl Send for TrailModule
impl Sync for TrailModule
impl Unpin for TrailModule
impl UnsafeUnpin for TrailModule
impl UnwindSafe for TrailModule
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.