16 .structure_type(StructureType::Field)
18 "The number of vertices connected to this vertex with an edge, "
19 "equal to the number of connected edges");
21 .structure_type(StructureType::Field)
22 .
description(
"Number of faces that contain the vertex");
33 if (domain != AttrDomain::Point) {
43 static constexpr int8_t id = 0;
49 return AttrDomain::Point;
63 if (domain != AttrDomain::Point) {
73 static constexpr int8_t id = 0;
79 return AttrDomain::Point;
94 ntype.
ui_name =
"Vertex Neighbors";
95 ntype.
ui_description =
"Retrieve topology information relating to each vertex of a mesh";
#define GEO_NODE_INPUT_MESH_VERTEX_NEIGHBORS
#define NOD_REGISTER_NODE(REGISTER_FUNC)
static VArray from_container(ContainerT container)
static Field from_input(Args &&...args)
void set_output(const UString identifier, T &&value)
void count_indices(Span< int > indices, MutableSpan< int > counts)
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
const char * enum_name_legacy
NodeDeclareFunction declare