15 b.use_custom_socket_order();
16 b.allow_any_socket_order();
20 b.add_output<
decl::Geometry>(
"Points"_ustr).propagate_all_geometry().align_with_previous();
24 .evaluated_geometry_field();
29 .evaluated_geometry_field();
49 params.
set_output(
"Points"_ustr, std::move(geometry_set));
57 ntype.
ui_name =
"Set Point Radius";
58 ntype.
ui_description =
"Set the display size of point cloud points";
#define NODE_CLASS_GEOMETRY
#define GEO_NODE_SET_POINT_RADIUS
#define NOD_REGISTER_NODE(REGISTER_FUNC)
T extract_input(const UString identifier)
void set_output(const UString identifier, T &&value)
bool try_capture_field_on_geometry(MutableAttributeAccessor attributes, const fn::FieldContext &field_context, const StringRef name, AttrDomain domain, const fn::Field< bool > &selection, const fn::GField &field)
void node_register_type(bNodeType &ntype)
void foreach_real_geometry(bke::GeometrySet &geometry, FunctionRef< void(bke::GeometrySet &geometry_set)> fn)
static void node_geo_exec(GeoNodeExecParams params)
static void node_declare(NodeDeclarationBuilder &b)
static void node_register()
void geo_node_type_base(bke::bNodeType *ntype, UString idname, const std::optional< int16_t > legacy_type)
PointCloud * get_pointcloud_for_write()
std::string ui_description
NodeGeometryExecFunction geometry_node_execute
const char * enum_name_legacy
NodeDeclareFunction declare