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

#include <particles.h>

+ Inheritance diagram for ParticleSpawnerParameters:
+ Collaboration diagram for ParticleSpawnerParameters:

Public Attributes

u16 amount = 1
 
f32 time = 1
 
std::vector< ServerParticleTexturetexpool
 
ParticleParamTypes::v3fRangeTween pos
 
ParticleParamTypes::v3fRangeTween vel
 
ParticleParamTypes::v3fRangeTween acc
 
ParticleParamTypes::v3fRangeTween drag
 
ParticleParamTypes::v3fRangeTween radius
 
ParticleParamTypes::v3fRangeTween jitter
 
ParticleParamTypes::AttractorKind attractor_kind
 
ParticleParamTypes::v3fTween attractor_origin
 
ParticleParamTypes::v3fTween attractor_direction
 
u16 attractor_attachment = 0
 
u16 attractor_direction_attachment = 0
 
bool attractor_kill = true
 
ParticleParamTypes::f32RangeTween exptime {1.0f}
 
ParticleParamTypes::f32RangeTween size {1.0f}
 
ParticleParamTypes::f32RangeTween attract {0.0f}
 
ParticleParamTypes::f32RangeTween bounce {0.0f}
 
- 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
 

Additional Inherited Members

- Public Member Functions inherited from CommonParticleParams
 CommonParticleParams ()
 
void copyCommon (CommonParticleParams &to) const
 

Member Data Documentation

◆ acc

ParticleParamTypes::v3fRangeTween ParticleSpawnerParameters::acc

◆ amount

u16 ParticleSpawnerParameters::amount = 1

◆ attract

ParticleParamTypes::f32RangeTween ParticleSpawnerParameters::attract {0.0f}

◆ attractor_attachment

u16 ParticleSpawnerParameters::attractor_attachment = 0

◆ attractor_direction

ParticleParamTypes::v3fTween ParticleSpawnerParameters::attractor_direction

◆ attractor_direction_attachment

u16 ParticleSpawnerParameters::attractor_direction_attachment = 0

◆ attractor_kill

bool ParticleSpawnerParameters::attractor_kill = true

◆ attractor_kind

ParticleParamTypes::AttractorKind ParticleSpawnerParameters::attractor_kind

◆ attractor_origin

ParticleParamTypes::v3fTween ParticleSpawnerParameters::attractor_origin

◆ bounce

ParticleParamTypes::f32RangeTween ParticleSpawnerParameters::bounce {0.0f}

◆ drag

ParticleParamTypes::v3fRangeTween ParticleSpawnerParameters::drag

◆ exptime

ParticleParamTypes::f32RangeTween ParticleSpawnerParameters::exptime {1.0f}

◆ jitter

ParticleParamTypes::v3fRangeTween ParticleSpawnerParameters::jitter

◆ pos

ParticleParamTypes::v3fRangeTween ParticleSpawnerParameters::pos

◆ radius

ParticleParamTypes::v3fRangeTween ParticleSpawnerParameters::radius

◆ size

ParticleParamTypes::f32RangeTween ParticleSpawnerParameters::size {1.0f}

◆ texpool

std::vector<ServerParticleTexture> ParticleSpawnerParameters::texpool

◆ time

◆ vel

ParticleParamTypes::v3fRangeTween ParticleSpawnerParameters::vel

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