fake-bge-module 20250103__py3-none-any.whl → 20250201__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- addon_utils/__init__.pyi +11 -6
- aud/__init__.pyi +4 -0
- bge/types/__init__.pyi +66 -27
- bgl/__init__.pyi +2 -2
- bgui/image/__init__.pyi +3 -1
- bgui/system/__init__.pyi +12 -4
- bl_console_utils/autocomplete/complete_calltip/__init__.pyi +5 -2
- bl_console_utils/autocomplete/complete_import/__init__.pyi +6 -3
- bl_console_utils/autocomplete/complete_namespace/__init__.pyi +2 -1
- bl_console_utils/autocomplete/intellisense/__init__.pyi +8 -2
- bl_operators/node/__init__.pyi +78 -0
- bl_ui/anim/__init__.pyi +6 -0
- bl_ui/generic_ui_list/__init__.pyi +2 -2
- bl_ui/node_add_menu_shader/__init__.pyi +0 -1
- bl_ui/node_add_menu_texture/__init__.pyi +1 -0
- bl_ui/properties_data_camera/__init__.pyi +0 -2
- bl_ui/properties_mask_common/__init__.pyi +17 -0
- bl_ui/properties_material_gpencil/__init__.pyi +29 -0
- bl_ui/properties_scene/__init__.pyi +6 -0
- bl_ui/properties_view_layer/__init__.pyi +1 -0
- bl_ui/space_clip/__init__.pyi +53 -0
- bl_ui/space_graph/__init__.pyi +2 -0
- bl_ui/space_image/__init__.pyi +25 -0
- bl_ui/space_node/__init__.pyi +0 -1
- bl_ui/space_sequencer/__init__.pyi +2 -1
- blf/__init__.pyi +6 -3
- bmesh/ops/__init__.pyi +111 -54
- bmesh/types/__init__.pyi +134 -46
- bmesh/utils/__init__.pyi +17 -5
- bpy/__init__.pyi +1 -2
- bpy/_typing/__init__.pyi +4 -0
- bpy/{typing → _typing/rna_enums}/__init__.pyi +36 -36
- bpy/app/__init__.pyi +13 -5
- bpy/app/handlers/__init__.pyi +4 -2
- bpy/app/icons/__init__.pyi +6 -2
- bpy/app/translations/__init__.pyi +17 -8
- bpy/msgbus/__init__.pyi +14 -2
- bpy/ops/action/__init__.pyi +51 -151
- bpy/ops/anim/__init__.pyi +61 -179
- bpy/ops/armature/__init__.pyi +48 -147
- bpy/ops/asset/__init__.pyi +16 -71
- bpy/ops/boid/__init__.pyi +11 -44
- bpy/ops/brush/__init__.pyi +16 -42
- bpy/ops/buttons/__init__.pyi +6 -29
- bpy/ops/cachefile/__init__.pyi +5 -19
- bpy/ops/camera/__init__.pyi +2 -5
- bpy/ops/clip/__init__.pyi +95 -293
- bpy/ops/cloth/__init__.pyi +1 -3
- bpy/ops/collection/__init__.pyi +10 -26
- bpy/ops/console/__init__.pyi +21 -79
- bpy/ops/constraint/__init__.pyi +18 -45
- bpy/ops/curve/__init__.pyi +57 -186
- bpy/ops/curves/__init__.pyi +37 -109
- bpy/ops/cycles/__init__.pyi +3 -9
- bpy/ops/dpaint/__init__.pyi +8 -22
- bpy/ops/ed/__init__.pyi +20 -52
- bpy/ops/export_anim/__init__.pyi +1 -3
- bpy/ops/export_scene/__init__.pyi +55 -32
- bpy/ops/extensions/__init__.pyi +34 -110
- bpy/ops/file/__init__.pyi +40 -167
- bpy/ops/fluid/__init__.pyi +14 -77
- bpy/ops/font/__init__.pyi +23 -85
- bpy/ops/geometry/__init__.pyi +29 -46
- bpy/ops/gizmogroup/__init__.pyi +2 -9
- bpy/ops/gpencil/__init__.pyi +8 -32
- bpy/ops/graph/__init__.pyi +82 -201
- bpy/ops/grease_pencil/__init__.pyi +125 -324
- bpy/ops/image/__init__.pyi +61 -163
- bpy/ops/import_anim/__init__.pyi +1 -3
- bpy/ops/import_curve/__init__.pyi +1 -3
- bpy/ops/import_scene/__init__.pyi +4 -6
- bpy/ops/info/__init__.pyi +7 -29
- bpy/ops/lattice/__init__.pyi +11 -32
- bpy/ops/logic/__init__.pyi +26 -65
- bpy/ops/marker/__init__.pyi +11 -31
- bpy/ops/mask/__init__.pyi +39 -132
- bpy/ops/material/__init__.pyi +3 -19
- bpy/ops/mball/__init__.pyi +8 -19
- bpy/ops/mesh/__init__.pyi +223 -470
- bpy/ops/nla/__init__.pyi +42 -150
- bpy/ops/node/__init__.pyi +169 -393
- bpy/ops/object/__init__.pyi +320 -749
- bpy/ops/outliner/__init__.pyi +76 -268
- bpy/ops/paint/__init__.pyi +67 -147
- bpy/ops/paintcurve/__init__.pyi +8 -33
- bpy/ops/palette/__init__.pyi +7 -27
- bpy/ops/particle/__init__.pyi +39 -134
- bpy/ops/pose/__init__.pyi +64 -182
- bpy/ops/poselib/__init__.pyi +9 -33
- bpy/ops/preferences/__init__.pyi +35 -94
- bpy/ops/ptcache/__init__.pyi +7 -33
- bpy/ops/render/__init__.pyi +13 -37
- bpy/ops/rigidbody/__init__.pyi +22 -54
- bpy/ops/scene/__init__.pyi +47 -130
- bpy/ops/screen/__init__.pyi +46 -144
- bpy/ops/script/__init__.pyi +3 -11
- bpy/ops/sculpt/__init__.pyi +40 -94
- bpy/ops/sculpt_curves/__init__.pyi +4 -10
- bpy/ops/sequencer/__init__.pyi +104 -327
- bpy/ops/sound/__init__.pyi +17 -28
- bpy/ops/spreadsheet/__init__.pyi +4 -15
- bpy/ops/surface/__init__.pyi +6 -13
- bpy/ops/text/__init__.pyi +43 -175
- bpy/ops/text_editor/__init__.pyi +1 -3
- bpy/ops/texture/__init__.pyi +4 -21
- bpy/ops/transform/__init__.pyi +114 -134
- bpy/ops/ui/__init__.pyi +39 -120
- bpy/ops/uilist/__init__.pyi +3 -7
- bpy/ops/uv/__init__.pyi +58 -143
- bpy/ops/view2d/__init__.pyi +14 -39
- bpy/ops/view3d/__init__.pyi +68 -238
- bpy/ops/wm/__init__.pyi +178 -319
- bpy/ops/workspace/__init__.pyi +7 -33
- bpy/ops/world/__init__.pyi +2 -11
- bpy/path/__init__.pyi +16 -6
- bpy/props/__init__.pyi +157 -127
- bpy/types/__init__.pyi +35227 -34838
- bpy/utils/__init__.pyi +71 -25
- bpy/utils/previews/__init__.pyi +2 -1
- bpy/utils/units/__init__.pyi +2 -1
- bpy_extras/anim_utils/__init__.pyi +11 -3
- bpy_extras/bmesh_utils/__init__.pyi +2 -1
- bpy_extras/image_utils/__init__.pyi +5 -2
- bpy_extras/io_utils/__init__.pyi +12 -5
- bpy_extras/mesh_utils/__init__.pyi +27 -6
- bpy_extras/object_utils/__init__.pyi +6 -5
- bpy_extras/view3d_utils/__init__.pyi +9 -2
- {fake_bge_module-20250103.dist-info → fake_bge_module-20250201.dist-info}/METADATA +3 -3
- {fake_bge_module-20250103.dist-info → fake_bge_module-20250201.dist-info}/RECORD +153 -152
- {fake_bge_module-20250103.dist-info → fake_bge_module-20250201.dist-info}/WHEEL +1 -1
- freestyle/chainingiterators/__init__.pyi +7 -2
- freestyle/functions/__init__.pyi +16 -4
- freestyle/shaders/__init__.pyi +5 -1
- freestyle/types/__init__.pyi +103 -30
- freestyle/utils/ContextFunctions/__init__.pyi +2 -2
- freestyle/utils/__init__.pyi +2 -1
- gpu/capabilities/__init__.pyi +2 -1
- gpu/matrix/__init__.pyi +4 -2
- gpu/state/__init__.pyi +2 -2
- gpu/types/__init__.pyi +40 -8
- gpu_extras/batch/__init__.pyi +13 -1
- gpu_extras/presets/__init__.pyi +10 -1
- idprop/types/__init__.pyi +4 -2
- imbuf/__init__.pyi +6 -3
- imbuf/types/__init__.pyi +5 -2
- mathutils/__init__.pyi +126 -35
- mathutils/bvhtree/__init__.pyi +21 -6
- mathutils/geometry/__init__.pyi +68 -22
- mathutils/interpolate/__init__.pyi +5 -1
- mathutils/kdtree/__init__.pyi +21 -8
- mathutils/noise/__init__.pyi +2 -1
- rna_info/__init__.pyi +2 -1
- {fake_bge_module-20250103.dist-info → fake_bge_module-20250201.dist-info}/top_level.txt +0 -0
bpy/ops/image/__init__.pyi
CHANGED
|
@@ -1,32 +1,28 @@
|
|
|
1
1
|
import typing
|
|
2
2
|
import collections.abc
|
|
3
3
|
import typing_extensions
|
|
4
|
+
import bpy._typing.rna_enums
|
|
4
5
|
import bpy.types
|
|
5
|
-
import bpy.typing
|
|
6
6
|
import mathutils
|
|
7
7
|
|
|
8
8
|
def add_render_slot(
|
|
9
|
-
|
|
10
|
-
execution_context: int | str | None = None,
|
|
11
|
-
undo: bool | None = None,
|
|
9
|
+
execution_context: int | str | None = None, undo: bool | None = None
|
|
12
10
|
):
|
|
13
11
|
"""Add a new render slot
|
|
14
12
|
|
|
15
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
16
13
|
:type execution_context: int | str | None
|
|
17
14
|
:type undo: bool | None
|
|
18
15
|
"""
|
|
19
16
|
|
|
20
17
|
def change_frame(
|
|
21
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
22
18
|
execution_context: int | str | None = None,
|
|
23
19
|
undo: bool | None = None,
|
|
20
|
+
/,
|
|
24
21
|
*,
|
|
25
22
|
frame: int | None = 0,
|
|
26
23
|
):
|
|
27
24
|
"""Interactively change the current frame number
|
|
28
25
|
|
|
29
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
30
26
|
:type execution_context: int | str | None
|
|
31
27
|
:type undo: bool | None
|
|
32
28
|
:param frame: Frame
|
|
@@ -34,57 +30,45 @@ def change_frame(
|
|
|
34
30
|
"""
|
|
35
31
|
|
|
36
32
|
def clear_render_border(
|
|
37
|
-
|
|
38
|
-
execution_context: int | str | None = None,
|
|
39
|
-
undo: bool | None = None,
|
|
33
|
+
execution_context: int | str | None = None, undo: bool | None = None
|
|
40
34
|
):
|
|
41
35
|
"""Clear the boundaries of the render region and disable render region
|
|
42
36
|
|
|
43
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
44
37
|
:type execution_context: int | str | None
|
|
45
38
|
:type undo: bool | None
|
|
46
39
|
"""
|
|
47
40
|
|
|
48
41
|
def clear_render_slot(
|
|
49
|
-
|
|
50
|
-
execution_context: int | str | None = None,
|
|
51
|
-
undo: bool | None = None,
|
|
42
|
+
execution_context: int | str | None = None, undo: bool | None = None
|
|
52
43
|
):
|
|
53
44
|
"""Clear the currently selected render slot
|
|
54
45
|
|
|
55
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
56
46
|
:type execution_context: int | str | None
|
|
57
47
|
:type undo: bool | None
|
|
58
48
|
"""
|
|
59
49
|
|
|
60
50
|
def clipboard_copy(
|
|
61
|
-
|
|
62
|
-
execution_context: int | str | None = None,
|
|
63
|
-
undo: bool | None = None,
|
|
51
|
+
execution_context: int | str | None = None, undo: bool | None = None
|
|
64
52
|
):
|
|
65
53
|
"""Copy the image to the clipboard
|
|
66
54
|
|
|
67
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
68
55
|
:type execution_context: int | str | None
|
|
69
56
|
:type undo: bool | None
|
|
70
57
|
"""
|
|
71
58
|
|
|
72
59
|
def clipboard_paste(
|
|
73
|
-
|
|
74
|
-
execution_context: int | str | None = None,
|
|
75
|
-
undo: bool | None = None,
|
|
60
|
+
execution_context: int | str | None = None, undo: bool | None = None
|
|
76
61
|
):
|
|
77
62
|
"""Paste new image from the clipboard
|
|
78
63
|
|
|
79
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
80
64
|
:type execution_context: int | str | None
|
|
81
65
|
:type undo: bool | None
|
|
82
66
|
"""
|
|
83
67
|
|
|
84
68
|
def convert_to_mesh_plane(
|
|
85
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
86
69
|
execution_context: int | str | None = None,
|
|
87
70
|
undo: bool | None = None,
|
|
71
|
+
/,
|
|
88
72
|
*,
|
|
89
73
|
interpolation: typing.Literal["Linear", "Closest", "Cubic", "Smart"]
|
|
90
74
|
| None = "Linear",
|
|
@@ -105,7 +89,6 @@ def convert_to_mesh_plane(
|
|
|
105
89
|
):
|
|
106
90
|
"""Convert selected reference images to textured mesh plane
|
|
107
91
|
|
|
108
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
109
92
|
:type execution_context: int | str | None
|
|
110
93
|
:type undo: bool | None
|
|
111
94
|
:param interpolation: Interpolation, Texture interpolation
|
|
@@ -193,16 +176,15 @@ def convert_to_mesh_plane(
|
|
|
193
176
|
"""
|
|
194
177
|
|
|
195
178
|
def curves_point_set(
|
|
196
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
197
179
|
execution_context: int | str | None = None,
|
|
198
180
|
undo: bool | None = None,
|
|
181
|
+
/,
|
|
199
182
|
*,
|
|
200
183
|
point: typing.Literal["BLACK_POINT", "WHITE_POINT"] | None = "BLACK_POINT",
|
|
201
184
|
size: int | None = 1,
|
|
202
185
|
):
|
|
203
186
|
"""Set black point or white point for curves
|
|
204
187
|
|
|
205
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
206
188
|
:type execution_context: int | str | None
|
|
207
189
|
:type undo: bool | None
|
|
208
190
|
:param point: Point, Set black point or white point for curves
|
|
@@ -212,15 +194,14 @@ def curves_point_set(
|
|
|
212
194
|
"""
|
|
213
195
|
|
|
214
196
|
def cycle_render_slot(
|
|
215
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
216
197
|
execution_context: int | str | None = None,
|
|
217
198
|
undo: bool | None = None,
|
|
199
|
+
/,
|
|
218
200
|
*,
|
|
219
201
|
reverse: bool | None = False,
|
|
220
202
|
):
|
|
221
203
|
"""Cycle through all non-void render slots
|
|
222
204
|
|
|
223
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
224
205
|
:type execution_context: int | str | None
|
|
225
206
|
:type undo: bool | None
|
|
226
207
|
:param reverse: Cycle in Reverse
|
|
@@ -228,15 +209,14 @@ def cycle_render_slot(
|
|
|
228
209
|
"""
|
|
229
210
|
|
|
230
211
|
def external_edit(
|
|
231
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
232
212
|
execution_context: int | str | None = None,
|
|
233
213
|
undo: bool | None = None,
|
|
214
|
+
/,
|
|
234
215
|
*,
|
|
235
216
|
filepath: str = "",
|
|
236
217
|
):
|
|
237
218
|
"""Edit image in an external application
|
|
238
219
|
|
|
239
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
240
220
|
:type execution_context: int | str | None
|
|
241
221
|
:type undo: bool | None
|
|
242
222
|
:param filepath: filepath
|
|
@@ -244,9 +224,9 @@ def external_edit(
|
|
|
244
224
|
"""
|
|
245
225
|
|
|
246
226
|
def file_browse(
|
|
247
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
248
227
|
execution_context: int | str | None = None,
|
|
249
228
|
undo: bool | None = None,
|
|
229
|
+
/,
|
|
250
230
|
*,
|
|
251
231
|
filepath: str = "",
|
|
252
232
|
hide_props_region: bool | None = True,
|
|
@@ -280,7 +260,6 @@ def file_browse(
|
|
|
280
260
|
):
|
|
281
261
|
"""Open an image file browser, hold Shift to open the file, Alt to browse containing directory
|
|
282
262
|
|
|
283
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
284
263
|
:type execution_context: int | str | None
|
|
285
264
|
:type undo: bool | None
|
|
286
265
|
:param filepath: File Path, Path to file
|
|
@@ -350,16 +329,15 @@ def file_browse(
|
|
|
350
329
|
"""
|
|
351
330
|
|
|
352
331
|
def flip(
|
|
353
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
354
332
|
execution_context: int | str | None = None,
|
|
355
333
|
undo: bool | None = None,
|
|
334
|
+
/,
|
|
356
335
|
*,
|
|
357
336
|
use_flip_x: bool | None = False,
|
|
358
337
|
use_flip_y: bool | None = False,
|
|
359
338
|
):
|
|
360
339
|
"""Flip the image
|
|
361
340
|
|
|
362
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
363
341
|
:type execution_context: int | str | None
|
|
364
342
|
:type undo: bool | None
|
|
365
343
|
:param use_flip_x: Horizontal, Flip the image horizontally
|
|
@@ -369,9 +347,9 @@ def flip(
|
|
|
369
347
|
"""
|
|
370
348
|
|
|
371
349
|
def import_as_mesh_planes(
|
|
372
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
373
350
|
execution_context: int | str | None = None,
|
|
374
351
|
undo: bool | None = None,
|
|
352
|
+
/,
|
|
375
353
|
*,
|
|
376
354
|
interpolation: typing.Literal["Linear", "Closest", "Cubic", "Smart"]
|
|
377
355
|
| None = "Linear",
|
|
@@ -424,7 +402,6 @@ def import_as_mesh_planes(
|
|
|
424
402
|
):
|
|
425
403
|
"""Create mesh plane(s) from image files with the appropriate aspect ratio
|
|
426
404
|
|
|
427
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
428
405
|
:type execution_context: int | str | None
|
|
429
406
|
:type undo: bool | None
|
|
430
407
|
:param interpolation: Interpolation, Texture interpolation
|
|
@@ -640,9 +617,9 @@ def import_as_mesh_planes(
|
|
|
640
617
|
"""
|
|
641
618
|
|
|
642
619
|
def invert(
|
|
643
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
644
620
|
execution_context: int | str | None = None,
|
|
645
621
|
undo: bool | None = None,
|
|
622
|
+
/,
|
|
646
623
|
*,
|
|
647
624
|
invert_r: bool | None = False,
|
|
648
625
|
invert_g: bool | None = False,
|
|
@@ -651,7 +628,6 @@ def invert(
|
|
|
651
628
|
):
|
|
652
629
|
"""Invert image's channels
|
|
653
630
|
|
|
654
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
655
631
|
:type execution_context: int | str | None
|
|
656
632
|
:type undo: bool | None
|
|
657
633
|
:param invert_r: Red, Invert red channel
|
|
@@ -665,35 +641,31 @@ def invert(
|
|
|
665
641
|
"""
|
|
666
642
|
|
|
667
643
|
def match_movie_length(
|
|
668
|
-
|
|
669
|
-
execution_context: int | str | None = None,
|
|
670
|
-
undo: bool | None = None,
|
|
644
|
+
execution_context: int | str | None = None, undo: bool | None = None
|
|
671
645
|
):
|
|
672
646
|
"""Set image's user's length to the one of this video
|
|
673
647
|
|
|
674
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
675
648
|
:type execution_context: int | str | None
|
|
676
649
|
:type undo: bool | None
|
|
677
650
|
"""
|
|
678
651
|
|
|
679
652
|
def new(
|
|
680
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
681
653
|
execution_context: int | str | None = None,
|
|
682
654
|
undo: bool | None = None,
|
|
655
|
+
/,
|
|
683
656
|
*,
|
|
684
657
|
name: str = "Untitled",
|
|
685
658
|
width: int | None = 1024,
|
|
686
659
|
height: int | None = 1024,
|
|
687
660
|
color: collections.abc.Iterable[float] | None = (0.0, 0.0, 0.0, 1.0),
|
|
688
661
|
alpha: bool | None = True,
|
|
689
|
-
generated_type: bpy.
|
|
662
|
+
generated_type: bpy._typing.rna_enums.ImageGeneratedTypeItems | None = "BLANK",
|
|
690
663
|
float: bool | None = False,
|
|
691
664
|
use_stereo_3d: bool | None = False,
|
|
692
665
|
tiled: bool | None = False,
|
|
693
666
|
):
|
|
694
667
|
"""Create a new image
|
|
695
668
|
|
|
696
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
697
669
|
:type execution_context: int | str | None
|
|
698
670
|
:type undo: bool | None
|
|
699
671
|
:param name: Name, Image data-block name
|
|
@@ -707,7 +679,7 @@ def new(
|
|
|
707
679
|
:param alpha: Alpha, Create an image with an alpha channel
|
|
708
680
|
:type alpha: bool | None
|
|
709
681
|
:param generated_type: Generated Type, Fill the image with a grid for UV map testing
|
|
710
|
-
:type generated_type: bpy.
|
|
682
|
+
:type generated_type: bpy._typing.rna_enums.ImageGeneratedTypeItems | None
|
|
711
683
|
:param float: 32-bit Float, Create image with 32-bit floating-point bit depth
|
|
712
684
|
:type float: bool | None
|
|
713
685
|
:param use_stereo_3d: Stereo 3D, Create an image with left and right views
|
|
@@ -717,9 +689,9 @@ def new(
|
|
|
717
689
|
"""
|
|
718
690
|
|
|
719
691
|
def open(
|
|
720
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
721
692
|
execution_context: int | str | None = None,
|
|
722
693
|
undo: bool | None = None,
|
|
694
|
+
/,
|
|
723
695
|
*,
|
|
724
696
|
allow_path_tokens: bool | None = True,
|
|
725
697
|
filepath: str = "",
|
|
@@ -759,7 +731,6 @@ def open(
|
|
|
759
731
|
):
|
|
760
732
|
"""Open image
|
|
761
733
|
|
|
762
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
763
734
|
:type execution_context: int | str | None
|
|
764
735
|
:type undo: bool | None
|
|
765
736
|
:param allow_path_tokens: Allow the path to contain substitution tokens
|
|
@@ -839,9 +810,9 @@ def open(
|
|
|
839
810
|
"""
|
|
840
811
|
|
|
841
812
|
def open_images(
|
|
842
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
843
813
|
execution_context: int | str | None = None,
|
|
844
814
|
undo: bool | None = None,
|
|
815
|
+
/,
|
|
845
816
|
*,
|
|
846
817
|
directory: str = "",
|
|
847
818
|
files: bpy.types.bpy_prop_collection[bpy.types.OperatorFileListElement]
|
|
@@ -852,7 +823,6 @@ def open_images(
|
|
|
852
823
|
):
|
|
853
824
|
"""Undocumented, consider contributing.
|
|
854
825
|
|
|
855
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
856
826
|
:type execution_context: int | str | None
|
|
857
827
|
:type undo: bool | None
|
|
858
828
|
:param directory: directory
|
|
@@ -867,82 +837,56 @@ def open_images(
|
|
|
867
837
|
:type use_udim_detection: bool | None
|
|
868
838
|
"""
|
|
869
839
|
|
|
870
|
-
def pack(
|
|
871
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
872
|
-
execution_context: int | str | None = None,
|
|
873
|
-
undo: bool | None = None,
|
|
874
|
-
):
|
|
840
|
+
def pack(execution_context: int | str | None = None, undo: bool | None = None):
|
|
875
841
|
"""Pack an image as embedded data into the .blend file
|
|
876
842
|
|
|
877
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
878
843
|
:type execution_context: int | str | None
|
|
879
844
|
:type undo: bool | None
|
|
880
845
|
"""
|
|
881
846
|
|
|
882
|
-
def project_apply(
|
|
883
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
884
|
-
execution_context: int | str | None = None,
|
|
885
|
-
undo: bool | None = None,
|
|
886
|
-
):
|
|
847
|
+
def project_apply(execution_context: int | str | None = None, undo: bool | None = None):
|
|
887
848
|
"""Project edited image back onto the object
|
|
888
849
|
|
|
889
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
890
850
|
:type execution_context: int | str | None
|
|
891
851
|
:type undo: bool | None
|
|
892
852
|
"""
|
|
893
853
|
|
|
894
|
-
def project_edit(
|
|
895
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
896
|
-
execution_context: int | str | None = None,
|
|
897
|
-
undo: bool | None = None,
|
|
898
|
-
):
|
|
854
|
+
def project_edit(execution_context: int | str | None = None, undo: bool | None = None):
|
|
899
855
|
"""Edit a snapshot of the 3D Viewport in an external image editor
|
|
900
856
|
|
|
901
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
902
857
|
:type execution_context: int | str | None
|
|
903
858
|
:type undo: bool | None
|
|
904
859
|
"""
|
|
905
860
|
|
|
906
861
|
def read_viewlayers(
|
|
907
|
-
|
|
908
|
-
execution_context: int | str | None = None,
|
|
909
|
-
undo: bool | None = None,
|
|
862
|
+
execution_context: int | str | None = None, undo: bool | None = None
|
|
910
863
|
):
|
|
911
864
|
"""Read all the current scene's view layers from cache, as needed
|
|
912
865
|
|
|
913
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
914
866
|
:type execution_context: int | str | None
|
|
915
867
|
:type undo: bool | None
|
|
916
868
|
"""
|
|
917
869
|
|
|
918
|
-
def reload(
|
|
919
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
920
|
-
execution_context: int | str | None = None,
|
|
921
|
-
undo: bool | None = None,
|
|
922
|
-
):
|
|
870
|
+
def reload(execution_context: int | str | None = None, undo: bool | None = None):
|
|
923
871
|
"""Reload current image from disk
|
|
924
872
|
|
|
925
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
926
873
|
:type execution_context: int | str | None
|
|
927
874
|
:type undo: bool | None
|
|
928
875
|
"""
|
|
929
876
|
|
|
930
877
|
def remove_render_slot(
|
|
931
|
-
|
|
932
|
-
execution_context: int | str | None = None,
|
|
933
|
-
undo: bool | None = None,
|
|
878
|
+
execution_context: int | str | None = None, undo: bool | None = None
|
|
934
879
|
):
|
|
935
880
|
"""Remove the current render slot
|
|
936
881
|
|
|
937
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
938
882
|
:type execution_context: int | str | None
|
|
939
883
|
:type undo: bool | None
|
|
940
884
|
"""
|
|
941
885
|
|
|
942
886
|
def render_border(
|
|
943
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
944
887
|
execution_context: int | str | None = None,
|
|
945
888
|
undo: bool | None = None,
|
|
889
|
+
/,
|
|
946
890
|
*,
|
|
947
891
|
xmin: int | None = 0,
|
|
948
892
|
xmax: int | None = 0,
|
|
@@ -952,7 +896,6 @@ def render_border(
|
|
|
952
896
|
):
|
|
953
897
|
"""Set the boundaries of the render region and enable render region
|
|
954
898
|
|
|
955
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
956
899
|
:type execution_context: int | str | None
|
|
957
900
|
:type undo: bool | None
|
|
958
901
|
:param xmin: X Min
|
|
@@ -968,9 +911,9 @@ def render_border(
|
|
|
968
911
|
"""
|
|
969
912
|
|
|
970
913
|
def replace(
|
|
971
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
972
914
|
execution_context: int | str | None = None,
|
|
973
915
|
undo: bool | None = None,
|
|
916
|
+
/,
|
|
974
917
|
*,
|
|
975
918
|
filepath: str = "",
|
|
976
919
|
hide_props_region: bool | None = True,
|
|
@@ -1004,7 +947,6 @@ def replace(
|
|
|
1004
947
|
):
|
|
1005
948
|
"""Replace current image by another one from disk
|
|
1006
949
|
|
|
1007
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1008
950
|
:type execution_context: int | str | None
|
|
1009
951
|
:type undo: bool | None
|
|
1010
952
|
:param filepath: File Path, Path to file
|
|
@@ -1074,31 +1016,32 @@ def replace(
|
|
|
1074
1016
|
"""
|
|
1075
1017
|
|
|
1076
1018
|
def resize(
|
|
1077
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1078
1019
|
execution_context: int | str | None = None,
|
|
1079
1020
|
undo: bool | None = None,
|
|
1021
|
+
/,
|
|
1080
1022
|
*,
|
|
1081
1023
|
size: collections.abc.Iterable[int] | None = (0, 0),
|
|
1024
|
+
all_udims: bool | None = False,
|
|
1082
1025
|
):
|
|
1083
1026
|
"""Resize the image
|
|
1084
1027
|
|
|
1085
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1086
1028
|
:type execution_context: int | str | None
|
|
1087
1029
|
:type undo: bool | None
|
|
1088
1030
|
:param size: Size
|
|
1089
1031
|
:type size: collections.abc.Iterable[int] | None
|
|
1032
|
+
:param all_udims: All UDIM Tiles, Scale all the image's UDIM tiles
|
|
1033
|
+
:type all_udims: bool | None
|
|
1090
1034
|
"""
|
|
1091
1035
|
|
|
1092
1036
|
def rotate_orthogonal(
|
|
1093
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1094
1037
|
execution_context: int | str | None = None,
|
|
1095
1038
|
undo: bool | None = None,
|
|
1039
|
+
/,
|
|
1096
1040
|
*,
|
|
1097
1041
|
degrees: typing.Literal["90", "180", "270"] | None = "90",
|
|
1098
1042
|
):
|
|
1099
1043
|
"""Rotate the image
|
|
1100
1044
|
|
|
1101
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1102
1045
|
:type execution_context: int | str | None
|
|
1103
1046
|
:type undo: bool | None
|
|
1104
1047
|
:param degrees: Degrees, Amount of rotation in degrees (90, 180, 270)
|
|
@@ -1115,15 +1058,14 @@ def rotate_orthogonal(
|
|
|
1115
1058
|
"""
|
|
1116
1059
|
|
|
1117
1060
|
def sample(
|
|
1118
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1119
1061
|
execution_context: int | str | None = None,
|
|
1120
1062
|
undo: bool | None = None,
|
|
1063
|
+
/,
|
|
1121
1064
|
*,
|
|
1122
1065
|
size: int | None = 1,
|
|
1123
1066
|
):
|
|
1124
1067
|
"""Use mouse to sample a color in current image
|
|
1125
1068
|
|
|
1126
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1127
1069
|
:type execution_context: int | str | None
|
|
1128
1070
|
:type undo: bool | None
|
|
1129
1071
|
:param size: Sample Size
|
|
@@ -1131,9 +1073,9 @@ def sample(
|
|
|
1131
1073
|
"""
|
|
1132
1074
|
|
|
1133
1075
|
def sample_line(
|
|
1134
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1135
1076
|
execution_context: int | str | None = None,
|
|
1136
1077
|
undo: bool | None = None,
|
|
1078
|
+
/,
|
|
1137
1079
|
*,
|
|
1138
1080
|
xstart: int | None = 0,
|
|
1139
1081
|
xend: int | None = 0,
|
|
@@ -1144,7 +1086,6 @@ def sample_line(
|
|
|
1144
1086
|
):
|
|
1145
1087
|
"""Sample a line and show it in Scope panels
|
|
1146
1088
|
|
|
1147
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1148
1089
|
:type execution_context: int | str | None
|
|
1149
1090
|
:type undo: bool | None
|
|
1150
1091
|
:param xstart: X Start
|
|
@@ -1161,34 +1102,26 @@ def sample_line(
|
|
|
1161
1102
|
:type cursor: int | None
|
|
1162
1103
|
"""
|
|
1163
1104
|
|
|
1164
|
-
def save(
|
|
1165
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1166
|
-
execution_context: int | str | None = None,
|
|
1167
|
-
undo: bool | None = None,
|
|
1168
|
-
):
|
|
1105
|
+
def save(execution_context: int | str | None = None, undo: bool | None = None):
|
|
1169
1106
|
"""Save the image with current name and settings
|
|
1170
1107
|
|
|
1171
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1172
1108
|
:type execution_context: int | str | None
|
|
1173
1109
|
:type undo: bool | None
|
|
1174
1110
|
"""
|
|
1175
1111
|
|
|
1176
1112
|
def save_all_modified(
|
|
1177
|
-
|
|
1178
|
-
execution_context: int | str | None = None,
|
|
1179
|
-
undo: bool | None = None,
|
|
1113
|
+
execution_context: int | str | None = None, undo: bool | None = None
|
|
1180
1114
|
):
|
|
1181
1115
|
"""Save all modified images
|
|
1182
1116
|
|
|
1183
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1184
1117
|
:type execution_context: int | str | None
|
|
1185
1118
|
:type undo: bool | None
|
|
1186
1119
|
"""
|
|
1187
1120
|
|
|
1188
1121
|
def save_as(
|
|
1189
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1190
1122
|
execution_context: int | str | None = None,
|
|
1191
1123
|
undo: bool | None = None,
|
|
1124
|
+
/,
|
|
1192
1125
|
*,
|
|
1193
1126
|
save_as_render: bool | None = False,
|
|
1194
1127
|
copy: bool | None = False,
|
|
@@ -1224,7 +1157,6 @@ def save_as(
|
|
|
1224
1157
|
):
|
|
1225
1158
|
"""Save the image with another name and/or settings
|
|
1226
1159
|
|
|
1227
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1228
1160
|
:type execution_context: int | str | None
|
|
1229
1161
|
:type undo: bool | None
|
|
1230
1162
|
:param save_as_render: Save As Render, Save image with render color management.For display image formats like PNG, apply view and display transform.For intermediate image formats like OpenEXR, use the default render output color space
|
|
@@ -1297,29 +1229,24 @@ def save_as(
|
|
|
1297
1229
|
:type sort_method: str | None
|
|
1298
1230
|
"""
|
|
1299
1231
|
|
|
1300
|
-
def save_sequence(
|
|
1301
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1302
|
-
execution_context: int | str | None = None,
|
|
1303
|
-
undo: bool | None = None,
|
|
1304
|
-
):
|
|
1232
|
+
def save_sequence(execution_context: int | str | None = None, undo: bool | None = None):
|
|
1305
1233
|
"""Save a sequence of images
|
|
1306
1234
|
|
|
1307
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1308
1235
|
:type execution_context: int | str | None
|
|
1309
1236
|
:type undo: bool | None
|
|
1310
1237
|
"""
|
|
1311
1238
|
|
|
1312
1239
|
def tile_add(
|
|
1313
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1314
1240
|
execution_context: int | str | None = None,
|
|
1315
1241
|
undo: bool | None = None,
|
|
1242
|
+
/,
|
|
1316
1243
|
*,
|
|
1317
1244
|
number: int | None = 1002,
|
|
1318
1245
|
count: int | None = 1,
|
|
1319
1246
|
label: str = "",
|
|
1320
1247
|
fill: bool | None = True,
|
|
1321
1248
|
color: collections.abc.Iterable[float] | None = (0.0, 0.0, 0.0, 1.0),
|
|
1322
|
-
generated_type: bpy.
|
|
1249
|
+
generated_type: bpy._typing.rna_enums.ImageGeneratedTypeItems | None = "BLANK",
|
|
1323
1250
|
width: int | None = 1024,
|
|
1324
1251
|
height: int | None = 1024,
|
|
1325
1252
|
float: bool | None = False,
|
|
@@ -1327,7 +1254,6 @@ def tile_add(
|
|
|
1327
1254
|
):
|
|
1328
1255
|
"""Adds a tile to the image
|
|
1329
1256
|
|
|
1330
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1331
1257
|
:type execution_context: int | str | None
|
|
1332
1258
|
:type undo: bool | None
|
|
1333
1259
|
:param number: Number, UDIM number of the tile
|
|
@@ -1341,7 +1267,7 @@ def tile_add(
|
|
|
1341
1267
|
:param color: Color, Default fill color
|
|
1342
1268
|
:type color: collections.abc.Iterable[float] | None
|
|
1343
1269
|
:param generated_type: Generated Type, Fill the image with a grid for UV map testing
|
|
1344
|
-
:type generated_type: bpy.
|
|
1270
|
+
:type generated_type: bpy._typing.rna_enums.ImageGeneratedTypeItems | None
|
|
1345
1271
|
:param width: Width, Image width
|
|
1346
1272
|
:type width: int | None
|
|
1347
1273
|
:param height: Height, Image height
|
|
@@ -1353,12 +1279,12 @@ def tile_add(
|
|
|
1353
1279
|
"""
|
|
1354
1280
|
|
|
1355
1281
|
def tile_fill(
|
|
1356
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1357
1282
|
execution_context: int | str | None = None,
|
|
1358
1283
|
undo: bool | None = None,
|
|
1284
|
+
/,
|
|
1359
1285
|
*,
|
|
1360
1286
|
color: collections.abc.Iterable[float] | None = (0.0, 0.0, 0.0, 1.0),
|
|
1361
|
-
generated_type: bpy.
|
|
1287
|
+
generated_type: bpy._typing.rna_enums.ImageGeneratedTypeItems | None = "BLANK",
|
|
1362
1288
|
width: int | None = 1024,
|
|
1363
1289
|
height: int | None = 1024,
|
|
1364
1290
|
float: bool | None = False,
|
|
@@ -1366,13 +1292,12 @@ def tile_fill(
|
|
|
1366
1292
|
):
|
|
1367
1293
|
"""Fill the current tile with a generated image
|
|
1368
1294
|
|
|
1369
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1370
1295
|
:type execution_context: int | str | None
|
|
1371
1296
|
:type undo: bool | None
|
|
1372
1297
|
:param color: Color, Default fill color
|
|
1373
1298
|
:type color: collections.abc.Iterable[float] | None
|
|
1374
1299
|
:param generated_type: Generated Type, Fill the image with a grid for UV map testing
|
|
1375
|
-
:type generated_type: bpy.
|
|
1300
|
+
:type generated_type: bpy._typing.rna_enums.ImageGeneratedTypeItems | None
|
|
1376
1301
|
:param width: Width, Image width
|
|
1377
1302
|
:type width: int | None
|
|
1378
1303
|
:param height: Height, Image height
|
|
@@ -1383,47 +1308,40 @@ def tile_fill(
|
|
|
1383
1308
|
:type alpha: bool | None
|
|
1384
1309
|
"""
|
|
1385
1310
|
|
|
1386
|
-
def tile_remove(
|
|
1387
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1388
|
-
execution_context: int | str | None = None,
|
|
1389
|
-
undo: bool | None = None,
|
|
1390
|
-
):
|
|
1311
|
+
def tile_remove(execution_context: int | str | None = None, undo: bool | None = None):
|
|
1391
1312
|
"""Removes a tile from the image
|
|
1392
1313
|
|
|
1393
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1394
1314
|
:type execution_context: int | str | None
|
|
1395
1315
|
:type undo: bool | None
|
|
1396
1316
|
"""
|
|
1397
1317
|
|
|
1398
1318
|
def unpack(
|
|
1399
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1400
1319
|
execution_context: int | str | None = None,
|
|
1401
1320
|
undo: bool | None = None,
|
|
1321
|
+
/,
|
|
1402
1322
|
*,
|
|
1403
|
-
method: bpy.
|
|
1323
|
+
method: bpy._typing.rna_enums.UnpackMethodItems | None = "USE_LOCAL",
|
|
1404
1324
|
id: str = "",
|
|
1405
1325
|
):
|
|
1406
1326
|
"""Save an image packed in the .blend file to disk
|
|
1407
1327
|
|
|
1408
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1409
1328
|
:type execution_context: int | str | None
|
|
1410
1329
|
:type undo: bool | None
|
|
1411
1330
|
:param method: Method, How to unpack
|
|
1412
|
-
:type method: bpy.
|
|
1331
|
+
:type method: bpy._typing.rna_enums.UnpackMethodItems | None
|
|
1413
1332
|
:param id: Image Name, Image data-block name to unpack
|
|
1414
1333
|
:type id: str
|
|
1415
1334
|
"""
|
|
1416
1335
|
|
|
1417
1336
|
def view_all(
|
|
1418
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1419
1337
|
execution_context: int | str | None = None,
|
|
1420
1338
|
undo: bool | None = None,
|
|
1339
|
+
/,
|
|
1421
1340
|
*,
|
|
1422
1341
|
fit_view: bool | None = False,
|
|
1423
1342
|
):
|
|
1424
1343
|
"""View the entire image
|
|
1425
1344
|
|
|
1426
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1427
1345
|
:type execution_context: int | str | None
|
|
1428
1346
|
:type undo: bool | None
|
|
1429
1347
|
:param fit_view: Fit View, Fit frame to the viewport
|
|
@@ -1431,84 +1349,68 @@ def view_all(
|
|
|
1431
1349
|
"""
|
|
1432
1350
|
|
|
1433
1351
|
def view_center_cursor(
|
|
1434
|
-
|
|
1435
|
-
execution_context: int | str | None = None,
|
|
1436
|
-
undo: bool | None = None,
|
|
1352
|
+
execution_context: int | str | None = None, undo: bool | None = None
|
|
1437
1353
|
):
|
|
1438
1354
|
"""Center the view so that the cursor is in the middle of the view
|
|
1439
1355
|
|
|
1440
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1441
1356
|
:type execution_context: int | str | None
|
|
1442
1357
|
:type undo: bool | None
|
|
1443
1358
|
"""
|
|
1444
1359
|
|
|
1445
1360
|
def view_cursor_center(
|
|
1446
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1447
1361
|
execution_context: int | str | None = None,
|
|
1448
1362
|
undo: bool | None = None,
|
|
1363
|
+
/,
|
|
1449
1364
|
*,
|
|
1450
1365
|
fit_view: bool | None = False,
|
|
1451
1366
|
):
|
|
1452
1367
|
"""Set 2D Cursor To Center View location
|
|
1453
1368
|
|
|
1454
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1455
1369
|
:type execution_context: int | str | None
|
|
1456
1370
|
:type undo: bool | None
|
|
1457
1371
|
:param fit_view: Fit View, Fit frame to the viewport
|
|
1458
1372
|
:type fit_view: bool | None
|
|
1459
1373
|
"""
|
|
1460
1374
|
|
|
1461
|
-
def view_ndof(
|
|
1462
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1463
|
-
execution_context: int | str | None = None,
|
|
1464
|
-
undo: bool | None = None,
|
|
1465
|
-
):
|
|
1375
|
+
def view_ndof(execution_context: int | str | None = None, undo: bool | None = None):
|
|
1466
1376
|
"""Use a 3D mouse device to pan/zoom the view
|
|
1467
1377
|
|
|
1468
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1469
1378
|
:type execution_context: int | str | None
|
|
1470
1379
|
:type undo: bool | None
|
|
1471
1380
|
"""
|
|
1472
1381
|
|
|
1473
1382
|
def view_pan(
|
|
1474
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1475
1383
|
execution_context: int | str | None = None,
|
|
1476
1384
|
undo: bool | None = None,
|
|
1385
|
+
/,
|
|
1477
1386
|
*,
|
|
1478
1387
|
offset: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0),
|
|
1479
1388
|
):
|
|
1480
1389
|
"""Pan the view
|
|
1481
1390
|
|
|
1482
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1483
1391
|
:type execution_context: int | str | None
|
|
1484
1392
|
:type undo: bool | None
|
|
1485
1393
|
:param offset: Offset, Offset in floating-point units, 1.0 is the width and height of the image
|
|
1486
1394
|
:type offset: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
1487
1395
|
"""
|
|
1488
1396
|
|
|
1489
|
-
def view_selected(
|
|
1490
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1491
|
-
execution_context: int | str | None = None,
|
|
1492
|
-
undo: bool | None = None,
|
|
1493
|
-
):
|
|
1397
|
+
def view_selected(execution_context: int | str | None = None, undo: bool | None = None):
|
|
1494
1398
|
"""View all selected UVs
|
|
1495
1399
|
|
|
1496
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1497
1400
|
:type execution_context: int | str | None
|
|
1498
1401
|
:type undo: bool | None
|
|
1499
1402
|
"""
|
|
1500
1403
|
|
|
1501
1404
|
def view_zoom(
|
|
1502
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1503
1405
|
execution_context: int | str | None = None,
|
|
1504
1406
|
undo: bool | None = None,
|
|
1407
|
+
/,
|
|
1505
1408
|
*,
|
|
1506
1409
|
factor: float | None = 0.0,
|
|
1507
1410
|
use_cursor_init: bool | None = True,
|
|
1508
1411
|
):
|
|
1509
1412
|
"""Zoom in/out the image
|
|
1510
1413
|
|
|
1511
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1512
1414
|
:type execution_context: int | str | None
|
|
1513
1415
|
:type undo: bool | None
|
|
1514
1416
|
:param factor: Factor, Zoom factor, values higher than 1.0 zoom in, lower values zoom out
|
|
@@ -1518,9 +1420,9 @@ def view_zoom(
|
|
|
1518
1420
|
"""
|
|
1519
1421
|
|
|
1520
1422
|
def view_zoom_border(
|
|
1521
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1522
1423
|
execution_context: int | str | None = None,
|
|
1523
1424
|
undo: bool | None = None,
|
|
1425
|
+
/,
|
|
1524
1426
|
*,
|
|
1525
1427
|
xmin: int | None = 0,
|
|
1526
1428
|
xmax: int | None = 0,
|
|
@@ -1531,7 +1433,6 @@ def view_zoom_border(
|
|
|
1531
1433
|
):
|
|
1532
1434
|
"""Zoom in the view to the nearest item contained in the border
|
|
1533
1435
|
|
|
1534
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1535
1436
|
:type execution_context: int | str | None
|
|
1536
1437
|
:type undo: bool | None
|
|
1537
1438
|
:param xmin: X Min
|
|
@@ -1549,15 +1450,14 @@ def view_zoom_border(
|
|
|
1549
1450
|
"""
|
|
1550
1451
|
|
|
1551
1452
|
def view_zoom_in(
|
|
1552
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1553
1453
|
execution_context: int | str | None = None,
|
|
1554
1454
|
undo: bool | None = None,
|
|
1455
|
+
/,
|
|
1555
1456
|
*,
|
|
1556
1457
|
location: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0),
|
|
1557
1458
|
):
|
|
1558
1459
|
"""Zoom in the image (centered around 2D cursor)
|
|
1559
1460
|
|
|
1560
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1561
1461
|
:type execution_context: int | str | None
|
|
1562
1462
|
:type undo: bool | None
|
|
1563
1463
|
:param location: Location, Cursor location in screen coordinates
|
|
@@ -1565,15 +1465,14 @@ def view_zoom_in(
|
|
|
1565
1465
|
"""
|
|
1566
1466
|
|
|
1567
1467
|
def view_zoom_out(
|
|
1568
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1569
1468
|
execution_context: int | str | None = None,
|
|
1570
1469
|
undo: bool | None = None,
|
|
1470
|
+
/,
|
|
1571
1471
|
*,
|
|
1572
1472
|
location: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0),
|
|
1573
1473
|
):
|
|
1574
1474
|
"""Zoom out the image (centered around 2D cursor)
|
|
1575
1475
|
|
|
1576
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1577
1476
|
:type execution_context: int | str | None
|
|
1578
1477
|
:type undo: bool | None
|
|
1579
1478
|
:param location: Location, Cursor location in screen coordinates
|
|
@@ -1581,15 +1480,14 @@ def view_zoom_out(
|
|
|
1581
1480
|
"""
|
|
1582
1481
|
|
|
1583
1482
|
def view_zoom_ratio(
|
|
1584
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1585
1483
|
execution_context: int | str | None = None,
|
|
1586
1484
|
undo: bool | None = None,
|
|
1485
|
+
/,
|
|
1587
1486
|
*,
|
|
1588
1487
|
ratio: float | None = 0.0,
|
|
1589
1488
|
):
|
|
1590
1489
|
"""Set zoom ratio of the view
|
|
1591
1490
|
|
|
1592
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1593
1491
|
:type execution_context: int | str | None
|
|
1594
1492
|
:type undo: bool | None
|
|
1595
1493
|
:param ratio: Ratio, Zoom ratio, 1.0 is 1:1, higher is zoomed in, lower is zoomed out
|