VertexWeightMixModifier(Modifier)¶
base classes — bpy_struct, Modifier
-
class
bpy.types.VertexWeightMixModifier(Modifier)¶ Mix the weights of two vertex groups
-
default_weight_a¶ Default weight a vertex will have if it is not in the first A vgroup
Type: float in [0, 1], default 0.0
-
default_weight_b¶ Default weight a vertex will have if it is not in the second B vgroup
Type: float in [0, 1], default 0.0
-
mask_constant¶ Global influence of current modifications on vgroup
Type: float in [-inf, inf], default 0.0
-
mask_tex_mapping¶ Which texture coordinates to use for mapping
LOCALLocal, Use local generated coordinates.GLOBALGlobal, Use global coordinates.OBJECTObject, Use local generated coordinates of another object.UVUV, Use coordinates from an UV layer.
Type: enum in [‘LOCAL’, ‘GLOBAL’, ‘OBJECT’, ‘UV’], default ‘LOCAL’
-
mask_tex_use_channel¶ Which texture channel to use for masking
Type: enum in [‘INT’, ‘RED’, ‘GREEN’, ‘BLUE’, ‘HUE’, ‘SAT’, ‘VAL’, ‘ALPHA’], default ‘INT’
-
mask_tex_uv_layer¶ UV map name
Type: string, default “”, (never None)
-
mask_vertex_group¶ Masking vertex group name
Type: string, default “”, (never None)
-
mix_mode¶ How weights from vgroup B affect weights of vgroup A
SETReplace, Replace VGroup A’s weights by VGroup B’s ones.ADDAdd, Add VGroup B’s weights to VGroup A’s ones.SUBSubtract, Subtract VGroup B’s weights from VGroup A’s ones.MULMultiply, Multiply VGroup A’s weights by VGroup B’s ones.DIVDivide, Divide VGroup A’s weights by VGroup B’s ones.DIFDifference, Difference between VGroup A’s and VGroup B’s weights.AVGAverage, Average value of VGroup A’s and VGroup B’s weights.
Type: enum in [‘SET’, ‘ADD’, ‘SUB’, ‘MUL’, ‘DIV’, ‘DIF’, ‘AVG’], default ‘SET’
-
mix_set¶ Which vertices should be affected
ALLAll, Affect all vertices (might add some to VGroup A).AVGroup A, Affect vertices in VGroup A.BVGroup B, Affect vertices in VGroup B (might add some to VGroup A).ORVGroup A or B, Affect vertices in at least one of both VGroups (might add some to VGroup A).ANDVGroup A and B, Affect vertices in both groups.
Type: enum in [‘ALL’, ‘A’, ‘B’, ‘OR’, ‘AND’], default ‘ALL’
-
vertex_group_a¶ First vertex group name
Type: string, default “”, (never None)
-
vertex_group_b¶ Second vertex group name
Type: string, default “”, (never None)
-
classmethod
bl_rna_get_subclass(id, default=None)¶ Parameters: id (string) – The RNA type identifier. Returns: The RNA type or default when not found. Return type: bpy.types.Structsubclass
-
classmethod
bl_rna_get_subclass_py(id, default=None)¶ Parameters: id (string) – The RNA type identifier. Returns: The class or default when not found. Return type: type
-
Inherited Properties
Inherited Functions