Blender
V3.3
|
#include <DNA_particle_types.h>
Public Attributes | |
ParticleKey | state |
ParticleKey | prev_state |
HairKey * | hair |
ParticleKey * | keys |
BoidParticle * | boid |
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 |
Definition at line 91 of file DNA_particle_types.h.
char ParticleData::_pad[4] |
Definition at line 141 of file DNA_particle_types.h.
short ParticleData::alive |
The life state of a particle.
Definition at line 146 of file DNA_particle_types.h.
Referenced by boid_brain(), cached_step(), collision_response(), dynamics_step(), explodeMesh(), particle_skip(), particles_fluid_step(), and reset_particle().
BoidParticle* ParticleData::boid |
Boids data.
Definition at line 105 of file DNA_particle_types.h.
Referenced by BKE_particle_system_blend_read_data(), BKE_particle_system_blend_write(), BKE_particlesystem_id_loop(), boid_body(), boid_brain(), boid_climb(), boid_find_ground(), boid_rule_applies(), collision_check(), collision_response(), free_unexisting_particles(), get_boid_state(), psys_check_boid_data(), psys_copy_particles(), psys_free_particles(), psys_get_birth_coords(), ptcache_particle_read(), ptcache_particle_write(), realloc_particles(), reset_particle(), rule_average_speed(), rule_avoid_collision(), rule_fight(), rule_goal_avoid(), and set_boid_values().
float ParticleData::dietime |
Particles can die unnaturally (collision).
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().
short ParticleData::flag |
Definition at line 144 of file DNA_particle_types.h.
Referenced by cached_step(), distribute_grid(), do_hair_dynamics(), blender::io::alembic::ABCPointsWriter::do_write(), dynamics_step(), hair_create_input_mesh(), hair_step(), init_particle(), init_particle_texture(), make_duplis_particle_system(), particle_skip(), particle_system_update(), psys_get_particle_on_path(), psys_thread_create_path(), rekey_particle(), rekey_particle_to_time(), subdivide_particle(), and system_step().
float ParticleData::foffset |
Definition at line 133 of file DNA_particle_types.h.
Referenced by brush_add(), createFacepa(), distribute_from_faces_exec(), distribute_from_verts_exec(), distribute_from_volume_exec(), psys_get_birth_coords(), psys_get_dupli_path_transform(), psys_get_dupli_texture(), psys_get_particle_on_path(), psys_get_texture(), psys_mat_hair_to_object(), psys_mat_hair_to_orco(), psys_particle_value_from_verts(), psys_thread_context_init_distribute(), psys_thread_create_path(), and remap_hair_emitter().
float ParticleData::fuv[4] |
Coordinates on face/edge number "num" and depth along.
Definition at line 133 of file DNA_particle_types.h.
Referenced by brush_add(), brush_add_count_iter(), createFacepa(), distribute_from_faces_exec(), distribute_from_verts_exec(), distribute_from_volume_exec(), distribute_grid(), particle_calculate_parent_mcol(), particle_calculate_parent_uvs(), PE_mirror_x(), psys_get_birth_coords(), psys_get_dupli_path_transform(), psys_get_dupli_texture(), psys_get_particle_on_path(), psys_get_texture(), psys_mat_hair_to_object(), psys_mat_hair_to_orco(), psys_particle_value_from_verts(), psys_thread_context_init_distribute(), psys_thread_create_path(), remap_hair_emitter(), and blender::ed::curves::convert_to_particle_system::try_convert_single_object().
HairKey* ParticleData::hair |
Hair vertices.
Definition at line 99 of file DNA_particle_types.h.
Referenced by BKE_brush_weight_get(), BKE_particle_system_blend_read_data(), BKE_particle_system_blend_write(), brush_add(), copy_particle_edit(), disconnect_hair(), do_particle_interpolation(), hair_create_input_mesh(), init_particle_interpolation(), particle_key_weight(), PE_create_particle_edit(), PE_mirror_particle(), PE_mirror_x(), pe_update_hair_particle_edit_pointers(), PE_update_selection(), psys_apply_hair_lattice(), psys_cache_edit_paths_iter(), psys_copy_particles(), psys_hair_use_simulation(), rekey_particle(), rekey_particle_to_time(), remap_hair_emitter(), remove_tagged_keys(), save_hair(), subdivide_particle(), blender::ed::curves::convert_to_particle_system::try_convert_single_object(), undoptcache_free_data(), undoptcache_from_editcache(), undoptcache_to_editcache(), and weight_set_exec().
int ParticleData::hair_index |
Definition at line 143 of file DNA_particle_types.h.
Referenced by distribute_grid(), hair_create_input_mesh(), init_particle(), and init_particle_interpolation().
ParticleKey* ParticleData::keys |
Keyed keys.
Definition at line 102 of file DNA_particle_types.h.
Referenced by BKE_particle_system_blend_read_data(), free_keyed_keys(), init_particle_interpolation(), psys_copy_particles(), psys_free_particles(), and realloc_particles().
float ParticleData::lifetime |
Definition at line 111 of file DNA_particle_types.h.
Referenced by basic_integrate(), brush_add(), explodeMesh(), particles_fluid_step(), pointdensity_cache_psys(), psys_get_child_time(), psys_get_particle_state(), ptcache_particle_read(), ptcache_particle_write(), and reset_particle().
int ParticleData::num |
WARNING! Those two indices, when not affected to vertices, are for !!! TESSELLATED FACES !!!, not POLYGONS! Index to vert/edge/face.
Definition at line 125 of file DNA_particle_types.h.
Referenced by brush_add(), brush_add_count_iter(), createFacepa(), distribute_from_faces_exec(), distribute_from_verts_exec(), distribute_from_volume_exec(), get_particle_uv(), make_duplis_particle_system(), particle_calculate_parent_mcol(), particle_calculate_parent_uvs(), PE_mirror_x(), psys_face_mat(), psys_get_birth_coords(), psys_get_dupli_path_transform(), psys_get_dupli_texture(), psys_get_particle_on_path(), psys_get_texture(), psys_mat_hair_to_object(), psys_mat_hair_to_orco(), psys_particle_value_from_verts(), psys_thread_context_init_distribute(), psys_thread_create_path(), remap_hair_emitter(), and blender::ed::curves::convert_to_particle_system::try_convert_single_object().
int ParticleData::num_dmcache |
Index to derived mesh data (face) to avoid slow lookups. It can also have negative values DMCACHE_NOTFOUND and DMCACHE_ISCHILD.
Definition at line 130 of file DNA_particle_types.h.
Referenced by brush_add(), brush_add_count_iter(), createFacepa(), distribute_from_verts_exec(), get_particle_uv(), particle_calculate_parent_mcol(), particle_calculate_parent_uvs(), PE_mirror_x(), psys_face_mat(), psys_get_birth_coords(), psys_get_dupli_path_transform(), psys_get_dupli_texture(), psys_get_particle_on_path(), psys_get_texture(), psys_mat_hair_to_object(), psys_mat_hair_to_orco(), psys_particle_value_from_verts(), psys_thread_context_init_distribute(), psys_thread_create_path(), remap_hair_emitter(), and blender::ed::curves::convert_to_particle_system::try_convert_single_object().
ParticleKey ParticleData::prev_state |
Previous state.
Definition at line 96 of file DNA_particle_types.h.
Referenced by apply_boid_rule(), basic_integrate(), basic_rotate(), boid_body(), boid_brain(), collision_check(), collision_response(), blender::io::alembic::ABCPointsWriter::do_write(), dynamics_step(), integrate_particle(), particle_batch_cache_ensure_pos(), psys_get_birth_coords(), ptcache_particle_read(), ptcache_particle_write(), rule_average_speed(), rule_avoid_collision(), rule_fight(), rule_flock(), rule_follow_leader(), rule_goal_avoid(), rule_separate(), sph_force_cb(), sph_integrate(), sph_particle_courant(), sph_springs_modify(), sphclassical_force_cb(), and update_courant_num().
float ParticleData::size |
Size and multiplier so that we can update size when ever.
Definition at line 137 of file DNA_particle_types.h.
Referenced by basic_force_cb(), boid_body(), boid_climb(), brush_add(), cached_step(), collision_check(), collision_response(), ParticleSystemManager::device_update_particles(), ObjectManager::device_update_transforms(), blender::io::alembic::ABCPointsWriter::do_write(), dynamic_paint_paint_particle_cell_point_cb_ex(), dynamics_step(), explodeMesh(), get_effector_data(), hair_step(), integrate_particle(), make_duplis_particle_system(), modifyMesh(), particle_system_update(), particles_fluid_step(), pd_point_from_particle(), psys_get_child_size(), ptcache_particle_read(), ptcache_particle_write(), rule_avoid_collision(), rule_fight(), rule_follow_leader(), rule_goal_avoid(), rule_separate(), sph_density_accum_cb(), sph_force_cb(), sph_integrate(), sph_springs_modify(), sphclassical_density_accum_cb(), and sphclassical_force_cb().
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().
ParticleKey ParticleData::state |
Current global coordinates.
Definition at line 93 of file DNA_particle_types.h.
Referenced by basic_force_cb(), basic_integrate(), basic_rotate(), boid_body(), boid_climb(), boid_find_ground(), brush_add(), collision_check(), collision_fail(), collision_response(), dynamic_paint_paint_particle_cell_point_cb_ex(), dynamics_step(), dynamics_step_sph_classical_basic_integrate_task_cb_ex(), dynamics_step_sph_classical_calc_density_task_cb_ex(), dynamics_step_sph_classical_integrate_task_cb_ex(), dynamics_step_sph_ddr_task_cb_ex(), get_cpa_texture(), integrate_particle(), particles_fluid_step(), psys_get_birth_coords(), psys_get_dupli_path_transform(), psys_get_particle_state(), psys_get_texture(), ptcache_particle_interpolate(), ptcache_particle_read(), ptcache_particle_write(), reset_particle(), rule_flock(), rule_goal_avoid(), rule_separate(), save_hair(), sph_integrate(), sphclassical_calc_dens(), sphclassical_density_accum_cb(), and sphclassical_neighbor_accum_cb().
float ParticleData::time |
Die-time is not necessarily time+lifetime as.
Definition at line 111 of file DNA_particle_types.h.
Referenced by basic_integrate(), brush_add(), cached_step(), collision_detect(), do_particle_interpolation(), dynamics_step(), explodeMesh(), get_cpa_texture(), init_particle(), init_particle_interpolation(), init_particle_texture(), particles_fluid_step(), pointdensity_cache_psys(), psys_get_child_time(), psys_get_particle_on_path(), psys_get_particle_state(), psys_get_texture(), ptcache_particle_interpolate(), ptcache_particle_read(), ptcache_particle_totwrite(), ptcache_particle_write(), reset_particle(), and sph_force_cb().
int ParticleData::totkey |
Amount of hair or keyed keys.
Definition at line 108 of file DNA_particle_types.h.
Referenced by BKE_particle_system_blend_read_data(), BKE_particle_system_blend_write(), brush_add(), do_hair_dynamics(), do_particle_interpolation(), hair_create_input_mesh(), init_particle_interpolation(), particle_key_weight(), PE_create_particle_edit(), PE_mirror_particle(), psys_apply_hair_lattice(), psys_cache_edit_paths_iter(), psys_copy_particles(), psys_hair_use_simulation(), rekey_particle(), rekey_particle_to_time(), remove_tagged_keys(), save_hair(), set_keyed_keys(), subdivide_particle(), and blender::ed::curves::convert_to_particle_system::try_convert_single_object().