|
Blender V5.3
|
Public Attributes | |
| const Curves * | curves |
| Array< std::optional< GVArray > > | attributes |
| VArray< int > | stored_ids |
| VArray< int > | stored_fill_ids |
| VectorSet< int > | index_by_fill_id |
| Span< float3 > | handle_left |
| Span< float3 > | handle_right |
| VArray< float > | radius |
| VArray< int > | resolution |
| Span< float > | nurbs_weight |
| Span< float3 > | custom_normal |
Definition at line 138 of file realize_instances.cc.
Matches the order in #AllCurvesInfo.attributes.
Definition at line 143 of file realize_instances.cc.
Referenced by blender::geometry::preprocess_curves().
| const Curves* blender::geometry::RealizeCurveInfo::curves |
Definition at line 139 of file realize_instances.cc.
Referenced by blender::geometry::execute_realize_curve_task(), blender::geometry::execute_realize_curve_tasks(), blender::geometry::get_final_points_num(), and blender::geometry::preprocess_curves().
Custom normals are rotated based on each instance's transformation.
Definition at line 180 of file realize_instances.cc.
Referenced by blender::geometry::execute_realize_curve_task(), and blender::geometry::preprocess_curves().
Handle position attributes must be transformed along with positions. Accessing them in advance isn't necessary theoretically, but is done to simplify other code and to avoid some overhead.
Definition at line 158 of file realize_instances.cc.
Referenced by blender::geometry::execute_realize_curve_task(), and blender::geometry::preprocess_curves().
Definition at line 159 of file realize_instances.cc.
Referenced by blender::geometry::execute_realize_curve_task(), and blender::geometry::preprocess_curves().
| VectorSet<int> blender::geometry::RealizeCurveInfo::index_by_fill_id |
Set of all the fill ids in stored_fill_ids that are not 0.
Definition at line 151 of file realize_instances.cc.
Referenced by blender::geometry::gather_realize_tasks_recursive(), and blender::geometry::preprocess_curves().
The resolution attribute must be filled with the default value if it does not exist on some curves.
Definition at line 177 of file realize_instances.cc.
The radius attribute must be filled with a default of 1.0 if it doesn't exist on some (but not all) of the input curves data-blocks.
Definition at line 165 of file realize_instances.cc.
Referenced by blender::geometry::execute_realize_curve_task(), and blender::geometry::preprocess_curves().
| VArray<int> blender::geometry::RealizeCurveInfo::resolution |
The resolution attribute must be filled with the default value if it does not exist on some curves.
Definition at line 171 of file realize_instances.cc.
| VArray<int> blender::geometry::RealizeCurveInfo::stored_fill_ids |
fill_id attribute on the curves. If there are no fills, this VArray is empty.
Definition at line 149 of file realize_instances.cc.
Referenced by blender::geometry::preprocess_curves().
| VArray<int> blender::geometry::RealizeCurveInfo::stored_ids |
ID attribute on the curves. If there are no ids, this Span is empty.
Definition at line 146 of file realize_instances.cc.
Referenced by blender::geometry::preprocess_curves().