Blender V4.3
PartDeflect Struct Reference

#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 Textex
 
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 Objectf_source
 
float pdef_cfrict
 
char _pad [4]
 

Detailed Description

Definition at line 51 of file DNA_object_force_types.h.

Member Data Documentation

◆ _pad

char PartDeflect::_pad[4]

Definition at line 156 of file DNA_object_force_types.h.

◆ _pad0

char PartDeflect::_pad0[4]

Definition at line 80 of file DNA_object_force_types.h.

◆ _pad1

char PartDeflect::_pad1[4]

Definition at line 146 of file DNA_object_force_types.h.

◆ _pad2

char PartDeflect::_pad2[4]

Definition at line 149 of file DNA_object_force_types.h.

◆ absorption

float PartDeflect::absorption

Used for forces.

Definition at line 113 of file DNA_object_force_types.h.

◆ clump_fac

float PartDeflect::clump_fac

Definition at line 124 of file DNA_object_force_types.h.

Referenced by do_guides().

◆ clump_pow

float PartDeflect::clump_pow

Definition at line 124 of file DNA_object_force_types.h.

Referenced by do_guides().

◆ deflect

◆ drawvec1

float PartDeflect::drawvec1[4]

Runtime only : start of the curve or draw scale.

Definition at line 141 of file DNA_object_force_types.h.

◆ drawvec2

float PartDeflect::drawvec2[4]

Runtime only : end of the curve.

Definition at line 143 of file DNA_object_force_types.h.

◆ drawvec_falloff_max

float PartDeflect::drawvec_falloff_max[3]

Runtime only.

Definition at line 148 of file DNA_object_force_types.h.

◆ drawvec_falloff_min

float PartDeflect::drawvec_falloff_min[3]

Runtime only.

Definition at line 145 of file DNA_object_force_types.h.

◆ f_damp

float PartDeflect::f_damp

Damping ratio of the harmonic effector.

Definition at line 72 of file DNA_object_force_types.h.

Referenced by BKE_partdeflect_new(), do_physical_effector(), and is_effector_nonzero_strength().

◆ f_flow

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 76 of file DNA_object_force_types.h.

Referenced by BKE_partdeflect_new(), do_physical_effector(), and is_effector_nonzero_strength().

◆ f_noise

float PartDeflect::f_noise

Noise of force.

Definition at line 135 of file DNA_object_force_types.h.

Referenced by blo_do_versions_pre250(), do_physical_effector(), and is_effector_nonzero_strength().

◆ f_power

float PartDeflect::f_power

The power law - real gravitation is 2 (square).

Definition at line 87 of file DNA_object_force_types.h.

Referenced by falloff_func_dist().

◆ f_power_r

float PartDeflect::f_power_r

Radial fall-off power.

Definition at line 93 of file DNA_object_force_types.h.

Referenced by falloff_func_rad().

◆ f_size

float PartDeflect::f_size

Noise size for noise effector, restlength for harmonic effector.

Definition at line 83 of file DNA_object_force_types.h.

Referenced by BKE_partdeflect_new(), do_physical_effector(), and get_effector_data().

◆ f_source

struct Object* PartDeflect::f_source

Force source object.

Definition at line 152 of file DNA_object_force_types.h.

Referenced by do_physical_effector(), and particle_settings_foreach_id().

◆ f_strength

◆ f_wind_factor

float PartDeflect::f_wind_factor

How much force is reduced when acting parallel to a surface, e.g. cloth.

Definition at line 78 of file DNA_object_force_types.h.

Referenced by BKE_partdeflect_new().

◆ falloff

short PartDeflect::falloff

◆ flag

◆ forcefield

◆ free_end

float PartDeflect::free_end

Definition at line 125 of file DNA_object_force_types.h.

Referenced by do_guides().

◆ kink

short PartDeflect::kink

For curve guide.

Definition at line 65 of file DNA_object_force_types.h.

Referenced by do_guides().

◆ kink_amp

float PartDeflect::kink_amp

Definition at line 125 of file DNA_object_force_types.h.

Referenced by do_guides().

◆ kink_axis

short PartDeflect::kink_axis

Definition at line 65 of file DNA_object_force_types.h.

Referenced by do_guides().

◆ kink_freq

float PartDeflect::kink_freq

Definition at line 125 of file DNA_object_force_types.h.

Referenced by do_guides().

◆ kink_shape

float PartDeflect::kink_shape

Definition at line 125 of file DNA_object_force_types.h.

Referenced by do_guides().

◆ maxdist

float PartDeflect::maxdist

If indicated, use this maximum.

Definition at line 89 of file DNA_object_force_types.h.

Referenced by falloff_func_dist(), blender::draw::overlay::ForceFields::object_sync(), and OVERLAY_forcefield().

◆ maxrad

float PartDeflect::maxrad

Radial versions of above.

Definition at line 95 of file DNA_object_force_types.h.

Referenced by falloff_func_rad(), blender::draw::overlay::ForceFields::object_sync(), and OVERLAY_forcefield().

◆ mindist

float PartDeflect::mindist

If indicated, use this minimum.

Definition at line 91 of file DNA_object_force_types.h.

Referenced by falloff_func_dist(), blender::draw::overlay::ForceFields::object_sync(), and OVERLAY_forcefield().

◆ minrad

◆ pdef_cfrict

float PartDeflect::pdef_cfrict

Friction of cloth collisions.

Definition at line 155 of file DNA_object_force_types.h.

Referenced by BKE_partdeflect_new(), and cloth_collision_response_static().

◆ pdef_damp

float PartDeflect::pdef_damp

Damping factor for particle deflection.

Definition at line 100 of file DNA_object_force_types.h.

Referenced by collision_response().

◆ pdef_frict

float PartDeflect::pdef_frict

Friction factor for particle deflection.

Definition at line 106 of file DNA_object_force_types.h.

Referenced by collision_response().

◆ pdef_perm

float PartDeflect::pdef_perm

Chance of particle passing through mesh.

Definition at line 104 of file DNA_object_force_types.h.

Referenced by collision_response().

◆ pdef_rdamp

float PartDeflect::pdef_rdamp

Random element of damping for deflection.

Definition at line 102 of file DNA_object_force_types.h.

Referenced by collision_response().

◆ pdef_rfrict

float PartDeflect::pdef_rfrict

Random element of friction for deflection.

Definition at line 108 of file DNA_object_force_types.h.

Referenced by collision_response().

◆ pdef_sbdamp

float PartDeflect::pdef_sbdamp

◆ pdef_sbift

float PartDeflect::pdef_sbift

Inner face thickness for softbody deflection.

Definition at line 119 of file DNA_object_force_types.h.

Referenced by BKE_partdeflect_new(), ccd_mesh_make(), ccd_mesh_update(), and sb_detect_vertex_collisionCached().

◆ pdef_sboft

float PartDeflect::pdef_sboft

Outer face thickness for softbody deflection.

Definition at line 121 of file DNA_object_force_types.h.

Referenced by BKE_partdeflect_new(), ccd_mesh_make(), ccd_mesh_update(), deform_verts(), sb_detect_face_pointCached(), and sb_detect_vertex_collisionCached().

◆ pdef_stickness

float PartDeflect::pdef_stickness

Surface particle stickiness.

Definition at line 110 of file DNA_object_force_types.h.

Referenced by collision_response().

◆ seed

int PartDeflect::seed

Noise random seed.

Definition at line 137 of file DNA_object_force_types.h.

Referenced by BKE_partdeflect_new(), blo_do_versions_pre250(), and precalculate_effector().

◆ shape

◆ tex

struct Tex* PartDeflect::tex

Texture of the texture effector.

Definition at line 131 of file DNA_object_force_types.h.

Referenced by animdata_filter_dopesheet_ob(), do_texture_effector(), is_effector_enabled(), and particle_settings_foreach_id().

◆ tex_mode

short PartDeflect::tex_mode

Texture effector.

Definition at line 63 of file DNA_object_force_types.h.

Referenced by do_texture_effector().

◆ tex_nabla

float PartDeflect::tex_nabla

Used for calculating partial derivatives.

Definition at line 129 of file DNA_object_force_types.h.

Referenced by do_texture_effector().

◆ zdir

short PartDeflect::zdir

Definition at line 66 of file DNA_object_force_types.h.

Referenced by effector_falloff().


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