Blender V5.0
BMUVSelectPickParams Struct Reference

#include <bmesh_uvselect.hh>

Public Attributes

int cd_loop_uv_offset = -1
bool shared = true

Detailed Description

Definition at line 261 of file bmesh_uvselect.hh.

Member Data Documentation

◆ cd_loop_uv_offset

int 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 266 of file bmesh_uvselect.hh.

Referenced by bm_edge_uvselect_set_pick(), and bm_face_uvselect_set_pick().

◆ shared

bool 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 278 of file bmesh_uvselect.hh.

Referenced by bm_edge_uvselect_set_pick(), and bm_face_uvselect_set_pick().


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