pub struct ParticleSlot {
pub system: Option<String>,
pub node: String,
pub flags: [bool; 4],
pub fade: i64,
pub prewarm: i64,
}Expand description
One of a ParticleDescription’s systems (0x28 bytes).
Fields§
§system: Option<String>The ParticleSystem.
node: StringThe model node it sits on (empty: the model’s root).
flags: [bool; 4]Flags: the system starts when the entity is activated, and follows entity events 2 (start) and 3 (fade out).
fade: i64How long the alpha fades in and out, in microseconds.
prewarm: i64How long the system runs before it is shown, in microseconds.
Trait Implementations§
Source§impl Clone for ParticleSlot
impl Clone for ParticleSlot
Source§fn clone(&self) -> ParticleSlot
fn clone(&self) -> ParticleSlot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ParticleSlot
impl Debug for ParticleSlot
Source§impl PartialEq for ParticleSlot
impl PartialEq for ParticleSlot
impl StructuralPartialEq for ParticleSlot
Auto Trait Implementations§
impl Freeze for ParticleSlot
impl RefUnwindSafe for ParticleSlot
impl Send for ParticleSlot
impl Sync for ParticleSlot
impl Unpin for ParticleSlot
impl UnsafeUnpin for ParticleSlot
impl UnwindSafe for ParticleSlot
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