pub struct RibbonEmitter { /* private fields */ }Implementations§
Source§impl RibbonEmitter
impl RibbonEmitter
pub fn ribbon_id(&self) -> u32
pub fn set_ribbon_id(&mut self, value: u32)
pub fn bone_id(&self) -> u32
pub fn set_bone_id(&mut self, value: u32)
pub fn position(&self) -> Vector3f
pub fn set_position(&mut self, value: Vector3f)
Sourcepub fn texture_indices(&self) -> &[u16]
pub fn texture_indices(&self) -> &[u16]
Zero-copy view of the underlying std::vector.
Sourcepub fn texture_indices_mut(&mut self) -> &mut [u16]
pub fn texture_indices_mut(&mut self) -> &mut [u16]
Zero-copy mutable view. Resize first — the borrow forbids it after.
pub fn set_texture_indices(&mut self, values: &[u16])
pub fn resize_texture_indices(&mut self, count: usize)
Sourcepub fn material_indices(&self) -> &[u16]
pub fn material_indices(&self) -> &[u16]
Zero-copy view of the underlying std::vector.
Sourcepub fn material_indices_mut(&mut self) -> &mut [u16]
pub fn material_indices_mut(&mut self) -> &mut [u16]
Zero-copy mutable view. Resize first — the borrow forbids it after.
pub fn set_material_indices(&mut self, values: &[u16])
pub fn resize_material_indices(&mut self, count: usize)
Sourcepub fn color_track(&self) -> Ref<'_, AnimationTrackVector3f>
pub fn color_track(&self) -> Ref<'_, AnimationTrackVector3f>
Borrows the field in place — no copy, no allocation.
pub fn color_track_mut(&mut self) -> RefMut<'_, AnimationTrackVector3f>
Sourcepub fn alpha_track(&self) -> Ref<'_, AnimationTrackI16>
pub fn alpha_track(&self) -> Ref<'_, AnimationTrackI16>
Borrows the field in place — no copy, no allocation.
pub fn alpha_track_mut(&mut self) -> RefMut<'_, AnimationTrackI16>
Sourcepub fn height_above(&self) -> Ref<'_, AnimationTrackF32>
pub fn height_above(&self) -> Ref<'_, AnimationTrackF32>
Borrows the field in place — no copy, no allocation.
pub fn height_above_mut(&mut self) -> RefMut<'_, AnimationTrackF32>
Sourcepub fn height_below(&self) -> Ref<'_, AnimationTrackF32>
pub fn height_below(&self) -> Ref<'_, AnimationTrackF32>
Borrows the field in place — no copy, no allocation.
pub fn height_below_mut(&mut self) -> RefMut<'_, AnimationTrackF32>
pub fn edges_per_second(&self) -> f32
pub fn set_edges_per_second(&mut self, value: f32)
pub fn edge_lifetime(&self) -> f32
pub fn set_edge_lifetime(&mut self, value: f32)
pub fn gravity(&self) -> f32
pub fn set_gravity(&mut self, value: f32)
pub fn texture_rows(&self) -> u16
pub fn set_texture_rows(&mut self, value: u16)
pub fn texture_cols(&self) -> u16
pub fn set_texture_cols(&mut self, value: u16)
Sourcepub fn tex_slot(&self) -> Ref<'_, AnimationTrackU16>
pub fn tex_slot(&self) -> Ref<'_, AnimationTrackU16>
Borrows the field in place — no copy, no allocation.
pub fn tex_slot_mut(&mut self) -> RefMut<'_, AnimationTrackU16>
Sourcepub fn visibility(&self) -> Ref<'_, AnimationTrackU8>
pub fn visibility(&self) -> Ref<'_, AnimationTrackU8>
Borrows the field in place — no copy, no allocation.
pub fn visibility_mut(&mut self) -> RefMut<'_, AnimationTrackU8>
pub fn priority_plane(&self) -> i16
pub fn set_priority_plane(&mut self, value: i16)
pub fn ribbon_color_index(&self) -> i8
pub fn set_ribbon_color_index(&mut self, value: i8)
pub fn texture_transform_index(&self) -> i8
pub fn set_texture_transform_index(&mut self, value: i8)
Trait Implementations§
Source§impl Debug for RibbonEmitter
impl Debug for RibbonEmitter
Source§impl Default for RibbonEmitter
impl Default for RibbonEmitter
Source§impl Drop for RibbonEmitter
impl Drop for RibbonEmitter
impl Send for RibbonEmitter
Auto Trait Implementations§
impl !Sync for RibbonEmitter
impl Freeze for RibbonEmitter
impl RefUnwindSafe for RibbonEmitter
impl Unpin for RibbonEmitter
impl UnsafeUnpin for RibbonEmitter
impl UnwindSafe for RibbonEmitter
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