15 b.use_custom_socket_order();
16 b.allow_any_socket_order();
19 "Mesh to override the face set attribute on");
21 b.add_input<
decl::Int>(
"Face Set").hide_value().field_on_all();
45 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)
bool depends_on_input() const
const FieldNode & node() const
ccl_device_inline bool is_zero(const float2 a)
void node_register_type(bNodeType &ntype)
bool try_capture_field_on_geometry(MutableAttributeAccessor attributes, const fn::FieldContext &field_context, const StringRef attribute_id, AttrDomain domain, const fn::Field< bool > &selection, const fn::GField &field)
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(blender::bke::bNodeType *ntype, std::string 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