VertexWeightProximityModifier(Modifier)

base classes — bpy_struct, Modifier

class bpy.types.VertexWeightProximityModifier(Modifier)

Set the weights of vertices in a group from a target object’s distance.

falloff_type

How weights are mapped to there new values.

Type :enum in [‘LINEAR’, ‘SHARP’, ‘SMOOTH’, ‘ROOT’, ‘ICON_SPHERECURVE’, ‘RANDOM’, ‘STEP’], default ‘LINEAR’
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 “”
max_dist

Distance mapping to weight 1.0 (or weight 0.0 if below Lowest Dist).

Type :float in [0, inf], default 0.0
min_dist

Distance mapping to weight 0.0 (or weight 1.0 if above Highest Dist).

Type :float in [0, inf], default 0.0
proximity_geometry

Use the shortest computed distance to target object’s geometry as weight.

  • VERTEX Vertex, Compute distance to nearest vertex..
  • EDGE Edge, Compute distance to nearest edge..
  • FACE Face, Compute distance to nearest face..
Type :enum set in {‘VERTEX’, ‘EDGE’, ‘FACE’}, default {‘VERTEX’}
proximity_mode

Which distances to target object to use.

  • OBJECT Object Distance, Use distance between affected and target objects..
  • GEOMETRY Geometry Distance, Use distance between affected object’s vertices and target object, or target object’s geometry..
Type :enum in [‘OBJECT’, ‘GEOMETRY’], default ‘OBJECT’
target

Object to calculate vertices distances from.

Type :Object
vertex_group

Vertex group name.

Type :string, default “”

Inherited Properties

Inherited Functions

Previous topic

VertexWeightMixModifier(Modifier)

Next topic

VisibilityActuator(Actuator)