Blender
V3.3
|
Functions | |
static void | node_declare (NodeDeclarationBuilder &b) |
static void | set_material_index_in_component (GeometryComponent &component, const Field< bool > &selection_field, const Field< int > &index_field) |
static void | node_geo_exec (GeoNodeExecParams params) |
|
static |
Definition at line 7 of file node_geo_set_material_index.cc.
References usdtokens::b(), GEO_COMPONENT_TYPE_MESH, and N_.
Referenced by register_node_type_geo_set_material_index().
|
static |
Definition at line 36 of file node_geo_set_material_index.cc.
References GeometrySet::get_component_for_write(), GeometrySet::has_mesh(), GeometrySet::modify_geometry_sets(), params, and set_material_index_in_component().
Referenced by register_node_type_geo_set_material_index().
|
static |
Definition at line 15 of file node_geo_set_material_index.cc.
References ATTR_DOMAIN_FACE, component(), indices, blender::bke::MutableAttributeAccessor::lookup_or_add_for_write(), and blender::fn::FieldEvaluator::set_selection().
Referenced by node_geo_exec().