13 b.add_output<
decl::Float>(
"Point"_ustr).structure_type(StructureType::Field);
14 b.add_output<
decl::Float>(
"Fill"_ustr).structure_type(StructureType::Field);
20 params.
set_output(
"Point"_ustr, std::move(point_opacity));
23 params.
set_output(
"Fill"_ustr, std::move(fill_opacity));
31 ntype.
ui_name =
"Grease Pencil Opacity";
32 ntype.
ui_description =
"Retrieve the opacity of Grease Pencil points and fills";
#define NOD_REGISTER_NODE(REGISTER_FUNC)
void set_output(const UString identifier, T &&value)
void node_register_type(bNodeType &ntype)
static void node_geo_exec(GeoNodeExecParams params)
static void node_register()
static void node_declare(NodeDeclarationBuilder &b)
void geo_node_type_base(bke::bNodeType *ntype, UString idname, const std::optional< int16_t > legacy_type)
KERNEL_FEATURE_LIGHT_PASSES KERNEL_FEATURE_PATH_GUIDING float
static constexpr int _160
std::string ui_description
NodeGeometryExecFunction geometry_node_execute
NodeDeclareFunction declare