|
Blender
V3.3
|
#include <DNA_object_force_types.h>
Public Attributes | |
| int | flag |
| short | deflect |
| short | forcefield |
| short | falloff |
| short | shape |
| short | tex_mode |
| short | kink |
| short | kink_axis |
| short | zdir |
| float | f_strength |
| float | f_damp |
| float | f_flow |
| float | f_wind_factor |
| char | _pad0 [4] |
| float | f_size |
| float | f_power |
| float | maxdist |
| float | mindist |
| float | f_power_r |
| float | maxrad |
| float | minrad |
| float | pdef_damp |
| float | pdef_rdamp |
| float | pdef_perm |
| float | pdef_frict |
| float | pdef_rfrict |
| float | pdef_stickness |
| float | absorption |
| float | pdef_sbdamp |
| float | pdef_sbift |
| float | pdef_sboft |
| float | clump_fac |
| float | clump_pow |
| float | kink_freq |
| float | kink_shape |
| float | kink_amp |
| float | free_end |
| float | tex_nabla |
| struct Tex * | tex |
| struct RNG * | rng |
| float | f_noise |
| int | seed |
| float | drawvec1 [4] |
| float | drawvec2 [4] |
| float | drawvec_falloff_min [3] |
| char | _pad1 [4] |
| float | drawvec_falloff_max [3] |
| char | _pad2 [4] |
| struct Object * | f_source |
| float | pdef_cfrict |
| char | _pad [4] |
Definition at line 54 of file DNA_object_force_types.h.
| char PartDeflect::_pad[4] |
Definition at line 161 of file DNA_object_force_types.h.
| char PartDeflect::_pad0[4] |
Definition at line 83 of file DNA_object_force_types.h.
| char PartDeflect::_pad1[4] |
Definition at line 151 of file DNA_object_force_types.h.
| char PartDeflect::_pad2[4] |
Definition at line 154 of file DNA_object_force_types.h.
| float PartDeflect::absorption |
Used for forces.
Definition at line 116 of file DNA_object_force_types.h.
| float PartDeflect::clump_fac |
Definition at line 127 of file DNA_object_force_types.h.
Referenced by do_guides().
| float PartDeflect::clump_pow |
Definition at line 127 of file DNA_object_force_types.h.
Referenced by do_guides().
| short PartDeflect::deflect |
Deflection flag - does mesh deflect particles.
Definition at line 58 of file DNA_object_force_types.h.
Referenced by BKE_collision_objects_create(), ccd_build_deflector_hash_single(), ccd_update_deflector_hash_single(), deformVerts(), ED_object_modifier_add(), object_modifier_remove(), sb_detect_aabb_collisionCached(), sb_detect_edge_collisionCached(), sb_detect_face_collisionCached(), sb_detect_face_pointCached(), and sb_detect_vertex_collisionCached().
| float PartDeflect::drawvec1[4] |
Runtime only : start of the curve or draw scale.
Definition at line 146 of file DNA_object_force_types.h.
| float PartDeflect::drawvec2[4] |
Runtime only : end of the curve.
Definition at line 148 of file DNA_object_force_types.h.
| float PartDeflect::drawvec_falloff_max[3] |
Runtime only.
Definition at line 153 of file DNA_object_force_types.h.
| float PartDeflect::drawvec_falloff_min[3] |
Runtime only.
Definition at line 150 of file DNA_object_force_types.h.
| float PartDeflect::f_damp |
Damping ratio of the harmonic effector.
Definition at line 75 of file DNA_object_force_types.h.
Referenced by BKE_partdeflect_new(), do_physical_effector(), and is_effector_nonzero_strength().
| float PartDeflect::f_flow |
How much force is converted into "air flow", i.e. force used as the velocity of surrounding medium.
Definition at line 79 of file DNA_object_force_types.h.
Referenced by BKE_partdeflect_new(), do_physical_effector(), and is_effector_nonzero_strength().
| float PartDeflect::f_noise |
Noise of force.
Definition at line 140 of file DNA_object_force_types.h.
Referenced by blo_do_versions_pre250(), do_physical_effector(), and is_effector_nonzero_strength().
| float PartDeflect::f_power |
The power law - real gravitation is 2 (square).
Definition at line 90 of file DNA_object_force_types.h.
Referenced by falloff_func_dist().
| float PartDeflect::f_power_r |
Radial fall-off power.
Definition at line 96 of file DNA_object_force_types.h.
Referenced by falloff_func_rad().
| float PartDeflect::f_size |
Noise size for noise effector, restlength for harmonic effector.
Definition at line 86 of file DNA_object_force_types.h.
Referenced by BKE_partdeflect_new(), do_physical_effector(), and get_effector_data().
| struct Object* PartDeflect::f_source |
Force source object.
Definition at line 157 of file DNA_object_force_types.h.
Referenced by BKE_particle_partdeflect_blend_read_lib(), do_physical_effector(), object_blend_read_expand(), object_foreach_id(), particle_settings_blend_read_expand(), and particle_settings_foreach_id().
| float PartDeflect::f_strength |
The strength of the force (+ or - ).
Definition at line 73 of file DNA_object_force_types.h.
Referenced by BKE_partdeflect_new(), do_physical_effector(), do_texture_effector(), get_effector_tot(), is_effector_nonzero_strength(), pd_point_from_particle(), and rule_goal_avoid().
| float PartDeflect::f_wind_factor |
How much force is reduced when acting parallel to a surface, e.g. cloth.
Definition at line 81 of file DNA_object_force_types.h.
Referenced by BKE_effectors_apply(), and BKE_partdeflect_new().
| short PartDeflect::falloff |
Fall-off type.
Definition at line 62 of file DNA_object_force_types.h.
Referenced by effector_falloff().
| int PartDeflect::flag |
General settings flag.
Definition at line 56 of file DNA_object_force_types.h.
Referenced by BKE_partdeflect_new(), blo_do_versions_250(), cloth_bvh_collision(), collision_response(), do_guides(), do_physical_effector(), do_texture_effector(), eff_calc_visibility(), falloff_func_dist(), falloff_func_rad(), get_effector_tot(), and is_effector_enabled().
| short PartDeflect::forcefield |
Force field type, do the vertices attract / repel particles?
Definition at line 60 of file DNA_object_force_types.h.
Referenced by BKE_effector_relations_create(), BKE_effectors_apply(), BKE_partdeflect_new(), blo_do_versions_250(), blo_do_versions_pre250(), blender::deg::DepsgraphRelationBuilder::build_animdata_force(), blender::deg::DepsgraphNodeBuilder::build_object(), blender::deg::DepsgraphRelationBuilder::build_object(), buttons_texture_users_from_context(), do_guides(), do_physical_effector(), ED_object_check_force_modifiers(), effector_falloff(), forcefield_toggle_exec(), get_effector_data(), get_effector_tot(), is_effector_enabled(), is_effector_nonzero_strength(), is_effector_relevant(), OVERLAY_extra_cache_populate(), pd_point_from_particle(), precalc_guides(), precalculate_effector(), rule_goal_avoid(), tree_element_get_icon_from_id(), WIDGETGROUP_forcefield_poll(), and WIDGETGROUP_forcefield_refresh().
| float PartDeflect::free_end |
Definition at line 128 of file DNA_object_force_types.h.
Referenced by do_guides().
| short PartDeflect::kink |
| float PartDeflect::kink_amp |
Definition at line 128 of file DNA_object_force_types.h.
Referenced by do_guides().
| short PartDeflect::kink_axis |
Definition at line 68 of file DNA_object_force_types.h.
Referenced by do_guides().
| float PartDeflect::kink_freq |
Definition at line 128 of file DNA_object_force_types.h.
Referenced by do_guides().
| float PartDeflect::kink_shape |
Definition at line 128 of file DNA_object_force_types.h.
Referenced by do_guides().
| float PartDeflect::maxdist |
If indicated, use this maximum.
Definition at line 92 of file DNA_object_force_types.h.
Referenced by falloff_func_dist().
| float PartDeflect::maxrad |
Radial versions of above.
Definition at line 98 of file DNA_object_force_types.h.
Referenced by falloff_func_rad().
| float PartDeflect::mindist |
If indicated, use this minimum.
Definition at line 94 of file DNA_object_force_types.h.
Referenced by falloff_func_dist().
| float PartDeflect::minrad |
Definition at line 99 of file DNA_object_force_types.h.
Referenced by falloff_func_rad().
| float PartDeflect::pdef_cfrict |
Friction of cloth collisions.
Definition at line 160 of file DNA_object_force_types.h.
Referenced by BKE_partdeflect_new(), and cloth_collision_response_static().
| float PartDeflect::pdef_damp |
Damping factor for particle deflection.
Definition at line 103 of file DNA_object_force_types.h.
Referenced by collision_response().
| float PartDeflect::pdef_frict |
Friction factor for particle deflection.
Definition at line 109 of file DNA_object_force_types.h.
Referenced by collision_response().
| float PartDeflect::pdef_perm |
Chance of particle passing through mesh.
Definition at line 107 of file DNA_object_force_types.h.
Referenced by collision_response().
| float PartDeflect::pdef_rdamp |
Random element of damping for deflection.
Definition at line 105 of file DNA_object_force_types.h.
Referenced by collision_response().
| float PartDeflect::pdef_rfrict |
Random element of friction for deflection.
Definition at line 111 of file DNA_object_force_types.h.
Referenced by collision_response().
| float PartDeflect::pdef_sbdamp |
Damping factor for softbody deflection.
Definition at line 120 of file DNA_object_force_types.h.
Referenced by BKE_partdeflect_new(), sb_detect_edge_collisionCached(), sb_detect_face_collisionCached(), sb_detect_face_pointCached(), and sb_detect_vertex_collisionCached().
| float PartDeflect::pdef_sbift |
Inner face thickness for softbody deflection.
Definition at line 122 of file DNA_object_force_types.h.
Referenced by BKE_partdeflect_new(), ccd_mesh_make(), ccd_mesh_update(), and sb_detect_vertex_collisionCached().
| float PartDeflect::pdef_sboft |
Outer face thickness for softbody deflection.
Definition at line 124 of file DNA_object_force_types.h.
Referenced by BKE_partdeflect_new(), ccd_mesh_make(), ccd_mesh_update(), deformVerts(), sb_detect_face_pointCached(), and sb_detect_vertex_collisionCached().
| float PartDeflect::pdef_stickness |
Surface particle stickiness.
Definition at line 113 of file DNA_object_force_types.h.
Referenced by collision_response().
| struct RNG* PartDeflect::rng |
Random noise generator for e.g. wind.
Definition at line 138 of file DNA_object_force_types.h.
Referenced by BKE_partdeflect_copy(), BKE_partdeflect_free(), BKE_particle_partdeflect_blend_read_data(), do_physical_effector(), object_copy_data(), and precalculate_effector().
| int PartDeflect::seed |
Noise random seed.
Definition at line 142 of file DNA_object_force_types.h.
Referenced by BKE_partdeflect_new(), blo_do_versions_pre250(), and precalculate_effector().
| short PartDeflect::shape |
Point, plane or surface.
Definition at line 64 of file DNA_object_force_types.h.
Referenced by BKE_effectors_create(), BKE_partdeflect_new(), blo_do_versions_250(), do_physical_effector(), ED_object_check_force_modifiers(), get_effector_data(), get_effector_tot(), is_effector_nonzero_strength(), precalculate_effector(), and rule_goal_avoid().
| struct Tex* PartDeflect::tex |
Texture of the texture effector.
Definition at line 134 of file DNA_object_force_types.h.
Referenced by animdata_filter_dopesheet_ob(), BKE_particle_partdeflect_blend_read_lib(), blender::deg::DepsgraphNodeBuilder::build_object(), blender::deg::DepsgraphRelationBuilder::build_object(), do_texture_effector(), is_effector_enabled(), object_blend_read_expand(), object_foreach_id(), particle_settings_blend_read_expand(), and particle_settings_foreach_id().
| short PartDeflect::tex_mode |
Texture effector.
Definition at line 66 of file DNA_object_force_types.h.
Referenced by do_texture_effector().
| float PartDeflect::tex_nabla |
Used for calculating partial derivatives.
Definition at line 132 of file DNA_object_force_types.h.
Referenced by do_texture_effector().
| short PartDeflect::zdir |
Definition at line 69 of file DNA_object_force_types.h.
Referenced by effector_falloff().