Blender V4.3
ParticleData Struct Reference

#include <DNA_particle_types.h>

Public Attributes

ParticleKey state
 
ParticleKey prev_state
 
HairKeyhair
 
ParticleKeykeys
 
BoidParticleboid
 
int totkey
 
float time
 
float lifetime
 
float dietime
 
int num
 
int num_dmcache
 
float fuv [4]
 
float foffset
 
float size
 
float sphdensity
 
char _pad [4]
 
int hair_index
 
short flag
 
short alive
 

Detailed Description

Definition at line 88 of file DNA_particle_types.h.

Member Data Documentation

◆ _pad

char ParticleData::_pad[4]

Definition at line 138 of file DNA_particle_types.h.

◆ alive

short ParticleData::alive

◆ boid

◆ dietime

float ParticleData::dietime

Particles can die unnaturally (collision).

Note
Particles die on this frame, be sure to add 1 when clamping the lifetime of particles to inclusive ranges such as the scenes end frame. See: #68290.

Definition at line 115 of file DNA_particle_types.h.

Referenced by boid_brain(), cached_step(), collision_response(), do_particle_interpolation(), dynamics_step(), get_cpa_texture(), init_particle_interpolation(), particles_fluid_step(), psys_get_particle_state(), psys_get_texture(), ptcache_particle_interpolate(), ptcache_particle_read(), ptcache_particle_totwrite(), ptcache_particle_write(), and reset_particle().

◆ flag

◆ foffset

◆ fuv

◆ hair

◆ hair_index

int ParticleData::hair_index

◆ keys

◆ lifetime

◆ num

◆ num_dmcache

◆ prev_state

◆ size

◆ sphdensity

float ParticleData::sphdensity

Density of SPH particle.

Definition at line 137 of file DNA_particle_types.h.

Referenced by sphclassical_calc_dens(), sphclassical_density_accum_cb(), and sphclassical_force_cb().

◆ state

◆ time

◆ totkey


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