Blender V5.3
blender::PartDeflect Struct Reference

#include <DNA_object_force_types.h>

Public Attributes

ePField_Flag flag = {}
short deflect = 0
ePFieldType forcefield = PFIELD_NULL
ePField_Falloff falloff = PFIELD_FALL_SPHERE
ePField_Shape shape = PFIELD_SHAPE_POINT
ePField_TexMode tex_mode = PFIELD_TEX_RGB
short kink = 0
short kink_axis = 0
ePField_ZDir zdir = PFIELD_Z_BOTH
float f_strength = 0
float f_damp = 0
float f_flow = 0
float f_wind_factor = 0
char _pad0 [4] = {}
float f_size = 0
float f_power = 0
float maxdist = 0
float mindist = 0
float f_power_r = 0
float maxrad = 0
float minrad = 0
float pdef_damp = 0
float pdef_rdamp = 0
float pdef_perm = 0
float pdef_frict = 0
float pdef_rfrict = 0
float pdef_stickness = 0
float absorption = 0
float pdef_sbdamp = 0
float pdef_sbift = 0
float pdef_sboft = 0
float clump_fac = 0
float clump_pow = 0
float kink_freq = 0
float kink_shape = 0
float kink_amp = 0
float free_end = 0
float tex_nabla = 0
struct Tex * tex = nullptr
float f_noise = 0
int seed = 0
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 = nullptr
float pdef_cfrict = 0
char _pad [4] = {}

Detailed Description

Definition at line 167 of file DNA_object_force_types.h.

Member Data Documentation

◆ _pad

char blender::PartDeflect::_pad[4] = {}

Definition at line 272 of file DNA_object_force_types.h.

◆ _pad0

char blender::PartDeflect::_pad0[4] = {}

Definition at line 196 of file DNA_object_force_types.h.

◆ _pad1

char blender::PartDeflect::_pad1[4] = {}

Definition at line 262 of file DNA_object_force_types.h.

◆ _pad2

char blender::PartDeflect::_pad2[4] = {}

Definition at line 265 of file DNA_object_force_types.h.

◆ absorption

float blender::PartDeflect::absorption = 0

Used for forces.

Definition at line 229 of file DNA_object_force_types.h.

◆ clump_fac

float blender::PartDeflect::clump_fac = 0

Definition at line 240 of file DNA_object_force_types.h.

Referenced by blender::do_guides().

◆ clump_pow

float blender::PartDeflect::clump_pow = 0

Definition at line 240 of file DNA_object_force_types.h.

Referenced by blender::do_guides().

◆ deflect

◆ drawvec1

float blender::PartDeflect::drawvec1[4] = {}

Runtime only : start of the curve or draw scale.

Definition at line 257 of file DNA_object_force_types.h.

◆ drawvec2

float blender::PartDeflect::drawvec2[4] = {}

Runtime only : end of the curve.

Definition at line 259 of file DNA_object_force_types.h.

◆ drawvec_falloff_max

float blender::PartDeflect::drawvec_falloff_max[3] = {}

Runtime only.

Definition at line 264 of file DNA_object_force_types.h.

◆ drawvec_falloff_min

float blender::PartDeflect::drawvec_falloff_min[3] = {}

Runtime only.

Definition at line 261 of file DNA_object_force_types.h.

◆ f_damp

float blender::PartDeflect::f_damp = 0

Damping ratio of the harmonic effector.

Definition at line 188 of file DNA_object_force_types.h.

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

◆ f_flow

float blender::PartDeflect::f_flow = 0

How much force is converted into "air flow", i.e. force used as the velocity of surrounding medium.

Definition at line 192 of file DNA_object_force_types.h.

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

◆ f_noise

float blender::PartDeflect::f_noise = 0

◆ f_power

float blender::PartDeflect::f_power = 0

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

Definition at line 203 of file DNA_object_force_types.h.

Referenced by blender::falloff_func_dist().

◆ f_power_r

float blender::PartDeflect::f_power_r = 0

Radial fall-off power.

Definition at line 209 of file DNA_object_force_types.h.

Referenced by blender::falloff_func_rad().

◆ f_size

float blender::PartDeflect::f_size = 0

Noise size for noise effector, restlength for harmonic effector.

Definition at line 199 of file DNA_object_force_types.h.

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

◆ f_source

struct Object* blender::PartDeflect::f_source = nullptr

Force source object.

Definition at line 268 of file DNA_object_force_types.h.

Referenced by blender::do_physical_effector(), and blender::particle_settings_foreach_id().

◆ f_strength

◆ f_wind_factor

float blender::PartDeflect::f_wind_factor = 0

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

Definition at line 194 of file DNA_object_force_types.h.

Referenced by blender::BKE_partdeflect_new(), and blender::blo_do_versions_280().

◆ falloff

ePField_Falloff blender::PartDeflect::falloff = PFIELD_FALL_SPHERE

◆ flag

◆ forcefield

◆ free_end

float blender::PartDeflect::free_end = 0

Definition at line 241 of file DNA_object_force_types.h.

Referenced by blender::do_guides().

◆ kink

short blender::PartDeflect::kink = 0

For curve guide.

Definition at line 181 of file DNA_object_force_types.h.

Referenced by blender::do_guides().

◆ kink_amp

float blender::PartDeflect::kink_amp = 0

Definition at line 241 of file DNA_object_force_types.h.

Referenced by blender::do_guides().

◆ kink_axis

short blender::PartDeflect::kink_axis = 0

Definition at line 181 of file DNA_object_force_types.h.

Referenced by blender::do_guides().

◆ kink_freq

float blender::PartDeflect::kink_freq = 0

Definition at line 241 of file DNA_object_force_types.h.

Referenced by blender::do_guides().

◆ kink_shape

float blender::PartDeflect::kink_shape = 0

Definition at line 241 of file DNA_object_force_types.h.

Referenced by blender::do_guides().

◆ maxdist

float blender::PartDeflect::maxdist = 0

If indicated, use this maximum.

Definition at line 205 of file DNA_object_force_types.h.

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

◆ maxrad

float blender::PartDeflect::maxrad = 0

Radial versions of above.

Definition at line 211 of file DNA_object_force_types.h.

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

◆ mindist

float blender::PartDeflect::mindist = 0

If indicated, use this minimum.

Definition at line 207 of file DNA_object_force_types.h.

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

◆ minrad

float blender::PartDeflect::minrad = 0

◆ pdef_cfrict

float blender::PartDeflect::pdef_cfrict = 0

◆ pdef_damp

float blender::PartDeflect::pdef_damp = 0

Damping factor for particle deflection.

Definition at line 216 of file DNA_object_force_types.h.

Referenced by blender::collision_response().

◆ pdef_frict

float blender::PartDeflect::pdef_frict = 0

Friction factor for particle deflection.

Definition at line 222 of file DNA_object_force_types.h.

Referenced by blender::collision_response().

◆ pdef_perm

float blender::PartDeflect::pdef_perm = 0

Chance of particle passing through mesh.

Definition at line 220 of file DNA_object_force_types.h.

Referenced by blender::collision_response().

◆ pdef_rdamp

float blender::PartDeflect::pdef_rdamp = 0

Random element of damping for deflection.

Definition at line 218 of file DNA_object_force_types.h.

Referenced by blender::collision_response().

◆ pdef_rfrict

float blender::PartDeflect::pdef_rfrict = 0

Random element of friction for deflection.

Definition at line 224 of file DNA_object_force_types.h.

Referenced by blender::collision_response().

◆ pdef_sbdamp

◆ pdef_sbift

float blender::PartDeflect::pdef_sbift = 0

Inner face thickness for softbody deflection.

Definition at line 235 of file DNA_object_force_types.h.

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

◆ pdef_sboft

float blender::PartDeflect::pdef_sboft = 0

◆ pdef_stickness

float blender::PartDeflect::pdef_stickness = 0

Surface particle stickiness.

Definition at line 226 of file DNA_object_force_types.h.

Referenced by blender::collision_response().

◆ seed

int blender::PartDeflect::seed = 0

◆ shape

◆ tex

◆ tex_mode

ePField_TexMode blender::PartDeflect::tex_mode = PFIELD_TEX_RGB

Texture effector.

Definition at line 179 of file DNA_object_force_types.h.

Referenced by blender::do_texture_effector().

◆ tex_nabla

float blender::PartDeflect::tex_nabla = 0

Used for calculating partial derivatives.

Definition at line 245 of file DNA_object_force_types.h.

Referenced by blender::do_texture_effector().

◆ zdir

ePField_ZDir blender::PartDeflect::zdir = PFIELD_Z_BOTH

Definition at line 182 of file DNA_object_force_types.h.

Referenced by blender::effector_falloff().


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