15 b.use_custom_socket_order();
16 b.allow_any_socket_order();
18 .supported_type(GeometryComponent::Type::PointCloud)
20 b.add_output<
decl::Geometry>(
"Points").propagate_all().align_with_previous();
46 params.set_output(
"Points", std::move(geometry_set));
54 ntype.
ui_name =
"Set Point Radius";
55 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)
void node_register_type(bNodeType &ntype)
bool try_capture_field_on_geometry(MutableAttributeAccessor attributes, const fn::FieldContext &field_context, const StringRef attribute_id, AttrDomain domain, const fn::Field< bool > &selection, const fn::GField &field)
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(blender::bke::bNodeType *ntype, std::string 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