Blender  V3.3
Public Attributes | List of all members
UvNearestHit Struct Reference

#include <uvedit_intern.h>

Public Attributes

struct Objectob
 
struct BMFaceefa
 
struct BMLoopl
 
float dist_sq
 
float scale [2]
 

Detailed Description

Definition at line 22 of file uvedit_intern.h.

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 34 of file uvedit_intern.h.

Referenced by uv_find_nearest_edge(), uv_find_nearest_face_ex(), uv_find_nearest_vert(), and uv_mouse_select_multi().

◆ efa

struct BMFace* UvNearestHit::efa

◆ l

struct BMLoop* UvNearestHit::l

◆ ob

struct Object* UvNearestHit::ob

◆ scale

float UvNearestHit::scale[2]

Scale the UV's to account for aspect ratio from the image view.

Definition at line 37 of file uvedit_intern.h.

Referenced by uv_find_nearest_edge(), uv_find_nearest_face_ex(), and uv_find_nearest_vert().


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