11 b.add_output<
decl::Int>(
"Reference Index"_ustr).structure_type(StructureType::Field);
17 params.
set_output(
"Reference Index"_ustr, std::move(reference_index));
25 ntype.
ui_name =
"Instance Reference";
26 ntype.
ui_description =
"Output the reference index of the instance";
#define NOD_REGISTER_NODE(REGISTER_FUNC)
void set_output(const UString identifier, T &&value)
void node_register_type(bNodeType &ntype)
void geo_node_type_base(bke::bNodeType *ntype, UString idname, const std::optional< int16_t > legacy_type)
std::string ui_description
NodeGeometryExecFunction geometry_node_execute
NodeDeclareFunction declare