16 .
description(
N_(
"The index of the first vertex in the edge"));
19 .
description(
N_(
"The index of the second vertex in the edge"));
22 .
description(
N_(
"The position of the first vertex in the edge"));
25 .
description(
N_(
"The position of the second vertex in the edge"));
35 if (
mesh ==
nullptr) {
41 [
mesh](
const int i) ->
int { return mesh->medge[i].v1; });
44 [
mesh](
const int i) ->
int { return mesh->medge[i].v2; });
73 return vertex_ ==
VERTEX_ONE ? 23847562893465 : 92384598734567;
80 return vertex_ == other_field->vertex_;
91 if (
mesh ==
nullptr) {
99 [
mesh](
const int i) { return float3(mesh->mvert[mesh->medge[i].v1].co); }),
106 [
mesh](
const int i) { return float3(mesh->mvert[mesh->medge[i].v2].co); }),
135 return vertex_ ==
VERTEX_ONE ? 987456978362 : 374587679866;
142 return vertex_ == other_field->vertex_;
155 params.set_output(
"Vertex Index 1", std::move(vertex_field_1));
156 params.set_output(
"Vertex Index 2", std::move(vertex_field_2));
157 params.set_output(
"Position 1", std::move(position_field_1));
158 params.set_output(
"Position 2", std::move(position_field_2));
@ GEO_COMPONENT_TYPE_MESH
#define GEO_NODE_INPUT_MESH_EDGE_VERTICES
void nodeRegisterType(struct bNodeType *ntype)
static uint8 component(Color32 c, uint i)
static VArray ForFunc(const int64_t size, GetFunc get_func)
StringRefNull description() const
ccl_device_inline float4 mask(const int4 &mask, const float4 &a)
static const pxr::TfToken b("b", pxr::TfToken::Immortal)
void geo_node_type_base(bNodeType *ntype, int type, const char *name, short nclass)
unsigned __int64 uint64_t
NodeGeometryExecFunction geometry_node_execute
NodeDeclareFunction declare