Blender V5.0
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 21 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 42 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 37 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 32 of file BKE_editmesh_cache.hh.

Referenced by BKE_editmesh_cache_ensure_vert_normals().

◆ vert_positions

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

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