Blender
V3.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, StrongAnonymousAttributeID &r_attribute) |
static void | node_geo_exec (GeoNodeExecParams params) |
|
static |
Definition at line 61 of file node_geo_curve_primitive_star.cc.
References ATTR_DOMAIN_POINT, component(), blender::bke::SpanAttributeWriter< T >::finish(), and blender::bke::SpanAttributeWriter< T >::span.
Referenced by node_geo_exec().
|
static |
Definition at line 36 of file node_geo_curve_primitive_star.cc.
References KDL::cos(), CURVE_TYPE_POLY, curves, blender::bke::curves_new_nomain_single(), Curves::geometry, M_PI, positions, KDL::sin(), blender::bke::CurvesGeometry::wrap(), x, and y.
Referenced by node_geo_exec().
|
static |
Definition at line 9 of file node_geo_curve_primitive_star.cc.
References usdtokens::b(), blender::nodes::SocketDeclaration::description(), N_, PROP_ANGLE, PROP_DISTANCE, and PROP_UNSIGNED.
Referenced by register_node_type_geo_curve_primitive_star().
|
static |
Definition at line 73 of file node_geo_curve_primitive_star.cc.
References create_selection_output(), create_star_curve(), GeometrySet::create_with_curves(), curves, max, output, and params.
Referenced by register_node_type_geo_curve_primitive_star().