Blender V4.3
blender::bke::EditMeshData Struct Reference

#include <BKE_editmesh_cache.hh>

Public Attributes

Array< float3vert_positions
 
Array< float3vert_normals
 
Array< float3face_normals
 
Array< float3face_centers
 

Detailed Description

Definition at line 19 of file BKE_editmesh_cache.hh.

Member Data Documentation

◆ face_centers

Array<float3> blender::bke::EditMeshData::face_centers

Cache of face centers, also depends on vert_positions when it is not empty. Access via BKE_editmesh_cache_ensure_face_centers instead of directly.

Definition at line 40 of file BKE_editmesh_cache.hh.

Referenced by BKE_editmesh_cache_ensure_face_centers().

◆ face_normals

Array<float3> blender::bke::EditMeshData::face_normals

Lazily initialized face normal cache (used when vert_positions is set. Access via BKE_editmesh_cache_ensure_face_normals instead of directly.

Definition at line 35 of file BKE_editmesh_cache.hh.

Referenced by BKE_editmesh_cache_ensure_face_normals().

◆ vert_normals

Array<float3> blender::bke::EditMeshData::vert_normals

Lazily initialized vertex normal cache (used when vert_positions is set. Access via BKE_editmesh_cache_ensure_vert_normals instead of directly.

Definition at line 30 of file BKE_editmesh_cache.hh.

Referenced by BKE_editmesh_cache_ensure_vert_normals().

◆ vert_positions

Array<float3> blender::bke::EditMeshData::vert_positions

Deformed positions calculated by modifiers in the modifier stack that can process an edit mesh input. When this is not empty, the other arrays will depend on the values.

Definition at line 24 of file BKE_editmesh_cache.hh.

Referenced by BKE_editmesh_cache_calc_minmax(), BKE_editmesh_cache_ensure_face_centers(), BKE_editmesh_cache_ensure_face_normals(), BKE_editmesh_cache_ensure_vert_normals(), BKE_mesh_wrapper_ensure_mdata(), BKE_mesh_wrapper_vert_coords_copy(), BKE_mesh_wrapper_vert_coords_copy_with_mat4(), ensure_non_lazy_normals(), and mesh_data_from_duplicator_object().


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