|
Blender V4.3
|
Functions | |
| static void | node_declare (NodeDeclarationBuilder &b) |
| static Bounds< float3 > | calculate_bounds_ico_sphere (const float radius, const int subdivisions) |
| static Mesh * | create_ico_sphere_mesh (const int subdivisions, const float radius, const std::optional< std::string > &uv_map_id) |
| static void | node_geo_exec (GeoNodeExecParams params) |
| static void | node_register () |
|
static |
Definition at line 35 of file node_geo_mesh_primitive_ico_sphere.cc.
References delta_phi(), and M_PI.
Referenced by create_ico_sphere_mesh().
|
static |
Definition at line 63 of file node_geo_mesh_primitive_ico_sphere.cc.
References BKE_id_material_eval_ensure_default_slot(), BKE_id_new_nomain(), bm, BM_data_layer_add_named(), BM_mesh_bm_to_me(), BM_mesh_create(), BM_mesh_free(), BM_uv_map_ensure_select_and_pin_attrs(), BMO_FLAG_DEFAULTS, BMO_op_callf(), calculate_bounds_ico_sphere(), CD_PROP_FLOAT2, blender::geometry::debug_randomize_mesh_order(), ID_ME, blender::MatBase< float, 4, 4 >::identity(), BMesh::ldata, mesh, params, blender::lazy_threading::send_hint(), and BMeshCreateParams::use_toolflags.
Referenced by node_geo_exec().
|
static |
Definition at line 19 of file node_geo_mesh_primitive_ico_sphere.cc.
References b, blender::nodes::SocketDeclaration::description, PROP_DISTANCE, and blender::nodes::decl::Float::subtype.
Referenced by node_register().
|
static |
Definition at line 121 of file node_geo_mesh_primitive_ico_sphere.cc.
References create_ico_sphere_mesh(), blender::bke::GeometrySet::from_mesh(), and params.
Referenced by node_register().
|
static |
Definition at line 133 of file node_geo_mesh_primitive_ico_sphere.cc.
References blender::bke::bNodeType::declare, geo_node_type_base(), blender::bke::bNodeType::geometry_node_execute, NODE_CLASS_GEOMETRY, node_declare(), node_geo_exec(), and blender::bke::node_register_type().