Blender  V2.93
Macros | Functions
MOD_weightvg_util.h File Reference

Go to the source code of this file.

Macros

#define MOD_WVG_ZEROFLOOR   1.0e-32f
 

Functions

void weightvg_do_map (int num, float *new_w, short falloff_type, const bool do_invert, struct CurveMapping *cmap, struct RNG *rng)
 
void weightvg_do_mask (const ModifierEvalContext *ctx, const int num, const int *indices, float *org_w, const float *new_w, Object *ob, struct Mesh *mesh, const float fact, const char defgrp_name[MAX_VGROUP_NAME], struct Scene *scene, Tex *texture, const int tex_use_channel, const int tex_mapping, Object *tex_map_object, const char *text_map_bone, const char *tex_uvlayer_name, const bool invert_vgroup_mask)
 
void weightvg_update_vg (struct MDeformVert *dvert, int defgrp_idx, struct MDeformWeight **dws, int num, const int *indices, const float *weights, const bool do_add, const float add_thresh, const bool do_rem, const float rem_thresh, const bool do_normalize)
 
void weightvg_ui_common (const bContext *C, PointerRNA *ob_ptr, PointerRNA *ptr, uiLayout *layout)
 

Macro Definition Documentation

◆ MOD_WVG_ZEROFLOOR

#define MOD_WVG_ZEROFLOOR   1.0e-32f

Definition at line 54 of file MOD_weightvg_util.h.

Function Documentation

◆ weightvg_do_map()

void weightvg_do_map ( int  num,
float *  new_w,
short  falloff_type,
const bool  do_invert,
struct CurveMapping *  cmap,
struct RNG *  rng 
)

◆ weightvg_do_mask()

void weightvg_do_mask ( const ModifierEvalContext *  ctx,
const int  num,
const int *  indices,
float *  org_w,
const float *  new_w,
Object *  ob,
struct Mesh *  mesh,
const float  fact,
const char  defgrp_name[MAX_VGROUP_NAME],
struct Scene *  scene,
Tex *  texture,
const int  tex_use_channel,
const int  tex_mapping,
Object *  tex_map_object,
const char *  text_map_bone,
const char *  tex_uvlayer_name,
const bool  invert_vgroup_mask 
)

◆ weightvg_ui_common()

void weightvg_ui_common ( const bContext *  C,
PointerRNA *  ob_ptr,
PointerRNA *  ptr,
uiLayout *  layout 
)

◆ weightvg_update_vg()

void weightvg_update_vg ( struct MDeformVert *  dvert,
int  defgrp_idx,
struct MDeformWeight **  dws,
int  num,
const int *  indices,
const float *  weights,
const bool  do_add,
const float  add_thresh,
const bool  do_rem,
const float  rem_thresh,
const bool  do_normalize 
)