14 b.use_custom_socket_order();
15 b.allow_any_socket_order();
17 b.add_input<
decl::Geometry>(
"Geometry"_ustr).description(
"Geometry to get the bundle of");
18 b.add_output<
decl::Geometry>(
"Geometry"_ustr).propagate_all().align_with_previous();
23 "Removing the bundle from the geometry can be beneficial to avoid unnecessary data "
30 const bool remove = params.
extract_input<
bool>(
"Remove"_ustr);
38 params.
set_output(
"Geometry"_ustr, std::move(geometry_set));
39 params.
set_output(
"Bundle"_ustr, std::move(bundle));
47 ntype.
ui_name =
"Get Geometry Bundle";
#define NODE_CLASS_GEOMETRY
#define NOD_REGISTER_NODE(REGISTER_FUNC)
T extract_input(const UString identifier)
void set_output(const UString identifier, T &&value)
void node_register_type(bNodeType &ntype)
static void node_register()
static void node_declare(NodeDeclarationBuilder &b)
static void node_geo_exec(GeoNodeExecParams params)
ImplicitSharingPtr< Bundle > BundlePtr
void geo_node_type_base(bke::bNodeType *ntype, UString idname, const std::optional< int16_t > legacy_type)
const nodes::BundlePtr & bundle_ptr() const
static constexpr int _160
std::string ui_description
NodeGeometryExecFunction geometry_node_execute
NodeDeclareFunction declare