Blender V4.3
UvSculptData Struct Reference

Public Attributes

UvAdjacencyElementuv
 
int totalUniqueUvs
 
UvEdgeuvedges
 
int totalUvEdges
 
UVInitialStrokeinitial_stroke
 
wmTimertimer
 
UvElementMapelementMap
 
UvSculptuvsculpt
 
char tool
 
char invert
 
bool constrain_to_bounds
 
float uv_base_offset [2]
 

Detailed Description

Custom data for UV smoothing.

Definition at line 108 of file sculpt_uv.cc.

Member Data Documentation

◆ constrain_to_bounds

bool UvSculptData::constrain_to_bounds

Is constrain to image bounds active?

Definition at line 143 of file sculpt_uv.cc.

Referenced by apply_sculpt_data_constraints().

◆ elementMap

UvElementMap* UvSculptData::elementMap

To determine quickly adjacent UVs.

Definition at line 131 of file sculpt_uv.cc.

Referenced by relaxation_iteration_uv().

◆ initial_stroke

UVInitialStroke* UvSculptData::initial_stroke

data for initial stroke, used by tools like grab

Definition at line 125 of file sculpt_uv.cc.

Referenced by uv_sculpt_stroke_apply().

◆ invert

char UvSculptData::invert

Store invert flag here.

Definition at line 140 of file sculpt_uv.cc.

Referenced by uv_sculpt_stroke_apply().

◆ timer

wmTimer* UvSculptData::timer

Timer to be used for airbrush-type.

Definition at line 128 of file sculpt_uv.cc.

◆ tool

char UvSculptData::tool

Tool to use. duplicating here to change if modifier keys are pressed.

Definition at line 137 of file sculpt_uv.cc.

Referenced by uv_sculpt_stroke_apply().

◆ totalUniqueUvs

int UvSculptData::totalUniqueUvs

Total number of unique UVs.

Definition at line 116 of file sculpt_uv.cc.

Referenced by HC_relaxation_iteration_uv(), laplacian_relaxation_iteration_uv(), relaxation_iteration_uv(), and uv_sculpt_stroke_apply().

◆ totalUvEdges

int UvSculptData::totalUvEdges

Total number of UvEdge.

Definition at line 122 of file sculpt_uv.cc.

Referenced by HC_relaxation_iteration_uv(), and laplacian_relaxation_iteration_uv().

◆ uv

UvAdjacencyElement* UvSculptData::uv

Contains the first of each set of coincident UVs. These will be used to perform smoothing on and propagate the changes to their coincident UVs.

Definition at line 113 of file sculpt_uv.cc.

Referenced by HC_relaxation_iteration_uv(), laplacian_relaxation_iteration_uv(), relaxation_iteration_uv(), and uv_sculpt_stroke_apply().

◆ uv_base_offset

float UvSculptData::uv_base_offset[2]

Base for constrain_to_bounds.

Definition at line 146 of file sculpt_uv.cc.

Referenced by apply_sculpt_data_constraints().

◆ uvedges

UvEdge* UvSculptData::uvedges

Edges used for adjacency info, used with laplacian smoothing

Definition at line 119 of file sculpt_uv.cc.

Referenced by HC_relaxation_iteration_uv(), and laplacian_relaxation_iteration_uv().

◆ uvsculpt

UvSculpt* UvSculptData::uvsculpt

UV-smooth for fast reference.

Definition at line 134 of file sculpt_uv.cc.

Referenced by calc_strength(), and uv_sculpt_stroke_apply().


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