Luanti 5.10.0-dev
 
Loading...
Searching...
No Matches
CommonParticleParams Struct Reference

#include <particles.h>

+ Inheritance diagram for CommonParticleParams:
+ Collaboration diagram for CommonParticleParams:

Public Member Functions

 CommonParticleParams ()
 
void copyCommon (CommonParticleParams &to) const
 

Public Attributes

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
 

Constructor & Destructor Documentation

◆ CommonParticleParams()

CommonParticleParams::CommonParticleParams ( )
inline

References animation, CONTENT_IGNORE, node, MapNode::setContent(), TAT_NONE, and TileAnimationParams::type.

+ Here is the call graph for this function:

Member Function Documentation

◆ copyCommon()

void CommonParticleParams::copyCommon ( CommonParticleParams & to) const
inline

References animation, collision_removal, collisiondetection, glow, node, node_tile, object_collision, texture, and vertical.

Referenced by ParticleSpawner::spawnParticle().

+ Here is the caller graph for this function:

Member Data Documentation

◆ animation

◆ collision_removal

bool CommonParticleParams::collision_removal = false

◆ collisiondetection

bool CommonParticleParams::collisiondetection = false

◆ glow

◆ node

◆ node_tile

◆ object_collision

bool CommonParticleParams::object_collision = false

◆ texture

◆ vertical

bool CommonParticleParams::vertical = false

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