pub struct ParticleParameter {Show 52 fields
pub scale: Vector2,
pub startcolor: Color,
pub endcolor: Color,
pub speed: f32,
pub speed2: f32,
pub angle: f32,
pub angle_variance: f32,
pub use_gravity: bool,
pub gravity: Vector2,
pub use_offset: bool,
pub offset: Vector2,
pub offset2: Vector2,
pub use_rotation: bool,
pub rotation: f32,
pub rotation2: f32,
pub rotation_add: f32,
pub rotation_add2: f32,
pub use_rotation_trans: bool,
pub rotation_factor: f32,
pub end_life_time_per: f32,
pub use_tan_accel: bool,
pub tangential_accel: f32,
pub tangential_accel2: f32,
pub use_color: bool,
pub init_color: Color,
pub init_color2: Color,
pub use_trans_color: bool,
pub trans_color: Color,
pub trans_color2: Color,
pub use_init_scale: bool,
pub scale_range: Vector2,
pub scale_factor: f32,
pub scale_factor2: f32,
pub use_trans_scale: bool,
pub transscale: Vector2,
pub scale_range2: Vector2,
pub transscale_factor: f32,
pub transscale_factor2: f32,
pub delay: f32,
pub use_p_gravity: bool,
pub gravity_pos: Vector2,
pub gravity_power: f32,
pub use_alpha_fade: bool,
pub alpha_fade: f32,
pub alpha_fade2: f32,
pub use_trans_speed: bool,
pub trans_speed: f32,
pub trans_speed2: f32,
pub use_turn_direc: bool,
pub direc_rot_add: f32,
pub user_override_r_seed: bool,
pub override_r_seed: i32,
}Fields§
§scale: Vector2§startcolor: Color§endcolor: Color§speed: f32§speed2: f32§angle: f32§angle_variance: f32§use_gravity: bool§gravity: Vector2§use_offset: bool§offset: Vector2§offset2: Vector2§use_rotation: bool§rotation: f32§rotation2: f32§rotation_add: f32§rotation_add2: f32§use_rotation_trans: bool§rotation_factor: f32§end_life_time_per: f32§use_tan_accel: bool§tangential_accel: f32§tangential_accel2: f32§use_color: bool§init_color: Color§init_color2: Color§use_trans_color: bool§trans_color: Color§trans_color2: Color§use_init_scale: bool§scale_range: Vector2§scale_factor: f32§scale_factor2: f32§use_trans_scale: bool§transscale: Vector2§scale_range2: Vector2§transscale_factor: f32§transscale_factor2: f32§delay: f32§use_p_gravity: bool§gravity_pos: Vector2§gravity_power: f32§use_alpha_fade: bool§alpha_fade: f32§alpha_fade2: f32§use_trans_speed: bool§trans_speed: f32§trans_speed2: f32§use_turn_direc: bool§direc_rot_add: f32§user_override_r_seed: bool§override_r_seed: i32Trait Implementations§
Source§impl Clone for ParticleParameter
impl Clone for ParticleParameter
Source§impl Debug for ParticleParameter
impl Debug for ParticleParameter
Source§impl Default for ParticleParameter
impl Default for ParticleParameter
Source§impl PartialEq for ParticleParameter
impl PartialEq for ParticleParameter
impl StructuralPartialEq for ParticleParameter
Auto Trait Implementations§
impl Freeze for ParticleParameter
impl RefUnwindSafe for ParticleParameter
impl Send for ParticleParameter
impl Sync for ParticleParameter
impl Unpin for ParticleParameter
impl UnsafeUnpin for ParticleParameter
impl UnwindSafe for ParticleParameter
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