Blender  V3.3
Public Attributes | List of all members
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 91 of file DNA_particle_types.h.

Member Data Documentation

◆ _pad

char ParticleData::_pad[4]

Definition at line 141 of file DNA_particle_types.h.

◆ alive

short ParticleData::alive

◆ boid

BoidParticle* ParticleData::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: T68290.

Definition at line 118 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

short ParticleData::flag

◆ foffset

float ParticleData::foffset

◆ fuv

float ParticleData::fuv[4]

◆ hair

HairKey* ParticleData::hair

◆ hair_index

int ParticleData::hair_index

◆ keys

ParticleKey* ParticleData::keys

◆ lifetime

float ParticleData::lifetime

◆ num

int ParticleData::num

◆ num_dmcache

int ParticleData::num_dmcache

◆ prev_state

ParticleKey ParticleData::prev_state

◆ size

float ParticleData::size

◆ sphdensity

float ParticleData::sphdensity

Density of sph particle.

Definition at line 140 of file DNA_particle_types.h.

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

◆ state

ParticleKey ParticleData::state

◆ time

float ParticleData::time

◆ totkey

int ParticleData::totkey

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