Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/include/ED_uvedit.h
| Show All 21 Lines | |||||
| */ | */ | ||||
| #pragma once | #pragma once | ||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| extern "C" { | extern "C" { | ||||
| #endif | #endif | ||||
| struct ARegion; | |||||
| struct ARegionType; | struct ARegionType; | ||||
| struct BMEditMesh; | struct BMEditMesh; | ||||
| struct BMFace; | struct BMFace; | ||||
| struct BMLoop; | struct BMLoop; | ||||
| struct BMesh; | struct BMesh; | ||||
| struct Depsgraph; | struct Depsgraph; | ||||
| struct Image; | struct Image; | ||||
| struct ImageUser; | struct ImageUser; | ||||
| ▲ Show 20 Lines • Show All 190 Lines • ▼ Show 20 Lines | |||||
| void ED_uvedit_add_simple_uvs(struct Main *bmain, const struct Scene *scene, struct Object *ob); | void ED_uvedit_add_simple_uvs(struct Main *bmain, const struct Scene *scene, struct Object *ob); | ||||
| /* uvedit_draw.c */ | /* uvedit_draw.c */ | ||||
| void ED_image_draw_cursor(struct ARegion *region, const float cursor[2]); | void ED_image_draw_cursor(struct ARegion *region, const float cursor[2]); | ||||
| /* uvedit_buttons.c */ | /* uvedit_buttons.c */ | ||||
| void ED_uvedit_buttons_register(struct ARegionType *art); | void ED_uvedit_buttons_register(struct ARegionType *art); | ||||
| /* uvedit_islands.c */ | |||||
| struct UVPackIsland_Params { | |||||
| 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_faces : 1; | |||||
| uint correct_aspect : 1; | |||||
| }; | |||||
| void ED_uvedit_pack_islands_multi(const Scene *scene, | |||||
| Object **objects, | |||||
| const uint objects_len, | |||||
| const struct UVPackIsland_Params *params); | |||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| } | } | ||||
| #endif | #endif | ||||