Blender V5.3
blender::bke::MeshEditHints Struct Reference

#include <BKE_geometry_set.hh>

Public Attributes

GeometryComponentPtr mesh_deform
GeometryComponentPtr mesh_cage

Detailed Description

Definition at line 742 of file BKE_geometry_set.hh.

Member Data Documentation

◆ mesh_cage

GeometryComponentPtr blender::bke::MeshEditHints::mesh_cage

Evaluated mesh cage in edit mode.

Note
When the mesh's runtime->deformed_only is true, its vertex positions and other geometry arrays will be aligned the edit-mesh. Otherwise the CD_ORIGINDEX custom-data should be used to map the cage geometry back to the original indices, see eModifierTypeFlag_SupportsMapping.

Definition at line 758 of file BKE_geometry_set.hh.

Referenced by blender::BKE_object_get_editmesh_eval_cage(), and blender::bke::editbmesh_calc_modifiers().

◆ mesh_deform

GeometryComponentPtr blender::bke::MeshEditHints::mesh_deform

Mesh created by object evaluation. It only has leading deformation modifiers applied.

Todo
This should use a similar system to CurvesEditHints storing just an array for the deformed positions, but for historical reasons we copy the whole mesh.

Definition at line 749 of file BKE_geometry_set.hh.

Referenced by blender::BKE_object_get_mesh_deform_eval(), and blender::bke::mesh_calc_modifiers().


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