pub struct ParticleEmitter { /* private fields */ }Implementations§
Source§impl ParticleEmitter
impl ParticleEmitter
pub fn particle_id(&self) -> u32
pub fn set_particle_id(&mut self, value: u32)
pub fn flags(&self) -> ParticleFlag
pub fn set_flags(&mut self, value: ParticleFlag)
pub fn position(&self) -> Vector3f
pub fn set_position(&mut self, value: Vector3f)
pub fn bone_id(&self) -> u16
pub fn set_bone_id(&mut self, value: u16)
pub fn particle_model_filename(&self) -> String
pub fn set_particle_model_filename(&mut self, value: &str)
pub fn child_emitters_model_filename(&self) -> String
pub fn set_child_emitters_model_filename(&mut self, value: &str)
pub fn blending_type(&self) -> ParticleBlending
pub fn set_blending_type(&mut self, value: ParticleBlending)
pub fn emitter_type(&self) -> ParticleEmitterType
pub fn set_emitter_type(&mut self, value: ParticleEmitterType)
pub fn particle_color_index(&self) -> u16
pub fn set_particle_color_index(&mut self, value: u16)
pub fn texture_tilerotation(&self) -> i16
pub fn set_texture_tilerotation(&mut self, value: i16)
pub fn rows(&self) -> u16
pub fn set_rows(&mut self, value: u16)
pub fn columns(&self) -> u16
pub fn set_columns(&mut self, value: u16)
Sourcepub fn emission_speed(&self) -> Ref<'_, AnimationTrackF32>
pub fn emission_speed(&self) -> Ref<'_, AnimationTrackF32>
Borrows the field in place — no copy, no allocation.
pub fn emission_speed_mut(&mut self) -> RefMut<'_, AnimationTrackF32>
Sourcepub fn speed_variation(&self) -> Ref<'_, AnimationTrackF32>
pub fn speed_variation(&self) -> Ref<'_, AnimationTrackF32>
Borrows the field in place — no copy, no allocation.
pub fn speed_variation_mut(&mut self) -> RefMut<'_, AnimationTrackF32>
Sourcepub fn vertical_range(&self) -> Ref<'_, AnimationTrackF32>
pub fn vertical_range(&self) -> Ref<'_, AnimationTrackF32>
Borrows the field in place — no copy, no allocation.
pub fn vertical_range_mut(&mut self) -> RefMut<'_, AnimationTrackF32>
Sourcepub fn horizontal_range(&self) -> Ref<'_, AnimationTrackF32>
pub fn horizontal_range(&self) -> Ref<'_, AnimationTrackF32>
Borrows the field in place — no copy, no allocation.
pub fn horizontal_range_mut(&mut self) -> RefMut<'_, AnimationTrackF32>
Sourcepub fn gravity(&self) -> Ref<'_, AnimationTrackF32>
pub fn gravity(&self) -> Ref<'_, AnimationTrackF32>
Borrows the field in place — no copy, no allocation.
pub fn gravity_mut(&mut self) -> RefMut<'_, AnimationTrackF32>
Sourcepub fn lifespan(&self) -> Ref<'_, AnimationTrackF32>
pub fn lifespan(&self) -> Ref<'_, AnimationTrackF32>
Borrows the field in place — no copy, no allocation.
pub fn lifespan_mut(&mut self) -> RefMut<'_, AnimationTrackF32>
pub fn lifespan_variation(&self) -> f32
pub fn set_lifespan_variation(&mut self, value: f32)
Sourcepub fn emission_rate(&self) -> Ref<'_, AnimationTrackF32>
pub fn emission_rate(&self) -> Ref<'_, AnimationTrackF32>
Borrows the field in place — no copy, no allocation.
pub fn emission_rate_mut(&mut self) -> RefMut<'_, AnimationTrackF32>
pub fn emission_rate_variation(&self) -> f32
pub fn set_emission_rate_variation(&mut self, value: f32)
Sourcepub fn emission_area_width(&self) -> Ref<'_, AnimationTrackF32>
pub fn emission_area_width(&self) -> Ref<'_, AnimationTrackF32>
Borrows the field in place — no copy, no allocation.
pub fn emission_area_width_mut(&mut self) -> RefMut<'_, AnimationTrackF32>
Sourcepub fn emission_area_length(&self) -> Ref<'_, AnimationTrackF32>
pub fn emission_area_length(&self) -> Ref<'_, AnimationTrackF32>
Borrows the field in place — no copy, no allocation.
pub fn emission_area_length_mut(&mut self) -> RefMut<'_, AnimationTrackF32>
Sourcepub fn z_source(&self) -> Ref<'_, AnimationTrackF32>
pub fn z_source(&self) -> Ref<'_, AnimationTrackF32>
Borrows the field in place — no copy, no allocation.
pub fn z_source_mut(&mut self) -> RefMut<'_, AnimationTrackF32>
Sourcepub fn color_track(&self) -> Ref<'_, ParticleAnimationTrackVector3f>
pub fn color_track(&self) -> Ref<'_, ParticleAnimationTrackVector3f>
Borrows the field in place — no copy, no allocation.
pub fn color_track_mut(&mut self) -> RefMut<'_, ParticleAnimationTrackVector3f>
Sourcepub fn scale_track(&self) -> Ref<'_, ParticleAnimationTrackVector2f>
pub fn scale_track(&self) -> Ref<'_, ParticleAnimationTrackVector2f>
Borrows the field in place — no copy, no allocation.
pub fn scale_track_mut(&mut self) -> RefMut<'_, ParticleAnimationTrackVector2f>
pub fn scale_vary(&self) -> Vector2f
pub fn set_scale_vary(&mut self, value: Vector2f)
pub fn tail_length(&self) -> f32
pub fn set_tail_length(&mut self, value: f32)
pub fn twinkle_speed(&self) -> f32
pub fn set_twinkle_speed(&mut self, value: f32)
pub fn twinkle_percent(&self) -> f32
pub fn set_twinkle_percent(&mut self, value: f32)
pub fn twinkle_scale(&self) -> Vector2f
pub fn set_twinkle_scale(&mut self, value: Vector2f)
pub fn inherit_velocity_scale(&self) -> f32
pub fn set_inherit_velocity_scale(&mut self, value: f32)
pub fn drag(&self) -> f32
pub fn set_drag(&mut self, value: f32)
pub fn base_spin(&self) -> f32
pub fn set_base_spin(&mut self, value: f32)
pub fn base_spin_variation(&self) -> f32
pub fn set_base_spin_variation(&mut self, value: f32)
pub fn spin_speed(&self) -> f32
pub fn set_spin_speed(&mut self, value: f32)
pub fn spin_speed_variation(&self) -> f32
pub fn set_spin_speed_variation(&mut self, value: f32)
pub fn tumble_mut(&mut self) -> RefMut<'_, Box>
pub fn wind_vector(&self) -> Vector3f
pub fn set_wind_vector(&mut self, value: Vector3f)
pub fn wind_time(&self) -> f32
pub fn set_wind_time(&mut self, value: f32)
pub fn follow_speed_1(&self) -> f32
pub fn set_follow_speed_1(&mut self, value: f32)
pub fn follow_scale_1(&self) -> f32
pub fn set_follow_scale_1(&mut self, value: f32)
pub fn follow_speed_2(&self) -> f32
pub fn set_follow_speed_2(&mut self, value: f32)
pub fn follow_scale_2(&self) -> f32
pub fn set_follow_scale_2(&mut self, value: f32)
Sourcepub fn spline_points(&self) -> &[Vector3f]
pub fn spline_points(&self) -> &[Vector3f]
Zero-copy view of the underlying std::vector.
Sourcepub fn spline_points_mut(&mut self) -> &mut [Vector3f]
pub fn spline_points_mut(&mut self) -> &mut [Vector3f]
Zero-copy mutable view. Resize first — the borrow forbids it after.
pub fn set_spline_points(&mut self, values: &[Vector3f])
pub fn resize_spline_points(&mut self, count: usize)
Sourcepub fn enabled_in(&self) -> Ref<'_, AnimationTrackU8>
pub fn enabled_in(&self) -> Ref<'_, AnimationTrackU8>
Borrows the field in place — no copy, no allocation.