Blender V5.0
UvNearestHit Struct Reference

#include <uvedit_intern.hh>

Public Attributes

Objectob
BMFaceefa
BMLoopl
float dist_sq
float scale [2]

Detailed Description

Definition at line 26 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 38 of file uvedit_intern.hh.

Referenced by uv_find_nearest_edge(), uv_find_nearest_face_ex(), uv_find_nearest_vert(), uv_mouse_select_multi(), uv_nearest_hit_init_dist_px(), uv_nearest_hit_init_max(), and uv_nearest_hit_init_max_default().

◆ efa

◆ l

◆ ob

◆ scale

float UvNearestHit::scale[2]

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

Definition at line 41 of file uvedit_intern.hh.

Referenced by uv_find_nearest_edge(), uv_find_nearest_face_ex(), uv_find_nearest_vert(), uv_nearest_hit_init_dist_px(), uv_nearest_hit_init_max(), and uv_nearest_hit_init_max_default().


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