|
Blender V5.0
|
Public Member Functions | |
| void | emplace_field_context (const GeometrySet &geometry) |
| AttributeAccessor | input_attributes () const |
| MutableAttributeAccessor | attributes_for_write (GeometrySet &geometry) const |
Public Attributes | |
| ForeachElementComponentID | id |
| std::optional< bke::GeometryFieldContext > | field_context |
| std::optional< fn::FieldEvaluator > | field_evaluator |
| Array< SocketValueVariant > | index_values |
| Array< Array< SocketValueVariant > > | item_input_values |
| std::optional< Array< SocketValueVariant > > | element_geometries |
| IndexRange | body_nodes_range |
The For Each Geometry Element can iterate over multiple components at the same time. That can happen when the input geometry is e.g. a mesh and a pointcloud and we're iterating over points.
This struct contains evaluation data for each component.
Definition at line 51 of file geometry_nodes_foreach_geometry_element_zone.cc.
|
inline |
Definition at line 85 of file geometry_nodes_foreach_geometry_element_zone.cc.
References blender::bke::CurvesGeometry::attributes_for_write(), blender::bke::GeometryComponent::attributes_for_write(), BLI_assert, ELEM, and blender::bke::greasepencil::Drawing::strokes_for_write().
Referenced by blender::nodes::LazyFunctionForReduceForeachGeometryElement::handle_main_items_and_geometry().
|
inline |
Definition at line 66 of file geometry_nodes_foreach_geometry_element_zone.cc.
References ELEM.
Referenced by blender::nodes::LazyFunctionForForeachGeometryElementZone::prepare_components().
|
inline |
| IndexRange blender::nodes::ForeachElementComponent::body_nodes_range |
The set of body evaluation nodes that correspond to this component. This indexes into lf_body_nodes.
Definition at line 64 of file geometry_nodes_foreach_geometry_element_zone.cc.
Referenced by blender::nodes::LazyFunctionForForeachGeometryElementZone::build_graph_contents(), blender::nodes::LazyFunctionForReduceForeachGeometryElement::handle_generation_items_group(), and blender::nodes::LazyFunctionForForeachGeometryElementZone::prepare_components().
| std::optional<Array<SocketValueVariant> > blender::nodes::ForeachElementComponent::element_geometries |
Geometry for each iteration.
Definition at line 61 of file geometry_nodes_foreach_geometry_element_zone.cc.
Referenced by blender::nodes::LazyFunctionForForeachGeometryElementZone::build_graph_contents(), and blender::nodes::LazyFunctionForForeachGeometryElementZone::prepare_components().
| std::optional<bke::GeometryFieldContext> blender::nodes::ForeachElementComponent::field_context |
Used for field evaluation on the output node.
Definition at line 54 of file geometry_nodes_foreach_geometry_element_zone.cc.
Referenced by blender::nodes::LazyFunctionForForeachGeometryElementZone::prepare_components().
| std::optional<fn::FieldEvaluator> blender::nodes::ForeachElementComponent::field_evaluator |
Definition at line 55 of file geometry_nodes_foreach_geometry_element_zone.cc.
Referenced by blender::nodes::LazyFunctionForReduceForeachGeometryElement::handle_generation_items_group(), blender::nodes::LazyFunctionForReduceForeachGeometryElement::handle_main_items_and_geometry(), and blender::nodes::LazyFunctionForForeachGeometryElementZone::prepare_components().
| ForeachElementComponentID blender::nodes::ForeachElementComponent::id |
Definition at line 52 of file geometry_nodes_foreach_geometry_element_zone.cc.
Referenced by blender::nodes::LazyFunctionForReduceForeachGeometryElement::handle_generation_items_group(), blender::nodes::LazyFunctionForReduceForeachGeometryElement::handle_main_items_and_geometry(), and blender::nodes::LazyFunctionForForeachGeometryElementZone::prepare_components().
| Array<SocketValueVariant> blender::nodes::ForeachElementComponent::index_values |
Index values passed into each body node.
Definition at line 57 of file geometry_nodes_foreach_geometry_element_zone.cc.
Referenced by blender::nodes::LazyFunctionForForeachGeometryElementZone::build_graph_contents(), and blender::nodes::LazyFunctionForForeachGeometryElementZone::prepare_components().
| Array<Array<SocketValueVariant> > blender::nodes::ForeachElementComponent::item_input_values |
Evaluated input values passed into each body node.
Definition at line 59 of file geometry_nodes_foreach_geometry_element_zone.cc.
Referenced by blender::nodes::LazyFunctionForForeachGeometryElementZone::build_graph_contents().