15 .
description(
"The corner to retrieve data from. Defaults to the corner from the context")
16 .structure_type(StructureType::Field);
18 .field_source_reference_all()
19 .
description(
"The vertex the corner is attached to");
33 if (domain != AttrDomain::Corner) {
41 return 30495867093876;
51 return AttrDomain::Corner;
57 params.set_output(
"Vertex Index",
58 Field<int>(std::make_shared<bke::EvaluateAtIndexInput>(
60 Field<int>(std::make_shared<CornerVertFieldInput>()),
61 AttrDomain::Corner)));
69 ntype.
ui_name =
"Vertex of Corner";
70 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 from_span(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