Luanti 5.19.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.

Referenced by copyCommon().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Function Documentation

◆ copyCommon()

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

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

Referenced by ParticleSpawner::spawnParticle().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ animation

◆ collision_removal

◆ collisiondetection

◆ glow

◆ node

◆ node_tile

◆ object_collision

◆ texture

◆ vertical


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