|
Blender V4.3
|
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< FieldEvaluator > | field_evaluator |
| Array< SocketValueVariant > | index_values |
| Array< Array< SocketValueVariant > > | item_input_values |
| std::optional< Array< GeometrySet > > | 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 2118 of file geometry_nodes_lazy_function.cc.
|
inline |
Definition at line 2152 of file geometry_nodes_lazy_function.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().
|
inline |
Definition at line 2133 of file geometry_nodes_lazy_function.cc.
References ELEM.
Referenced by blender::nodes::LazyFunctionForForeachGeometryElementZone::prepare_components().
|
inline |
Definition at line 2147 of file geometry_nodes_lazy_function.cc.
Referenced by blender::nodes::LazyFunctionForForeachGeometryElementZone::prepare_components().
| 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 2131 of file geometry_nodes_lazy_function.cc.
Referenced by blender::nodes::LazyFunctionForForeachGeometryElementZone::prepare_components().
| std::optional<Array<GeometrySet> > blender::nodes::ForeachElementComponent::element_geometries |
Geometry for each iteration.
Definition at line 2128 of file geometry_nodes_lazy_function.cc.
Referenced by 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 2121 of file geometry_nodes_lazy_function.cc.
Referenced by blender::nodes::LazyFunctionForForeachGeometryElementZone::prepare_components().
| std::optional<FieldEvaluator> blender::nodes::ForeachElementComponent::field_evaluator |
Definition at line 2122 of file geometry_nodes_lazy_function.cc.
Referenced by blender::nodes::LazyFunctionForForeachGeometryElementZone::prepare_components().
| ForeachElementComponentID blender::nodes::ForeachElementComponent::id |
Definition at line 2119 of file geometry_nodes_lazy_function.cc.
Referenced by blender::nodes::LazyFunctionForForeachGeometryElementZone::prepare_components().
| Array<SocketValueVariant> blender::nodes::ForeachElementComponent::index_values |
Index values passed into each body node.
Definition at line 2124 of file geometry_nodes_lazy_function.cc.
Referenced by 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 2126 of file geometry_nodes_lazy_function.cc.
Referenced by blender::nodes::LazyFunctionForForeachGeometryElementZone::prepare_components().