15 .
description(
"The corner to retrieve data from. Defaults to the corner from the context")
16 .structure_type(StructureType::Field);
18 .structure_type(StructureType::Field)
19 .propagate_references()
20 .
description(
"The vertex the corner is attached to");
31 if (domain != AttrDomain::Corner) {
39 static constexpr int8_t id = 0;
45 return AttrDomain::Corner;
63 ntype.
ui_name =
"Vertex of Corner";
64 ntype.
ui_description =
"Retrieve the vertex each face corner is attached to";
#define GEO_NODE_MESH_TOPOLOGY_VERTEX_OF_CORNER
#define NOD_REGISTER_NODE(REGISTER_FUNC)
static VArray from_span(Span< T > values)
static Field from_input(Args &&...args)
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)
@ NODE_DEFAULT_INPUT_INDEX_FIELD
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