Blender
V3.3
|
Public Member Functions | |
GAttributeReader | try_get_for_read (const void *owner, const AttributeIDRef &attribute_id) const final |
GAttributeWriter | try_get_for_write (void *owner, const AttributeIDRef &attribute_id) const final |
bool | try_delete (void *owner, const AttributeIDRef &attribute_id) const final |
bool | foreach_attribute (const void *owner, const AttributeForeachCallback callback) const final |
void | foreach_domain (const FunctionRef< void(eAttrDomain)> callback) const final |
![]() | |
virtual bool | try_create (void *owner, const AttributeIDRef &attribute_id, const eAttrDomain domain, const eCustomDataType data_type, const AttributeInit &initializer) const |
This provider makes vertex groups available as float attributes.
Definition at line 973 of file geometry_component_mesh.cc.
|
inlinefinalvirtual |
Implements blender::bke::DynamicAttributesProvider.
Definition at line 1068 of file geometry_component_mesh.cc.
References callback, LISTBASE_FOREACH, mesh, and Mesh::vertex_group_names.
|
inlinefinalvirtual |
Implements blender::bke::DynamicAttributesProvider.
Definition at line 1083 of file geometry_component_mesh.cc.
References ATTR_DOMAIN_POINT, and callback.
|
inlinefinalvirtual |
Implements blender::bke::DynamicAttributesProvider.
Definition at line 1029 of file geometry_component_mesh.cc.
References BKE_defvert_find_index(), BKE_defvert_remove_group(), BKE_id_defgroup_name_find(), BLI_remlink(), CD_MDEFORMVERT, CustomData_duplicate_referenced_layer(), MDeformWeight::def_nr, Mesh::dvert, Mesh::id, MEM_freeN, mesh, Node::name, Mesh::totvert, Mesh::vdata, and Mesh::vertex_group_names.
|
inlinefinalvirtual |
Implements blender::bke::DynamicAttributesProvider.
Definition at line 975 of file geometry_component_mesh.cc.
References ATTR_DOMAIN_POINT, BLI_findstringindex(), Mesh::dvert, blender::VArray< T >::ForSingle(), mesh, Node::name, Mesh::totvert, and Mesh::vertex_group_names.
|
inlinefinalvirtual |
Implements blender::bke::DynamicAttributesProvider.
Definition at line 1000 of file geometry_component_mesh.cc.
References ATTR_DOMAIN_POINT, BKE_object_defgroup_data_create(), BLI_findstringindex(), CD_MDEFORMVERT, CustomData_duplicate_referenced_layer(), Mesh::dvert, Mesh::id, mesh, Node::name, Mesh::totvert, Mesh::vdata, and Mesh::vertex_group_names.