Blender V5.3
blender::BMUVSelectPickParams Struct Reference

#include <bmesh_uvselect.hh>

Public Attributes

int cd_loop_uv_offset = -1
bool shared = true

Detailed Description

Definition at line 263 of file bmesh_uvselect.hh.

Member Data Documentation

◆ cd_loop_uv_offset

int blender::BMUVSelectPickParams::cd_loop_uv_offset = -1

The custom data offset for the active UV layer. May be -1, in this case UV connectivity checks are skipped.

Definition at line 268 of file bmesh_uvselect.hh.

Referenced by blender::bm_edge_uvselect_set_pick(), blender::bm_face_uvselect_set_pick(), blender::BM_mesh_uvselect_set_elem_from_mesh(), and blender::BM_mesh_uvselect_set_elem_from_mesh().

◆ shared

bool blender::BMUVSelectPickParams::shared = true

If true, selection changes propagate to all other UV elements that share the same UV coordinates (contiguous selection).

Typically derived from #ToolSettings::uv_sticky, although in some cases it's assumed to be true (when switching selection modes for example) because the tool settings aren't available in that context.

A boolean can be used since "Shared Vertex" (uv_sticky mode) can check the meshes vertex selection directly.

Definition at line 280 of file bmesh_uvselect.hh.

Referenced by blender::bm_edge_uvselect_set_pick(), blender::bm_face_uvselect_set_pick(), blender::BM_mesh_uvselect_set_elem_from_mesh(), and blender::BM_mesh_uvselect_set_elem_from_mesh().


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