VertexWeightEditModifier(Modifier)
base classes — bpy_struct, Modifier
- class bpy.types.VertexWeightEditModifier(Modifier)
Edit the weights of vertices in a group
- add_threshold
Lower (inclusive) bound for a vertex’s weight to be added to the vgroup (in [-1000, 1000], default 0.01)
- Type:
float
- default_weight
Default weight a vertex will have if it is not in the vgroup (in [0, 1], default 0.0)
- Type:
float
- falloff_type
How weights are mapped to their new values (default
'LINEAR')LINEARLinear – Null action.CURVECustom Curve.SHARPSharp.SMOOTHSmooth.ROOTRoot.ICON_SPHERECURVESphere.RANDOMRandom.STEPMedian Step – Map all values below 0.5 to 0.0, and all others to 1.0.
- Type:
Literal[‘LINEAR’, ‘CURVE’, ‘SHARP’, ‘SMOOTH’, ‘ROOT’, ‘ICON_SPHERECURVE’, ‘RANDOM’, ‘STEP’]
- invert_falloff
Invert the resulting falloff weight (default False)
- Type:
bool
- invert_mask_vertex_group
Invert vertex group mask influence (default False)
- Type:
bool
- map_curve
Custom mapping curve (readonly)
- Type:
- mask_constant
Global influence of current modifications on vgroup (in [-inf, inf], default 1.0)
- Type:
float
- mask_tex_map_bone
Which bone to take texture coordinates from (default “”, never None)
- Type:
str
- mask_tex_mapping
Which texture coordinates to use for mapping (default
'LOCAL')LOCALLocal – Use local generated coordinates.GLOBALGlobal – Use global coordinates.OBJECTObject – Use local generated coordinates of another object.UVUV – Use coordinates from a UV layer.
- Type:
Literal[‘LOCAL’, ‘GLOBAL’, ‘OBJECT’, ‘UV’]
- mask_tex_use_channel
Which texture channel to use for masking (default
'INT')- Type:
Literal[‘INT’, ‘RED’, ‘GREEN’, ‘BLUE’, ‘HUE’, ‘SAT’, ‘VAL’, ‘ALPHA’]
- mask_tex_uv_layer
UV map name (default “”, never None)
- Type:
str
- mask_vertex_group
Masking vertex group name (default “”, never None)
- Type:
str
- normalize
Normalize the resulting weights (otherwise they are only clamped within 0.0 to 1.0 range) (default False)
- Type:
bool
- remove_threshold
Upper (inclusive) bound for a vertex’s weight to be removed from the vgroup (in [-1000, 1000], default 0.01)
- Type:
float
- use_add
Add vertices with weight over threshold to vgroup (default False)
- Type:
bool
- use_remove
Remove vertices with weight below threshold from vgroup (default False)
- Type:
bool
- vertex_group
Vertex group name (default “”, never None)
- Type:
str
- classmethod bl_rna_get_subclass(id, default=None, /)
- Parameters:
id (str) – The RNA type identifier.
default (
bpy.types.Struct| None) – The value to return when not found.
- Returns:
The RNA type or default when not found.
- Return type:
- classmethod bl_rna_get_subclass_py(id, default=None, /)
- Parameters:
id (str) – The RNA type identifier.
default (type | None) – The value to return when not found.
- Returns:
The class or default when not found.
- Return type:
type