|
Blender V5.0
|
Classes | |
| class | PointsOfCurveInput |
| class | CurvePointCountInput |
Functions | |
| static void | node_declare (NodeDeclarationBuilder &b) |
| static bool | use_start_point_special_case (const Field< int > &curve_index, const Field< int > &sort_index, const Field< float > &sort_weights) |
| static void | node_geo_exec (GeoNodeExecParams params) |
| static void | node_register () |
|
static |
Definition at line 13 of file node_geo_curve_topology_points_of_curve.cc.
References b, blender::nodes::SocketDeclaration::description, blender::nodes::SocketDeclaration::hide_value, min, and NODE_DEFAULT_INPUT_INDEX_FIELD.
Referenced by node_register().
|
static |
Definition at line 200 of file node_geo_curve_topology_points_of_curve.cc.
References params.
Referenced by node_register().
|
static |
Definition at line 219 of file node_geo_curve_topology_points_of_curve.cc.
References blender::bke::bNodeType::declare, blender::bke::bNodeType::enum_name_legacy, GEO_NODE_CURVE_TOPOLOGY_POINTS_OF_CURVE, geo_node_type_base(), blender::bke::bNodeType::geometry_node_execute, blender::bke::bNodeType::nclass, NODE_CLASS_INPUT, node_declare(), node_geo_exec(), blender::bke::node_register_type(), blender::bke::bNodeType::ui_description, and blender::bke::bNodeType::ui_name.
|
static |
The node is often used to retrieve the root point of the curve. If the curve indices are in order, the sort weights have no effect, and the sort index is the first point, then we can just return the curve offsets as a span directly.
Definition at line 37 of file node_geo_curve_topology_points_of_curve.cc.
References blender::fn::FieldNode::depends_on_input(), blender::fn::evaluate_constant_field(), and blender::fn::GFieldBase< NodePtr >::node().
Referenced by blender::nodes::node_geo_curve_topology_points_of_curve_cc::PointsOfCurveInput::get_varray_for_context().