Struct minetest_protocol::wire::types::ParticleParameters   
source · pub struct ParticleParameters {Show 18 fields
    pub pos: v3f,
    pub vel: v3f,
    pub acc: v3f,
    pub expiration_time: f32,
    pub size: f32,
    pub collision_detection: bool,
    pub texture: LongString,
    pub vertical: bool,
    pub collision_removal: bool,
    pub animation: TileAnimationParams,
    pub glow: u8,
    pub object_collision: bool,
    pub node_param0: u16,
    pub node_param2: u8,
    pub node_tile: u8,
    pub drag: v3f,
    pub jitter: RangedParameter<v3f>,
    pub bounce: RangedParameter<f32>,
}Expand description
This is the send format used by SendSpawnParticle See ParticleParameters::serialize
Fields§
§pos: v3f§vel: v3f§acc: v3f§expiration_time: f32§size: f32§collision_detection: bool§texture: LongString§vertical: bool§collision_removal: bool§animation: TileAnimationParams§glow: u8§object_collision: bool§node_param0: u16§node_param2: u8§node_tile: u8§drag: v3f§jitter: RangedParameter<v3f>§bounce: RangedParameter<f32>Trait Implementations§
source§impl Clone for ParticleParameters
 
impl Clone for ParticleParameters
source§fn clone(&self) -> ParticleParameters
 
fn clone(&self) -> ParticleParameters
Returns a copy of the value. Read more
1.0.0 · 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 ParticleParameters
 
impl Debug for ParticleParameters
source§impl Deserialize for ParticleParameters
 
impl Deserialize for ParticleParameters
fn deserialize(deser: &mut Deserializer<'_>) -> DeserializeResult<Self>
source§impl PartialEq<ParticleParameters> for ParticleParameters
 
impl PartialEq<ParticleParameters> for ParticleParameters
source§fn eq(&self, other: &ParticleParameters) -> bool
 
fn eq(&self, other: &ParticleParameters) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.