|
Blender V4.3
|
Functions | |
| static void | node_declare (NodeDeclarationBuilder &b) |
| static Curves * | create_spiral_curve (const float rotations, const int resolution, const float start_radius, const float end_radius, const float height, const bool direction) |
| static void | node_geo_exec (GeoNodeExecParams params) |
| static void | node_register () |
|
static |
Definition at line 41 of file node_geo_curve_primitive_spiral.cc.
References cos(), CURVE_TYPE_POLY, blender::bke::curves_new_nomain_single(), float, Curves::geometry, M_PI, x, y, and z().
Referenced by node_geo_exec().
|
static |
Definition at line 11 of file node_geo_curve_primitive_spiral.cc.
References b, BLT_I18NCONTEXT_ID_NODETREE, blender::nodes::SocketDeclaration::description, PROP_DISTANCE, PROP_UNSIGNED, blender::nodes::decl::Float::subtype, and blender::nodes::decl::Int::subtype.
Referenced by node_register().
|
static |
Definition at line 72 of file node_geo_curve_primitive_spiral.cc.
References create_spiral_curve(), blender::bke::GeometrySet::from_curves(), and params.
Referenced by node_register().
|
static |
Definition at line 89 of file node_geo_curve_primitive_spiral.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().