11 b.use_custom_socket_order();
12 b.allow_any_socket_order();
13 b.add_input<
decl::Geometry>(
"Geometry").description(
"Geometry to override the name of");
14 b.add_output<
decl::Geometry>(
"Geometry").propagate_all().align_with_previous();
21 std::string
name =
params.extract_input<std::string>(
"Name");
23 params.set_output(
"Geometry", std::move(geometry_set));
31 ntype.
ui_name =
"Set Geometry Name";
32 ntype.
ui_description =
"Set the name of a geometry for easier debugging";
#define NODE_CLASS_GEOMETRY
#define GEO_NODE_SET_GEOMETRY_NAME
#define NOD_REGISTER_NODE(REGISTER_FUNC)
void node_register_type(bNodeType &ntype)
static void node_register()
static void node_geo_exec(GeoNodeExecParams params)
static void node_declare(NodeDeclarationBuilder &b)
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
NodeDeclareFunction declare