12 b.add_output<
decl::Int>(
N_(
"Point Count")).field_source();
35 return component.attributes()->adapt_domain<
int>(
74 Field<float> spline_length_field{std::make_shared<bke::CurveLengthFieldInput>()};
75 Field<int> spline_count_field{std::make_shared<SplineCountFieldInput>()};
77 params.set_output(
"Length", std::move(spline_length_field));
78 params.set_output(
"Point Count", std::move(spline_count_field));
Low-level operations for curves.
@ GEO_COMPONENT_TYPE_CURVE
#define GEO_NODE_INPUT_SPLINE_LENGTH
void nodeRegisterType(struct bNodeType *ntype)
static uint8 component(Color32 c, uint i)
Group Output data from inside of a node group A color picker Mix two input colors RGB to Convert a color s luminance to a grayscale value Generate a normal vector and a dot product Bright Control the brightness and contrast of the input color Vector Map an input vectors to curves
static VArray ForFunc(const int64_t size, GetFunc get_func)
static CurvesGeometry & wrap(::CurvesGeometry &dna_struct)
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