|
Blender V4.3
|
Functions | |
| static void | node_declare (NodeDeclarationBuilder &b) |
| static Curves * | create_star_curve (const float inner_radius, const float outer_radius, const float twist, const int points) |
| static void | create_selection_output (CurveComponent &component, const StringRef &r_attribute) |
| static void | node_geo_exec (GeoNodeExecParams params) |
| static void | node_register () |
|
static |
Definition at line 63 of file node_geo_curve_primitive_star.cc.
References blender::bke::CurveComponent::attributes_for_write().
Referenced by node_geo_exec().
|
static |
Definition at line 38 of file node_geo_curve_primitive_star.cc.
References cos(), CURVE_TYPE_POLY, blender::bke::curves_new_nomain_single(), Curves::geometry, M_PI, x, and y.
Referenced by node_geo_exec().
|
static |
Definition at line 11 of file node_geo_curve_primitive_star.cc.
References b, blender::nodes::SocketDeclaration::description, PROP_ANGLE, PROP_DISTANCE, PROP_UNSIGNED, blender::nodes::decl::Float::subtype, and blender::nodes::decl::Int::subtype.
Referenced by node_register().
|
static |
Definition at line 74 of file node_geo_curve_primitive_star.cc.
References create_selection_output(), create_star_curve(), blender::bke::GeometrySet::from_curves(), and params.
Referenced by node_register().
|
static |
Definition at line 90 of file node_geo_curve_primitive_star.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().