33 const std::string &name = geometry_set.
name;
36 grease_pencil.
name = name;
37 pointclouds.
name = name;
39 instances.
name = name;
60 params.set_output(
"Mesh", meshes);
61 params.set_output(
"Curve", curves);
62 params.set_output(
"Grease Pencil", grease_pencil);
63 params.set_output(
"Point Cloud", pointclouds);
64 params.set_output(
"Volume", volumes);
65 params.set_output(
"Instances", instances);
73 ntype.
ui_name =
"Separate Components";
75 "Split a geometry into a separate output for each type of data in the geometry";
#define NODE_CLASS_GEOMETRY
#define GEO_NODE_SEPARATE_COMPONENTS
#define BLT_I18NCONTEXT_ID_ID
#define NOD_REGISTER_NODE(REGISTER_FUNC)
void node_register_type(bNodeType &ntype)
static void node_declare(NodeDeclarationBuilder &b)
static void node_register()
static void node_geo_exec(GeoNodeExecParams params)
void geo_node_type_base(blender::bke::bNodeType *ntype, std::string idname, const std::optional< int16_t > legacy_type)
bool has(const GeometryComponent::Type component_type) const
const GeometryComponent * get_component(GeometryComponent::Type component_type) const
void add(const GeometryComponent &component)
std::string ui_description
NodeGeometryExecFunction geometry_node_execute
const char * enum_name_legacy
NodeDeclareFunction declare