Blender  V3.3
Public Attributes | List of all members
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
 
struct RNGrng
 
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 54 of file DNA_object_force_types.h.

Member Data Documentation

◆ _pad

char PartDeflect::_pad[4]

Definition at line 161 of file DNA_object_force_types.h.

◆ _pad0

char PartDeflect::_pad0[4]

Definition at line 83 of file DNA_object_force_types.h.

◆ _pad1

char PartDeflect::_pad1[4]

Definition at line 151 of file DNA_object_force_types.h.

◆ _pad2

char PartDeflect::_pad2[4]

Definition at line 154 of file DNA_object_force_types.h.

◆ absorption

float PartDeflect::absorption

Used for forces.

Definition at line 116 of file DNA_object_force_types.h.

◆ clump_fac

float PartDeflect::clump_fac

Definition at line 127 of file DNA_object_force_types.h.

Referenced by do_guides().

◆ clump_pow

float PartDeflect::clump_pow

Definition at line 127 of file DNA_object_force_types.h.

Referenced by do_guides().

◆ deflect

short PartDeflect::deflect

◆ drawvec1

float PartDeflect::drawvec1[4]

Runtime only : start of the curve or draw scale.

Definition at line 146 of file DNA_object_force_types.h.

◆ drawvec2

float PartDeflect::drawvec2[4]

Runtime only : end of the curve.

Definition at line 148 of file DNA_object_force_types.h.

◆ drawvec_falloff_max

float PartDeflect::drawvec_falloff_max[3]

Runtime only.

Definition at line 153 of file DNA_object_force_types.h.

◆ drawvec_falloff_min

float PartDeflect::drawvec_falloff_min[3]

Runtime only.

Definition at line 150 of file DNA_object_force_types.h.

◆ f_damp

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().

◆ 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 79 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 140 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 90 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 96 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 86 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

◆ f_strength

float PartDeflect::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 81 of file DNA_object_force_types.h.

Referenced by BKE_effectors_apply(), and BKE_partdeflect_new().

◆ falloff

short PartDeflect::falloff

Fall-off type.

Definition at line 62 of file DNA_object_force_types.h.

Referenced by effector_falloff().

◆ flag

int PartDeflect::flag

◆ forcefield

short PartDeflect::forcefield

◆ free_end

float PartDeflect::free_end

Definition at line 128 of file DNA_object_force_types.h.

Referenced by do_guides().

◆ kink

short PartDeflect::kink

For curve guide.

Definition at line 68 of file DNA_object_force_types.h.

Referenced by do_guides().

◆ kink_amp

float PartDeflect::kink_amp

Definition at line 128 of file DNA_object_force_types.h.

Referenced by do_guides().

◆ kink_axis

short PartDeflect::kink_axis

Definition at line 68 of file DNA_object_force_types.h.

Referenced by do_guides().

◆ kink_freq

float PartDeflect::kink_freq

Definition at line 128 of file DNA_object_force_types.h.

Referenced by do_guides().

◆ kink_shape

float PartDeflect::kink_shape

Definition at line 128 of file DNA_object_force_types.h.

Referenced by do_guides().

◆ maxdist

float PartDeflect::maxdist

If indicated, use this maximum.

Definition at line 92 of file DNA_object_force_types.h.

Referenced by falloff_func_dist().

◆ maxrad

float PartDeflect::maxrad

Radial versions of above.

Definition at line 98 of file DNA_object_force_types.h.

Referenced by falloff_func_rad().

◆ mindist

float PartDeflect::mindist

If indicated, use this minimum.

Definition at line 94 of file DNA_object_force_types.h.

Referenced by falloff_func_dist().

◆ minrad

float PartDeflect::minrad

Definition at line 99 of file DNA_object_force_types.h.

Referenced by falloff_func_rad().

◆ pdef_cfrict

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().

◆ pdef_damp

float PartDeflect::pdef_damp

Damping factor for particle deflection.

Definition at line 103 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 109 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 107 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 105 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 111 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 122 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 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().

◆ pdef_stickness

float PartDeflect::pdef_stickness

Surface particle stickiness.

Definition at line 113 of file DNA_object_force_types.h.

Referenced by collision_response().

◆ rng

struct RNG* PartDeflect::rng

◆ seed

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().

◆ shape

short PartDeflect::shape

◆ tex

struct Tex* PartDeflect::tex

◆ tex_mode

short PartDeflect::tex_mode

Texture effector.

Definition at line 66 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 132 of file DNA_object_force_types.h.

Referenced by do_texture_effector().

◆ zdir

short PartDeflect::zdir

Definition at line 69 of file DNA_object_force_types.h.

Referenced by effector_falloff().


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