15 b.use_custom_socket_order();
16 b.allow_any_socket_order();
19 .align_with_previous()
20 .
description(
"Mesh to override the face set attribute on");
24 .evaluated_geometry_field();
25 b.add_input<
decl::Int>(
"Face Set"_ustr).hide_value().evaluated_geometry_field();
49 mesh->attributes_for_write().remove(
".sculpt_face_set");
#define NODE_CLASS_GEOMETRY
#define GEO_NODE_TOOL_SET_FACE_SET
#define NOD_REGISTER_NODE(REGISTER_FUNC)
T extract_input(const UString identifier)
void set_output(const UString identifier, T &&value)
bool try_capture_field_on_geometry(MutableAttributeAccessor attributes, const fn::FieldContext &field_context, const StringRef name, AttrDomain domain, const fn::Field< bool > &selection, const fn::GField &field)
void node_register_type(bNodeType &ntype)
void evaluate_constant_field(const GField &field, void *r_value)
void foreach_real_geometry(bke::GeometrySet &geometry, FunctionRef< void(bke::GeometrySet &geometry_set)> fn)
void search_link_ops_for_tool_node(GatherLinkSearchOpParams ¶ms)
bool check_tool_context_and_error(GeoNodeExecParams ¶ms)
void geo_node_type_base(bke::bNodeType *ntype, UString idname, const std::optional< int16_t > legacy_type)
std::string ui_description
NodeGeometryExecFunction geometry_node_execute
const char * enum_name_legacy
NodeGatherSocketLinkOperationsFunction gather_link_search_ops
NodeDeclareFunction declare