|
Blender V5.0
|
Functions | |
| static void | node_declare (NodeDeclarationBuilder &b) |
| static const auto & | get_add_fn () |
| static const auto & | get_sub_fn () |
| static void | set_points_position (bke::MutableAttributeAccessor attributes, const fn::FieldContext &field_context, const Field< bool > &selection_field, const Field< float3 > &position_field) |
| static void | set_curves_position (bke::CurvesGeometry &curves, const fn::FieldContext &field_context, const Field< bool > &selection_field, const Field< float3 > &position_field) |
| static void | set_position_in_grease_pencil (GreasePencil &grease_pencil, const Field< bool > &selection_field, const Field< float3 > &position_field) |
| static void | set_instances_position (bke::Instances &instances, const Field< bool > &selection_field, const Field< float3 > &position_field) |
| static void | node_geo_exec (GeoNodeExecParams params) |
| static void | node_register () |
|
static |
Definition at line 29 of file node_geo_set_position.cc.
References b.
Referenced by node_geo_exec(), and set_curves_position().
|
static |
Definition at line 38 of file node_geo_set_position.cc.
References b.
Referenced by set_curves_position().
|
static |
Definition at line 18 of file node_geo_set_position.cc.
References b, blender::nodes::SocketDeclaration::hide_value, NODE_DEFAULT_INPUT_POSITION_FIELD, and PROP_TRANSLATION.
Referenced by node_register().
|
static |
Definition at line 128 of file node_geo_set_position.cc.
References blender::fn::FieldOperation::from(), get_add_fn(), params, blender::bke::Point, set_curves_position(), set_instances_position(), set_points_position(), and set_position_in_grease_pencil().
Referenced by node_register().
|
static |
Definition at line 166 of file node_geo_set_position.cc.
References blender::bke::bNodeType::declare, blender::bke::bNodeType::enum_name_legacy, GEO_NODE_SET_POSITION, geo_node_type_base(), blender::bke::bNodeType::geometry_node_execute, blender::bke::bNodeType::nclass, NODE_CLASS_GEOMETRY, node_declare(), node_geo_exec(), blender::bke::node_register_type(), blender::bke::bNodeType::ui_description, and blender::bke::bNodeType::ui_name.
|
static |
Definition at line 60 of file node_geo_set_position.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), blender::bke::CurvesGeometry::attributes_for_write(), blender::bke::CurvesGeometry::calculate_bezier_auto_handles(), blender::bke::AttributeAccessor::contains(), blender::bke::AttributeFieldInput::from(), blender::fn::FieldOperation::from(), get_add_fn(), get_sub_fn(), name, blender::bke::Point, and blender::bke::try_capture_fields_on_geometry().
Referenced by node_geo_exec(), and set_position_in_grease_pencil().
|
static |
Definition at line 106 of file node_geo_set_position.cc.
References blender::fn::FieldEvaluator::add_with_destination(), blender::fn::FieldEvaluator::evaluate(), blender::index_mask::IndexMask::foreach_index(), blender::fn::FieldEvaluator::get_evaluated_selection_as_mask(), i, blender::bke::Instances::instances_num(), result, blender::fn::FieldEvaluator::set_selection(), and blender::bke::Instances::transforms_for_write().
Referenced by node_geo_exec().
|
static |
Definition at line 47 of file node_geo_set_position.cc.
References blender::bke::Point, and blender::bke::try_capture_field_on_geometry().
Referenced by node_geo_exec().
|
static |
Definition at line 87 of file node_geo_set_position.cc.
References blender::bke::CurvesGeometry::is_empty(), blender::bke::Point, set_curves_position(), blender::bke::greasepencil::Drawing::strokes(), blender::bke::greasepencil::Drawing::strokes_for_write(), and blender::bke::greasepencil::Drawing::tag_positions_changed().
Referenced by node_geo_exec().