Blender V5.0
blender::ed::sculpt_paint::MeshAttributeData Struct Reference

#include <mesh_brush_common.hh>

Public Member Functions

 MeshAttributeData (const Mesh &mesh)

Public Attributes

VArraySpan< floatmask
VArraySpan< bool > hide_vert
VArraySpan< bool > hide_poly
VArraySpan< int > face_sets

Detailed Description

Common set of mesh attributes used by a majority of brushes when calculating influence.

Definition at line 159 of file mesh_brush_common.hh.

Constructor & Destructor Documentation

◆ MeshAttributeData()

blender::ed::sculpt_paint::MeshAttributeData::MeshAttributeData ( const Mesh & mesh)
explicit

Member Data Documentation

◆ face_sets

◆ hide_poly

◆ hide_vert

VArraySpan<bool> blender::ed::sculpt_paint::MeshAttributeData::hide_vert

Definition at line 162 of file mesh_brush_common.hh.

Referenced by blender::ed::sculpt_paint::cloth::apply_filter_forces_mesh(), blender::ed::sculpt_paint::project::apply_projection_mesh(), blender::ed::sculpt_paint::cloth::calc_constraint_factors(), blender::ed::sculpt_paint::filter::calc_enhance_details_filter(), blender::ed::sculpt_paint::brushes::calc_faces(), blender::ed::sculpt_paint::calc_factors_common_from_orig_data_mesh(), blender::ed::sculpt_paint::calc_factors_common_mesh(), blender::ed::sculpt_paint::calc_factors_common_mesh_indexed(), blender::ed::sculpt_paint::cloth::calc_forces_mesh(), blender::ed::sculpt_paint::pose::calc_mesh(), blender::ed::sculpt_paint::filter::calc_random_filter(), blender::ed::sculpt_paint::filter::calc_relax_face_sets_filter(), blender::ed::sculpt_paint::filter::calc_relax_filter(), blender::ed::sculpt_paint::filter::calc_scale_filter(), blender::ed::sculpt_paint::filter::calc_sharpen_filter(), blender::ed::sculpt_paint::filter::calc_smooth_filter(), blender::ed::sculpt_paint::filter::calc_sphere_filter(), blender::ed::sculpt_paint::filter::calc_surface_smooth_filter(), blender::ed::sculpt_paint::color::color_filter_task(), blender::ed::sculpt_paint::color::do_color_smooth_task(), blender::ed::sculpt_paint::color::do_paint_brush_task(), blender::ed::sculpt_paint::cloth::do_simulation_step(), blender::ed::sculpt_paint::color::do_smear_brush_task(), blender::ed::sculpt_paint::elastic_transform_node_mesh(), MeshAttributeData(), blender::ed::sculpt_paint::brushes::sample_node_surface_mesh(), and blender::ed::sculpt_paint::transform_node_mesh().

◆ mask

VArraySpan<float> blender::ed::sculpt_paint::MeshAttributeData::mask

Definition at line 161 of file mesh_brush_common.hh.

Referenced by blender::ed::sculpt_paint::cloth::apply_filter_forces_mesh(), blender::ed::sculpt_paint::project::apply_projection_mesh(), blender::ed::sculpt_paint::cloth::calc_constraint_factors(), blender::ed::sculpt_paint::filter::calc_enhance_details_filter(), blender::ed::sculpt_paint::brushes::calc_faces(), blender::ed::sculpt_paint::calc_factors_common_from_orig_data_mesh(), blender::ed::sculpt_paint::calc_factors_common_mesh(), blender::ed::sculpt_paint::calc_factors_common_mesh_indexed(), blender::ed::sculpt_paint::cloth::calc_forces_mesh(), blender::ed::sculpt_paint::pose::calc_mesh(), blender::ed::sculpt_paint::filter::calc_random_filter(), blender::ed::sculpt_paint::filter::calc_relax_face_sets_filter(), blender::ed::sculpt_paint::filter::calc_relax_filter(), blender::ed::sculpt_paint::filter::calc_scale_filter(), blender::ed::sculpt_paint::filter::calc_sharpen_filter(), blender::ed::sculpt_paint::filter::calc_smooth_filter(), blender::ed::sculpt_paint::filter::calc_sphere_filter(), blender::ed::sculpt_paint::filter::calc_surface_smooth_filter(), blender::ed::sculpt_paint::color::color_filter_task(), blender::ed::sculpt_paint::color::do_color_smooth_task(), blender::ed::sculpt_paint::color::do_paint_brush_task(), blender::ed::sculpt_paint::cloth::do_simulation_step(), blender::ed::sculpt_paint::color::do_smear_brush_task(), blender::ed::sculpt_paint::elastic_transform_node_mesh(), MeshAttributeData(), blender::ed::sculpt_paint::brushes::sample_node_surface_mesh(), and blender::ed::sculpt_paint::transform_node_mesh().


The documentation for this struct was generated from the following files: