Blender V5.0
blender::bke::MeshGroup Struct Reference

#include <BKE_mesh_types.hh>

Public Attributes

IndexRange unique_verts
IndexRange faces
Array< int > shared_verts
int parent
int children_offset
int corners_count

Detailed Description

Definition at line 132 of file BKE_mesh_types.hh.

Member Data Documentation

◆ children_offset

int blender::bke::MeshGroup::children_offset

Children node offset (empty for leaf nodes).

Definition at line 145 of file BKE_mesh_types.hh.

Referenced by blender::bke::mesh_apply_spatial_organization().

◆ corners_count

int blender::bke::MeshGroup::corners_count

Number of corners in each group, calculated from number of faces.

Definition at line 147 of file BKE_mesh_types.hh.

Referenced by blender::bke::mesh_apply_spatial_organization().

◆ faces

IndexRange blender::bke::MeshGroup::faces

Range of all faces in reordered mesh.

Definition at line 136 of file BKE_mesh_types.hh.

Referenced by blender::bke::mesh_apply_spatial_organization().

◆ parent

int blender::bke::MeshGroup::parent

Parent node index (-1 for root).

Definition at line 143 of file BKE_mesh_types.hh.

Referenced by blender::bke::mesh_apply_spatial_organization().

◆ shared_verts

Array<int> blender::bke::MeshGroup::shared_verts

Indices of vertices that are shared with other groups in reordered mesh. This is empty if all vertices in the group are unique.

Definition at line 141 of file BKE_mesh_types.hh.

Referenced by blender::bke::mesh_apply_spatial_organization().

◆ unique_verts

IndexRange blender::bke::MeshGroup::unique_verts

Range of unique vertices in reordered mesh.

Definition at line 134 of file BKE_mesh_types.hh.

Referenced by blender::bke::mesh_apply_spatial_organization().


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