Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesdna/DNA_object_force_types.h
| Show First 20 Lines • Show All 116 Lines • ▼ Show 20 Lines | typedef struct PartDeflect { | ||||
| float drawvec2[4]; /* Runtime only : end of the curve */ | float drawvec2[4]; /* Runtime only : end of the curve */ | ||||
| float drawvec_falloff_min[3], pad1; /* Runtime only */ | float drawvec_falloff_min[3], pad1; /* Runtime only */ | ||||
| float drawvec_falloff_max[3], pad2; /* Runtime only */ | float drawvec_falloff_max[3], pad2; /* Runtime only */ | ||||
| struct Object *f_source; /* force source object */ | struct Object *f_source; /* force source object */ | ||||
| } PartDeflect; | } PartDeflect; | ||||
| typedef struct EffectorWeights { | typedef struct EffectorWeights { | ||||
| struct Group *group; /* only use effectors from this group of objects */ | struct Collection *group; /* only use effectors from this group of objects */ | ||||
| float weight[14]; /* effector type specific weights */ | float weight[14]; /* effector type specific weights */ | ||||
| float global_gravity; | float global_gravity; | ||||
| short flag, rt[3]; | short flag, rt[3]; | ||||
| int pad; | int pad; | ||||
| } EffectorWeights; | } EffectorWeights; | ||||
| /* EffectorWeights->flag */ | /* EffectorWeights->flag */ | ||||
| ▲ Show 20 Lines • Show All 153 Lines • ▼ Show 20 Lines | typedef struct SoftBody { | ||||
| struct SBScratch *scratch; /* scratch pad/cache on live time not saved in file */ | struct SBScratch *scratch; /* scratch pad/cache on live time not saved in file */ | ||||
| float shearstiff; | float shearstiff; | ||||
| float inpush; | float inpush; | ||||
| struct PointCache *pointcache; | struct PointCache *pointcache; | ||||
| struct ListBase ptcaches; | struct ListBase ptcaches; | ||||
| struct Group *collision_group; | struct Collection *collision_group; | ||||
| struct EffectorWeights *effector_weights; | struct EffectorWeights *effector_weights; | ||||
| /* reverse esimated obmatrix .. no need to store in blend file .. how ever who cares */ | /* reverse esimated obmatrix .. no need to store in blend file .. how ever who cares */ | ||||
| float lcom[3]; | float lcom[3]; | ||||
| float lrot[3][3]; | float lrot[3][3]; | ||||
| float lscale[3][3]; | float lscale[3][3]; | ||||
| int last_frame; | int last_frame; | ||||
| ▲ Show 20 Lines • Show All 107 Lines • Show Last 20 Lines | |||||