Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/include/ED_uvedit.h
| Show First 20 Lines • Show All 335 Lines • ▼ Show 20 Lines | struct UVMapUDIM_Params { | ||||
| int target_udim; | int target_udim; | ||||
| }; | }; | ||||
| bool ED_uvedit_udim_params_from_image_space(const struct SpaceImage *sima, | bool ED_uvedit_udim_params_from_image_space(const struct SpaceImage *sima, | ||||
| bool use_active, | bool use_active, | ||||
| struct UVMapUDIM_Params *udim_params); | struct UVMapUDIM_Params *udim_params); | ||||
| struct UVPackIsland_Params { | struct UVPackIsland_Params { | ||||
| uint rotate : 1; | uint rotate : 1; | ||||
| /** -1 not to align to axis, otherwise 0,1 for X,Y. */ | |||||
| int rotate_align_axis : 2; | |||||
| uint only_selected_uvs : 1; | uint only_selected_uvs : 1; | ||||
| uint only_selected_faces : 1; | uint only_selected_faces : 1; | ||||
| uint use_seams : 1; | uint use_seams : 1; | ||||
| uint correct_aspect : 1; | uint correct_aspect : 1; | ||||
| }; | }; | ||||
| /** | /** | ||||
| * Returns true if UV coordinates lie on a valid tile in UDIM grid or tiled image. | * Returns true if UV coordinates lie on a valid tile in UDIM grid or tiled image. | ||||
| Show All 13 Lines | |||||