|
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(), and selection.
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(), blender::bke::CurvesGeometry::cyclic_for_write(), MutableSpan< T >::first(), Curves::geometry, M_PI, blender::bke::CurvesGeometry::positions_for_write(), 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::nodes::GeometrySet::from_curves(), output, 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_CURVE_PRIMITIVE_STAR, geo_node_type_base(), blender::bke::bNodeType::geometry_node_execute, NODE_CLASS_GEOMETRY, node_declare(), node_geo_exec(), and blender::bke::node_register_type().