|
Blender V5.3
|
Functions | |
| static void | node_declare (NodeDeclarationBuilder &b) |
| static void | set_curve_normal (bke::CurvesGeometry &curves, const NormalMode mode, const fn::FieldContext &curve_context, const fn::FieldContext &point_context, const Field< bool > &selection_field, const Field< float3 > &custom_normal) |
| static void | set_grease_pencil_normal (GreasePencil &grease_pencil, const NormalMode mode, const Field< bool > &selection_field, const Field< float3 > &custom_normal) |
| static void | node_geo_exec (GeoNodeExecParams params) |
| static void | node_register () |
|
static |
Definition at line 16 of file node_geo_set_curve_normal.cc.
References b, blender::bke::GeometryComponent::Curve, blender::bke::GeometryComponent::GreasePencil, blender::nodes::SocketDeclaration::hide_value, node_declare(), blender::NORMAL_MODE_FREE, blender::nodes::SocketDeclaration::optional_label, blender::PROP_XYZ, and blender::rna_enum_curve_normal_mode_items.
Referenced by node_declare(), and node_register().
|
static |
Definition at line 89 of file node_geo_set_curve_normal.cc.
References blender::bke::Curve, blender::nodes::GeoNodeExecParams::extract_input(), blender::geometry::foreach_real_geometry(), blender::bke::GeometrySet::get_curves_for_write(), blender::bke::GeometrySet::get_grease_pencil_for_write(), blender::nodes::GeoNodeExecParams::get_input(), node_geo_exec(), blender::NORMAL_MODE_FREE, blender::bke::Point, set_curve_normal(), set_grease_pencil_normal(), and blender::nodes::GeoNodeExecParams::set_output().
Referenced by node_geo_exec(), and node_register().
|
static |
Definition at line 117 of file node_geo_set_curve_normal.cc.
References blender::bke::bNodeType::declare, blender::bke::bNodeType::enum_name_legacy, GEO_NODE_SET_CURVE_NORMAL, blender::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().
|
static |
Definition at line 39 of file node_geo_set_curve_normal.cc.
References blender::fn::FieldEvaluator::evaluate(), blender::nodes::Field< T >::from_input(), blender::fn::FieldEvaluator::get_evaluated_selection_as_mask(), blender::index_mask::masked_fill(), blender::NORMAL_MODE_FREE, set_curve_normal(), blender::fn::FieldEvaluator::set_selection(), and blender::bke::try_capture_field_on_geometry().
Referenced by node_geo_exec(), set_curve_normal(), and set_grease_pencil_normal().
|
static |
Definition at line 68 of file node_geo_set_curve_normal.cc.
References blender::bke::Curve, blender::bke::Point, set_curve_normal(), set_grease_pencil_normal(), and blender::bke::greasepencil::Drawing::strokes_for_write().
Referenced by node_geo_exec(), and set_grease_pencil_normal().