Luanti 5.11.0-dev
 
Loading...
Searching...
No Matches
ParticleParameters Struct Reference

#include <particles.h>

+ Inheritance diagram for ParticleParameters:
+ Collaboration diagram for ParticleParameters:

Public Member Functions

void serialize (std::ostream &os, u16 protocol_ver) const
 
void deSerialize (std::istream &is, u16 protocol_ver)
 
- Public Member Functions inherited from CommonParticleParams
 CommonParticleParams ()
 
void copyCommon (CommonParticleParams &to) const
 

Public Attributes

v3f pos
 
v3f vel
 
v3f acc
 
v3f drag
 
f32 size = 1
 
f32 expirationtime = 1
 
ParticleParamTypes::f32Range bounce
 
ParticleParamTypes::v3fRange jitter
 
- Public Attributes inherited from CommonParticleParams
bool collisiondetection = false
 
bool collision_removal = false
 
bool object_collision = false
 
bool vertical = false
 
ServerParticleTexture texture
 
struct TileAnimationParams animation
 
u8 glow = 0
 
MapNode node
 
u8 node_tile = 0
 

Member Function Documentation

◆ deSerialize()

◆ serialize()

Member Data Documentation

◆ acc

v3f ParticleParameters::acc

◆ bounce

◆ drag

v3f ParticleParameters::drag

◆ expirationtime

f32 ParticleParameters::expirationtime = 1

◆ jitter

◆ pos

v3f ParticleParameters::pos

◆ size

◆ vel

v3f ParticleParameters::vel

The documentation for this struct was generated from the following files: