|
Blender V4.5
|
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, create_spiral_curve(), CURVE_TYPE_POLY, blender::bke::curves_new_nomain_single(), Curves::geometry, i, blender::IndexRange::IndexRange(), M_PI, blender::bke::CurvesGeometry::positions_for_write(), sin, x, y, and z().
Referenced by create_spiral_curve(), and 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, node_declare(), PROP_DISTANCE, PROP_UNSIGNED, blender::nodes::decl::Float::subtype, and blender::nodes::decl::Int::subtype.
Referenced by node_declare(), and node_register().
|
static |
Definition at line 72 of file node_geo_curve_primitive_spiral.cc.
References create_spiral_curve(), blender::nodes::GeoNodeExecParams::extract_input(), blender::nodes::GeometrySet::from_curves(), node_geo_exec(), blender::nodes::GeoNodeExecParams::set_default_remaining_outputs(), and blender::nodes::GeoNodeExecParams::set_output().
Referenced by node_geo_exec(), and node_register().
|
static |
Definition at line 89 of file node_geo_curve_primitive_spiral.cc.
References blender::bke::bNodeType::declare, blender::bke::bNodeType::enum_name_legacy, GEO_NODE_CURVE_PRIMITIVE_SPIRAL, geo_node_type_base(), blender::bke::bNodeType::geometry_node_execute, blender::bke::bNodeType::nclass, NODE_CLASS_GEOMETRY, node_declare(), node_geo_exec(), node_register(), blender::bke::node_register_type(), blender::bke::bNodeType::ui_description, and blender::bke::bNodeType::ui_name.
Referenced by node_register().