Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/include/ED_view3d.h
| Show First 20 Lines • Show All 770 Lines • ▼ Show 20 Lines | |||||
| void ED_view3d_buttons_region_layout_ex(const struct bContext *C, | void ED_view3d_buttons_region_layout_ex(const struct bContext *C, | ||||
| struct ARegion *region, | struct ARegion *region, | ||||
| const char *category_override); | const char *category_override); | ||||
| /* view3d_view.c */ | /* view3d_view.c */ | ||||
| bool ED_view3d_local_collections_set(struct Main *bmain, struct View3D *v3d); | bool ED_view3d_local_collections_set(struct Main *bmain, struct View3D *v3d); | ||||
| void ED_view3d_local_collections_reset(struct bContext *C, const bool reset_all); | void ED_view3d_local_collections_reset(struct bContext *C, const bool reset_all); | ||||
| /* view3d_placement.c */ | |||||
| enum ePlaceDirection { | |||||
| /** Use the negative direction of the plane axis as up-axis for the | |||||
| * boundbox snapping (snap with front, left or bottom side). */ | |||||
| PLACE_DIRECTION_NEG, | |||||
| /** Use the positive direction of the plane axis as up-axis for the | |||||
| * boundbox snapping (snap with back, right or top side). */ | |||||
| PLACE_DIRECTION_POS, | |||||
| }; | |||||
| void ED_view3d_placement_plane_calc(struct bContext *C, | |||||
| const int mval[2], | |||||
| const int plane_axis, | |||||
| float r_co_src[3], | |||||
| float r_mat_orient[3][3]); | |||||
| void ED_view3d_placement_plane_boundbox_calc(struct bContext *C, | |||||
| const int mval[2], | |||||
| const struct BoundBox *boundbox, | |||||
| const enum ePlaceDirection direction, | |||||
| const float scale[3], | |||||
| float r_co_src[3], | |||||
| float r_mat_orient[3][3]); | |||||
| #ifdef WITH_XR_OPENXR | #ifdef WITH_XR_OPENXR | ||||
| void ED_view3d_xr_mirror_update(const struct ScrArea *area, | void ED_view3d_xr_mirror_update(const struct ScrArea *area, | ||||
| const struct View3D *v3d, | const struct View3D *v3d, | ||||
| const bool enable); | const bool enable); | ||||
| void ED_view3d_xr_shading_update(struct wmWindowManager *wm, | void ED_view3d_xr_shading_update(struct wmWindowManager *wm, | ||||
| const View3D *v3d, | const View3D *v3d, | ||||
| const struct Scene *scene); | const struct Scene *scene); | ||||
| bool ED_view3d_is_region_xr_mirror_active(const struct wmWindowManager *wm, | bool ED_view3d_is_region_xr_mirror_active(const struct wmWindowManager *wm, | ||||
| const struct View3D *v3d, | const struct View3D *v3d, | ||||
| const struct ARegion *region); | const struct ARegion *region); | ||||
| #endif | #endif | ||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| } | } | ||||
| #endif | #endif | ||||