Blender V5.3
blender::WeightVGProximityModifierData Struct Reference

#include <DNA_modifier_types.h>

Public Attributes

ModifierData modifier
char defgrp_name [64] = ""
struct CurveMapping * cmap_curve = nullptr
WeightVGProximityModifierProximityMode proximity_mode = MOD_WVG_PROXIMITY_OBJECT
WeightVGProximityModifierFlag proximity_flags = MOD_WVG_PROXIMITY_GEOM_VERTS
struct Object * proximity_ob_target = nullptr
float mask_constant = 1.0f
char mask_defgrp_name [64] = ""
WeightVGProximityModifierMaskTexChannel mask_tex_use_channel = MOD_WVG_MASK_TEX_USE_INT
struct Tex * mask_texture = nullptr
struct Object * mask_tex_map_obj = nullptr
char mask_tex_map_bone [64] = ""
DisplaceModifierTexMapping mask_tex_mapping = MOD_DISP_MAP_LOCAL
char mask_tex_uvlayer_name [68] = ""
char _pad1 [4] = {}
float min_dist = 0.0f
float max_dist = 1.0f
WeightVGProximityFalloff falloff_type = MOD_WVG_MAPPING_NONE
char _pad0 [2] = {}

Detailed Description

Definition at line 1774 of file DNA_modifier_types.h.

Member Data Documentation

◆ _pad0

char blender::WeightVGProximityModifierData::_pad0[2] = {}

Definition at line 1822 of file DNA_modifier_types.h.

◆ _pad1

char blender::WeightVGProximityModifierData::_pad1[4] = {}

Definition at line 1811 of file DNA_modifier_types.h.

◆ cmap_curve

struct CurveMapping* blender::WeightVGProximityModifierData::cmap_curve = nullptr

◆ defgrp_name

char blender::WeightVGProximityModifierData::defgrp_name[64] = ""

Name of vertex group to modify/weight.

Definition at line 1778 of file DNA_modifier_types.h.

Referenced by blender::is_disabled(), and blender::modify_mesh().

◆ falloff_type

WeightVGProximityFalloff blender::WeightVGProximityModifierData::falloff_type = MOD_WVG_MAPPING_NONE

Mapping modes (using MOD_WVG_MAPPING_* enums).

Definition at line 1819 of file DNA_modifier_types.h.

Referenced by blender::modify_mesh().

◆ mask_constant

float blender::WeightVGProximityModifierData::mask_constant = 1.0f

The global "influence", if no vgroup nor tex is used as mask.

Definition at line 1794 of file DNA_modifier_types.h.

Referenced by blender::modify_mesh().

◆ mask_defgrp_name

char blender::WeightVGProximityModifierData::mask_defgrp_name[64] = ""

Name of mask vertex group from which to get weight factors.

Definition at line 1796 of file DNA_modifier_types.h.

Referenced by blender::modify_mesh().

◆ mask_tex_map_bone

char blender::WeightVGProximityModifierData::mask_tex_map_bone[64] = ""

Name of the map bone.

Definition at line 1806 of file DNA_modifier_types.h.

Referenced by blender::modify_mesh(), and blender::update_depsgraph().

◆ mask_tex_map_obj

struct Object* blender::WeightVGProximityModifierData::mask_tex_map_obj = nullptr

Name of the map object.

Definition at line 1804 of file DNA_modifier_types.h.

Referenced by blender::foreach_ID_link(), blender::modify_mesh(), and blender::update_depsgraph().

◆ mask_tex_mapping

DisplaceModifierTexMapping blender::WeightVGProximityModifierData::mask_tex_mapping = MOD_DISP_MAP_LOCAL

How to map the texture.

Definition at line 1808 of file DNA_modifier_types.h.

Referenced by blender::modify_mesh(), blender::required_data_mask(), and blender::update_depsgraph().

◆ mask_tex_use_channel

WeightVGProximityModifierMaskTexChannel blender::WeightVGProximityModifierData::mask_tex_use_channel = MOD_WVG_MASK_TEX_USE_INT

Which channel to use as weightf.

Definition at line 1800 of file DNA_modifier_types.h.

Referenced by blender::modify_mesh().

◆ mask_tex_uvlayer_name

char blender::WeightVGProximityModifierData::mask_tex_uvlayer_name[68] = ""

Name of the UV Map.

Definition at line 1810 of file DNA_modifier_types.h.

Referenced by blender::modify_mesh().

◆ mask_texture

struct Tex* blender::WeightVGProximityModifierData::mask_texture = nullptr

◆ max_dist

float blender::WeightVGProximityModifierData::max_dist = 1.0f

Definition at line 1814 of file DNA_modifier_types.h.

Referenced by blender::modify_mesh().

◆ min_dist

float blender::WeightVGProximityModifierData::min_dist = 0.0f

Distances mapping to 0.0/1.0 weights.

Definition at line 1814 of file DNA_modifier_types.h.

Referenced by blender::modify_mesh().

◆ modifier

ModifierData blender::WeightVGProximityModifierData::modifier

Definition at line 1775 of file DNA_modifier_types.h.

Referenced by blender::modify_mesh().

◆ proximity_flags

WeightVGProximityModifierFlag blender::WeightVGProximityModifierData::proximity_flags = MOD_WVG_PROXIMITY_GEOM_VERTS

Options for proximity weighting.

Definition at line 1787 of file DNA_modifier_types.h.

Referenced by blender::blo_do_versions_300(), and blender::modify_mesh().

◆ proximity_mode

WeightVGProximityModifierProximityMode blender::WeightVGProximityModifierData::proximity_mode = MOD_WVG_PROXIMITY_OBJECT

Modes of proximity weighting.

Definition at line 1785 of file DNA_modifier_types.h.

Referenced by blender::modify_mesh(), and blender::update_depsgraph().

◆ proximity_ob_target

struct Object* blender::WeightVGProximityModifierData::proximity_ob_target = nullptr

The documentation for this struct was generated from the following file: