12 .description(
"Geometry to split into separate components");
34 const std::string &
name = geometry_set.
name;
61 params.set_output(
"Mesh", meshes);
62 params.set_output(
"Curve", curves);
63 params.set_output(
"Grease Pencil", grease_pencil);
64 params.set_output(
"Point Cloud", pointclouds);
65 params.set_output(
"Volume", volumes);
66 params.set_output(
"Instances", instances);
74 ntype.
ui_name =
"Separate Components";
76 "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