15 .
description(
"The corner to retrieve data from. Defaults to the corner from the context");
17 .field_source_reference_all()
18 .
description(
"The vertex the corner is attached to");
32 if (domain != AttrDomain::Corner) {
40 return 30495867093876;
50 return AttrDomain::Corner;
56 params.set_output(
"Vertex Index",
57 Field<int>(std::make_shared<bke::EvaluateAtIndexInput>(
59 Field<int>(std::make_shared<CornerVertFieldInput>()),
60 AttrDomain::Corner)));
68 ntype.
ui_name =
"Vertex of Corner";
69 ntype.
ui_description =
"Retrieve the vertex each face corner is attached to";
#define GEO_NODE_MESH_TOPOLOGY_VERTEX_OF_CORNER
@ NODE_DEFAULT_INPUT_INDEX_FIELD
#define NOD_REGISTER_NODE(REGISTER_FUNC)
unsigned long long int uint64_t
static VArray ForSpan(Span< T > values)
void node_register_type(bNodeType &ntype)
static void node_register()
static void node_declare(NodeDeclarationBuilder &b)
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)
std::string ui_description
NodeGeometryExecFunction geometry_node_execute
const char * enum_name_legacy
NodeDeclareFunction declare