Blender V5.3
blender::geometry::uv::UVMapInfo Class Reference

Classes

struct  UVLayer

Public Member Functions

void init (const Mesh &mesh)
void find_components (const ExtendableMesh &emesh)
bool contig_uv_maps_across_edge (const ExtendableMesh &mesh, int e, int f1, int f2) const
bool contig_uv_maps_around_vert (const ExtendableMesh &emesh, int v) const

Public Attributes

bool has_uv_maps = false
Array< int > face_component
Vector< UVLayer > uv_maps

Detailed Description

Definition at line 719 of file mesh_bevel.cc.

Member Function Documentation

◆ contig_uv_maps_across_edge()

bool blender::geometry::uv::UVMapInfo::contig_uv_maps_across_edge ( const ExtendableMesh & mesh,
int e,
int f1,
int f2 ) const

◆ contig_uv_maps_around_vert()

bool blender::geometry::uv::UVMapInfo::contig_uv_maps_around_vert ( const ExtendableMesh & emesh,
int v ) const

Returns true when UV data is contiguous at vertex v: all corners at v have the same UV value in every layer. Mirrors #contig_ldata_around_vert from bmesh_bevel.cc.

Definition at line 920 of file mesh_bevel.cc.

References has_uv_maps, blender::geometry::ExtendableMesh::src_vert_to_corner, uv_maps, blender::v, and blender::blender::vec_struct_base< T, Size, is_trivial_type >::values.

◆ find_components()

◆ init()

Member Data Documentation

◆ face_component

Array<int> blender::geometry::uv::UVMapInfo::face_component

◆ has_uv_maps

bool blender::geometry::uv::UVMapInfo::has_uv_maps = false

◆ uv_maps

Vector<UVLayer> blender::geometry::uv::UVMapInfo::uv_maps

Definition at line 728 of file mesh_bevel.cc.

Referenced by contig_uv_maps_across_edge(), contig_uv_maps_around_vert(), and init().


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