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 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 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_map_object

Which object to take texture coordinates from

Type :Object
mask_tex_mapping

Which texture coordinates to use for mapping

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 layer name

Type :string, default “”
mask_texture

Masking texture

Type :Texture
mask_vertex_group

Masking vertex group name

Type :string, default “”
mix_mode

How weights from vgroup 2 affect weights of vgroup 1

Type :enum in [‘SET’, ‘ADD’, ‘SUB’, ‘MUL’, ‘DIV’, ‘DIF’, ‘AVG’], default ‘SET’
mix_set

Which vertices should be affected

Type :enum in [‘ALL’, ‘A’, ‘B’, ‘OR’, ‘AND’], default ‘ALL’
vertex_group_a

First vertex group name

Type :string, default “”
vertex_group_b

Second vertex group name

Type :string, default “”

Inherited Properties

Inherited Functions

Previous topic

VertexWeightEditModifier(Modifier)

Next topic

VertexWeightProximityModifier(Modifier)