Blender V4.3
UvNearestHit Struct Reference

#include <uvedit_intern.hh>

Public Attributes

Objectob
 
BMFaceefa
 
BMLoopl
 
float dist_sq
 
float scale [2]
 

Detailed Description

Definition at line 25 of file uvedit_intern.hh.

Member Data Documentation

◆ dist_sq

float UvNearestHit::dist_sq

Needs to be set before calling nearest functions.

Note
When uv_nearest_hit_init_dist_px or uv_nearest_hit_init_max are used, this value is pixels squared.

Definition at line 37 of file uvedit_intern.hh.

Referenced by uv_nearest_hit_init_dist_px(), uv_nearest_hit_init_max(), and uv_nearest_hit_init_max_default().

◆ efa

BMFace* UvNearestHit::efa

Always set if we have a hit.

Definition at line 29 of file uvedit_intern.hh.

◆ l

BMLoop* UvNearestHit::l

Definition at line 30 of file uvedit_intern.hh.

◆ ob

Object* UvNearestHit::ob

Only for *_multi(..) versions of functions.

Definition at line 27 of file uvedit_intern.hh.

Referenced by do_lasso_select_mesh_uv(), uv_box_select_exec(), and uv_circle_select_exec().

◆ scale

float UvNearestHit::scale[2]

Scale the UVs to account for aspect ratio from the image view.

Definition at line 40 of file uvedit_intern.hh.


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