Blender  V2.93
Functions
MOD_gpencil_util.h File Reference

Go to the source code of this file.

Functions

bool is_stroke_affected_by_modifier (struct Object *ob, char *mlayername, struct Material *material, const int mpassindex, const int gpl_passindex, const int minpoints, bGPDlayer *gpl, bGPDstroke *gps, const bool inv1, const bool inv2, const bool inv3, const bool inv4)
 
float get_modifier_point_weight (struct MDeformVert *dvert, bool inverse, int def_nr)
 

Function Documentation

◆ get_modifier_point_weight()

float get_modifier_point_weight ( struct MDeformVert dvert,
bool  inverse,
int  def_nr 
)

Definition at line 147 of file MOD_gpencil_util.c.

References BKE_defvert_find_index(), inverse(), NULL, and MDeformWeight::weight.

Referenced by deformStroke().

◆ is_stroke_affected_by_modifier()

bool is_stroke_affected_by_modifier ( struct Object ob,
char *  mlayername,
struct Material material,
const int  mpassindex,
const int  gpl_passindex,
const int  minpoints,
bGPDlayer gpl,
bGPDstroke gps,
const bool  inv1,
const bool  inv2,
const bool  inv3,
const bool  inv4 
)