fake-bpy-module 20231212__py3-none-any.whl → 20231214__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.
bpy/types/__init__.pyi CHANGED
@@ -2,212 +2,97 @@ import sys
2
2
  import typing
3
3
  import mathutils
4
4
  import bpy
5
+ import bl_ui.properties_material_gpencil
6
+ import bl_ui.space_image
7
+ import bl_ui.space_sequencer
8
+ import bl_ui.space_filebrowser
9
+ import bl_ui.node_add_menu_texture
10
+ import bl_operators.file
5
11
  import bl_ui.properties_material
6
- import bl_ui.space_toolsystem_common
12
+ import bl_ui.space_nla
13
+ import bl_ui.node_add_menu_geometry
14
+ import bl_ui.space_spreadsheet
15
+ import bl_ui.space_view3d_toolbar
7
16
  import bl_operators.clip
8
- import bl_ui.space_toolsystem_toolbar
9
- import bl_ui.properties_constraint
17
+ import bl_operators.freestyle
18
+ import bl_ui.space_console
19
+ import bl_ui.properties_physics_fluid
20
+ import bl_ui.node_add_menu
10
21
  import bl_ui.properties_data_armature
11
- import bl_ui.properties_render
12
- import bl_ui.properties_data_speaker
13
22
  import bl_operators.wm
14
- import bl_ui.properties_data_volume
15
- import bl_ui.properties_particle
23
+ import bl_ui.properties_data_bone
24
+ import bl_ui.space_text
25
+ import bl_ui.properties_render
26
+ import bl_ui.properties_physics_rigidbody
27
+ import bl_ui.properties_data_curves
28
+ import bl_ui.space_properties
29
+ import bl_ui.properties_mask_common
30
+ import bl_ui.properties_data_metaball
31
+ import bl_ui.properties_physics_geometry_nodes
32
+ import bl_ui.properties_data_mesh
33
+ import bl_operators.node
34
+ import bl_ui.space_view3d
35
+ import bl_operators.presets
16
36
  import bl_ui.properties_scene
17
- import bl_ui.properties_grease_pencil_common
18
- import bl_ui.space_image
19
- import bl_ui.properties_physics_field
20
- import bl_ui.node_add_menu_texture
21
- import bl_ui.properties_workspace
22
- import bl_ui.properties_physics_rigidbody_constraint
23
- import bl_operators.userpref
24
- import bl_operators.anim
25
- import bl_ui.properties_view_layer
37
+ import bl_ui.properties_data_grease_pencil
38
+ import bl_ui.space_graph
39
+ import bl_ui.properties_physics_softbody
26
40
  import bl_ui.space_dopesheet
27
- import bl_ui.properties_physics_geometry_nodes
28
- import bl_ui.space_info
41
+ import bl_ui.properties_particle
42
+ import bl_operators.object
43
+ import bl_ui.properties_workspace
44
+ import bl_ui.properties_data_camera
45
+ import bl_operators.spreadsheet
46
+ import bl_ui.properties_data_shaderfx
47
+ import bl_ui.properties_data_speaker
48
+ import bl_ui.space_userpref
29
49
  import bl_ui.properties_data_light
30
- import bl_ui.space_spreadsheet
31
- import bl_operators.assets
32
- import bl_ui.properties_paint_common
33
- import bl_ui.properties_data_metaball
34
- import bl_ui.properties_data_gpencil
35
- import bl_operators.constraint
36
- import bl_ui.space_nla
50
+ import bl_ui.space_clip
51
+ import bl_ui.properties_data_curve
52
+ import bl_ui.properties_data_lightprobe
53
+ import bl_ui.properties_data_volume
54
+ import bl_ui.properties_texture
55
+ import bl_ui.properties_data_pointcloud
56
+ import bl_ui.space_topbar
57
+ import bl_ui.space_info
37
58
  import bl_ui.properties_data_lattice
59
+ import bl_ui.space_outliner
60
+ import bl_operators.assets
38
61
  import bl_ui.properties_object
39
- import bl_ui.properties_physics_dynamicpaint
40
- import bl_operators.file
41
- import bl_ui.properties_physics_common
42
- import bl_ui.space_sequencer
43
- import bl_ui.properties_texture
44
- import bl_operators.node
45
- import bl_ui.properties_world
46
- import bl_ui.space_console
62
+ import bl_ui.properties_physics_cloth
63
+ import bl_ui.space_node
47
64
  import bl_ui.properties_data_modifier
48
- import bl_ui.properties_data_lightprobe
49
- import bl_ui.properties_material_gpencil
50
- import bl_ui.properties_data_curves
51
- import bl_ui.properties_data_mesh
52
- import bl_ui.space_userpref
53
- import bl_ui.space_time
54
- import bl_operators.freestyle
55
- import bl_ui.space_outliner
56
- import bl_operators.object
65
+ import bl_ui
66
+ import bl_ui.properties_data_empty
67
+ import bl_ui.node_add_menu_shader
68
+ import bl_ui.node_add_menu_compositor
69
+ import bl_ui.generic_ui_list
57
70
  import bl_ui.properties_collection
58
- import bl_ui.properties_data_pointcloud
59
- import bl_ui.asset_shelf
60
- import bl_ui.properties_physics_cloth
61
- import bl_ui.space_properties
62
- import bl_ui.space_view3d_toolbar
63
- import bl_ui.properties_data_bone
64
- import bl_operators.presets
71
+ import bl_ui.space_statusbar
72
+ import bl_operators.constraint
73
+ import bl_ui.space_toolsystem_toolbar
74
+ import bl_ui.properties_world
75
+ import bl_ui.space_toolsystem_common
76
+ import bl_ui.properties_physics_dynamicpaint
65
77
  import bl_operators.view3d
66
- import bl_ui.properties_data_shaderfx
67
- import bl_ui.properties_data_curve
68
- import bl_ui.generic_ui_list
69
- import bl_ui.properties_data_empty
70
- import bl_ui.properties_physics_rigidbody
78
+ import bl_operators.anim
79
+ import bl_ui.properties_view_layer
80
+ import bl_ui.properties_physics_field
81
+ import bl_ui.properties_grease_pencil_common
82
+ import bl_ui.asset_shelf
83
+ import bl_ui.properties_physics_common
84
+ import bl_ui.space_time
71
85
  import bl_ui.properties_freestyle
72
- import bl_ui.node_add_menu
73
- import bl_ui.space_statusbar
74
- import bl_ui.space_view3d
75
- import bl_ui.space_text
76
- import bl_ui.node_add_menu_shader
77
- import bl_ui.properties_data_camera
78
- import bl_ui.space_node
86
+ import bl_ui.properties_physics_rigidbody_constraint
87
+ import bl_ui.properties_constraint
88
+ import bl_operators.userpref
89
+ import bl_ui.properties_paint_common
79
90
  import bl_ui.properties_output
80
- import bl_ui.properties_physics_fluid
81
- import bl_ui.node_add_menu_compositor
82
- import bl_ui.node_add_menu_geometry
83
- import bl_ui.space_filebrowser
84
- import bl_ui.properties_physics_softbody
85
- import bl_ui.space_graph
86
- import bl_ui.properties_mask_common
87
- import bl_ui.space_topbar
88
- import bl_ui
89
- import bl_operators.spreadsheet
90
- import bl_ui.properties_data_grease_pencil
91
- import bl_ui.space_clip
91
+ import bl_ui.properties_data_gpencil
92
92
 
93
93
  GenericType = typing.TypeVar("GenericType")
94
94
 
95
95
 
96
- class bpy_prop_collection(typing.Generic[GenericType]):
97
- ''' built-in class used for all collections.
98
- '''
99
-
100
- def find(self, key: typing.Optional[str]) -> int:
101
- ''' Returns the index of a key in a collection or -1 when not found (matches Python's string find function of the same name).
102
-
103
- :param key: The identifier for the collection member.
104
- :type key: typing.Optional[str]
105
- :rtype: int
106
- :return: index of the key.
107
- '''
108
- ...
109
-
110
- def foreach_get(self, attr, seq):
111
- ''' This is a function to give fast access to attributes within a collection. Only works for 'basic type' properties (bool, int and float)! Multi-dimensional arrays (like array of vectors) will be flattened into seq.
112
-
113
- '''
114
- ...
115
-
116
- def foreach_set(self, attr, seq):
117
- ''' This is a function to give fast access to attributes within a collection. Only works for 'basic type' properties (bool, int and float)! seq must be uni-dimensional, multi-dimensional arrays (like array of vectors) will be re-created from it.
118
-
119
- '''
120
- ...
121
-
122
- def get(self,
123
- key: typing.Optional[str],
124
- default: typing.Optional[typing.Any] = None):
125
- ''' Returns the value of the item assigned to key or default when not found (matches Python's dictionary function of the same name).
126
-
127
- :param key: The identifier for the collection member.
128
- :type key: typing.Optional[str]
129
- :param default: Optional argument for the value to return if *key* is not found.
130
- :type default: typing.Optional[typing.Any]
131
- '''
132
- ...
133
-
134
- def items(self) -> typing.List:
135
- ''' Return the identifiers of collection members (matching Python's dict.items() functionality).
136
-
137
- :rtype: typing.List
138
- :return: (key, value) pairs for each member of this collection.
139
- '''
140
- ...
141
-
142
- def keys(self) -> typing.List[str]:
143
- ''' Return the identifiers of collection members (matching Python's dict.keys() functionality).
144
-
145
- :rtype: typing.List[str]
146
- :return: the identifiers for each member of this collection.
147
- '''
148
- ...
149
-
150
- def values(self) -> typing.List:
151
- ''' Return the values of collection (matching Python's dict.values() functionality).
152
-
153
- :rtype: typing.List
154
- :return: the members of this collection.
155
- '''
156
- ...
157
-
158
- def __getitem__(self, key: typing.Optional[typing.Union[int, str]]
159
- ) -> 'GenericType':
160
- '''
161
-
162
- :param key:
163
- :type key: typing.Optional[typing.Union[int, str]]
164
- :rtype: 'GenericType'
165
- '''
166
- ...
167
-
168
- def __setitem__(self, key: typing.Optional[typing.Union[int, str]],
169
- value: 'GenericType'):
170
- '''
171
-
172
- :param key:
173
- :type key: typing.Optional[typing.Union[int, str]]
174
- :param value:
175
- :type value: 'GenericType'
176
- '''
177
- ...
178
-
179
- def __delitem__(self, key: typing.Optional[typing.Union[int, str]]
180
- ) -> 'GenericType':
181
- '''
182
-
183
- :param key:
184
- :type key: typing.Optional[typing.Union[int, str]]
185
- :rtype: 'GenericType'
186
- '''
187
- ...
188
-
189
- def __iter__(self) -> typing.Iterator['GenericType']:
190
- '''
191
-
192
- :rtype: typing.Iterator['GenericType']
193
- '''
194
- ...
195
-
196
- def __next__(self) -> 'GenericType':
197
- '''
198
-
199
- :rtype: 'GenericType'
200
- '''
201
- ...
202
-
203
- def __len__(self) -> int:
204
- '''
205
-
206
- :rtype: int
207
- '''
208
- ...
209
-
210
-
211
96
  class bpy_struct:
212
97
  ''' built-in base class for all classes in bpy.types.
213
98
  '''
@@ -481,6 +366,121 @@ class bpy_struct:
481
366
  ...
482
367
 
483
368
 
369
+ class bpy_prop_collection(typing.Generic[GenericType]):
370
+ ''' built-in class used for all collections.
371
+ '''
372
+
373
+ def find(self, key: typing.Optional[str]) -> int:
374
+ ''' Returns the index of a key in a collection or -1 when not found (matches Python's string find function of the same name).
375
+
376
+ :param key: The identifier for the collection member.
377
+ :type key: typing.Optional[str]
378
+ :rtype: int
379
+ :return: index of the key.
380
+ '''
381
+ ...
382
+
383
+ def foreach_get(self, attr, seq):
384
+ ''' This is a function to give fast access to attributes within a collection. Only works for 'basic type' properties (bool, int and float)! Multi-dimensional arrays (like array of vectors) will be flattened into seq.
385
+
386
+ '''
387
+ ...
388
+
389
+ def foreach_set(self, attr, seq):
390
+ ''' This is a function to give fast access to attributes within a collection. Only works for 'basic type' properties (bool, int and float)! seq must be uni-dimensional, multi-dimensional arrays (like array of vectors) will be re-created from it.
391
+
392
+ '''
393
+ ...
394
+
395
+ def get(self,
396
+ key: typing.Optional[str],
397
+ default: typing.Optional[typing.Any] = None):
398
+ ''' Returns the value of the item assigned to key or default when not found (matches Python's dictionary function of the same name).
399
+
400
+ :param key: The identifier for the collection member.
401
+ :type key: typing.Optional[str]
402
+ :param default: Optional argument for the value to return if *key* is not found.
403
+ :type default: typing.Optional[typing.Any]
404
+ '''
405
+ ...
406
+
407
+ def items(self) -> typing.List:
408
+ ''' Return the identifiers of collection members (matching Python's dict.items() functionality).
409
+
410
+ :rtype: typing.List
411
+ :return: (key, value) pairs for each member of this collection.
412
+ '''
413
+ ...
414
+
415
+ def keys(self) -> typing.List[str]:
416
+ ''' Return the identifiers of collection members (matching Python's dict.keys() functionality).
417
+
418
+ :rtype: typing.List[str]
419
+ :return: the identifiers for each member of this collection.
420
+ '''
421
+ ...
422
+
423
+ def values(self) -> typing.List:
424
+ ''' Return the values of collection (matching Python's dict.values() functionality).
425
+
426
+ :rtype: typing.List
427
+ :return: the members of this collection.
428
+ '''
429
+ ...
430
+
431
+ def __getitem__(self, key: typing.Optional[typing.Union[int, str]]
432
+ ) -> 'GenericType':
433
+ '''
434
+
435
+ :param key:
436
+ :type key: typing.Optional[typing.Union[int, str]]
437
+ :rtype: 'GenericType'
438
+ '''
439
+ ...
440
+
441
+ def __setitem__(self, key: typing.Optional[typing.Union[int, str]],
442
+ value: 'GenericType'):
443
+ '''
444
+
445
+ :param key:
446
+ :type key: typing.Optional[typing.Union[int, str]]
447
+ :param value:
448
+ :type value: 'GenericType'
449
+ '''
450
+ ...
451
+
452
+ def __delitem__(self, key: typing.Optional[typing.Union[int, str]]
453
+ ) -> 'GenericType':
454
+ '''
455
+
456
+ :param key:
457
+ :type key: typing.Optional[typing.Union[int, str]]
458
+ :rtype: 'GenericType'
459
+ '''
460
+ ...
461
+
462
+ def __iter__(self) -> typing.Iterator['GenericType']:
463
+ '''
464
+
465
+ :rtype: typing.Iterator['GenericType']
466
+ '''
467
+ ...
468
+
469
+ def __next__(self) -> 'GenericType':
470
+ '''
471
+
472
+ :rtype: 'GenericType'
473
+ '''
474
+ ...
475
+
476
+ def __len__(self) -> int:
477
+ '''
478
+
479
+ :rtype: int
480
+ '''
481
+ ...
482
+
483
+
484
484
  class bpy_prop_array(typing.Generic[GenericType]):
485
485
  def foreach_get(self, attr, seq):
486
486
  '''
@@ -6802,10 +6802,10 @@ class Context(bpy_struct):
6802
6802
  :type: 'UIList'
6803
6803
  '''
6804
6804
 
6805
- property: typing.Union[str, int, 'ID']
6805
+ property: typing.Union[int, str, 'ID']
6806
6806
  ''' Get the property associated with a hovered button. Returns a tuple of the datablock, data path to the property, and array index.
6807
6807
 
6808
- :type: typing.Union[str, int, 'ID']
6808
+ :type: typing.Union[int, str, 'ID']
6809
6809
  '''
6810
6810
 
6811
6811
  edit_text: 'Text'
@@ -14827,7 +14827,7 @@ class Gizmo(bpy_struct):
14827
14827
 
14828
14828
  def modal(self, context: 'Context', event: 'Event', tweak: typing.Optional[
14829
14829
  typing.Union[typing.Set[str], typing.Set[int]]]
14830
- ) -> typing.Union[typing.Set[str], typing.Set[int]]:
14830
+ ) -> typing.Union[typing.Set[int], typing.Set[str]]:
14831
14831
  '''
14832
14832
 
14833
14833
  :param context:
@@ -14836,7 +14836,7 @@ class Gizmo(bpy_struct):
14836
14836
  :type event: 'Event'
14837
14837
  :param tweak: Tweak
14838
14838
  :type tweak: typing.Optional[typing.Union[typing.Set[str], typing.Set[int]]]
14839
- :rtype: typing.Union[typing.Set[str], typing.Set[int]]
14839
+ :rtype: typing.Union[typing.Set[int], typing.Set[str]]
14840
14840
  :return: result
14841
14841
  '''
14842
14842
  ...
@@ -14848,14 +14848,14 @@ class Gizmo(bpy_struct):
14848
14848
  ...
14849
14849
 
14850
14850
  def invoke(self, context: 'Context', event: 'Event'
14851
- ) -> typing.Union[typing.Set[str], typing.Set[int]]:
14851
+ ) -> typing.Union[typing.Set[int], typing.Set[str]]:
14852
14852
  '''
14853
14853
 
14854
14854
  :param context:
14855
14855
  :type context: 'Context'
14856
14856
  :param event:
14857
14857
  :type event: 'Event'
14858
- :rtype: typing.Union[typing.Set[str], typing.Set[int]]
14858
+ :rtype: typing.Union[typing.Set[int], typing.Set[str]]
14859
14859
  :return: result
14860
14860
  '''
14861
14861
  ...
@@ -17365,10 +17365,10 @@ class KeyingSetInfo(bpy_struct):
17365
17365
  :type: typing.Union[str, typing.Any]
17366
17366
  '''
17367
17367
 
17368
- bl_options: typing.Union[typing.Set[str], typing.Set[int]]
17368
+ bl_options: typing.Union[typing.Set[int], typing.Set[str]]
17369
17369
  ''' Keying Set options to use when inserting keyframes
17370
17370
 
17371
- :type: typing.Union[typing.Set[str], typing.Set[int]]
17371
+ :type: typing.Union[typing.Set[int], typing.Set[str]]
17372
17372
  '''
17373
17373
 
17374
17374
  def poll(self, context: typing.Optional['Context']) -> bool:
@@ -17816,10 +17816,10 @@ class Macro(bpy_struct):
17816
17816
  :type: typing.Union[str, typing.Any]
17817
17817
  '''
17818
17818
 
17819
- bl_options: typing.Union[typing.Set[str], typing.Set[int]]
17819
+ bl_options: typing.Union[typing.Set[int], typing.Set[str]]
17820
17820
  ''' Options for this operator type
17821
17821
 
17822
- :type: typing.Union[typing.Set[str], typing.Set[int]]
17822
+ :type: typing.Union[typing.Set[int], typing.Set[str]]
17823
17823
  '''
17824
17824
 
17825
17825
  bl_translation_context: typing.Union[str, typing.Any]
@@ -17853,12 +17853,12 @@ class Macro(bpy_struct):
17853
17853
  '''
17854
17854
 
17855
17855
  def report(self, type: typing.Optional[
17856
- typing.Union[typing.Set[str], typing.Set[int]]],
17856
+ typing.Union[typing.Set[int], typing.Set[str]]],
17857
17857
  message: typing.Union[str, typing.Any]):
17858
17858
  ''' report
17859
17859
 
17860
17860
  :param type: Type
17861
- :type type: typing.Optional[typing.Union[typing.Set[str], typing.Set[int]]]
17861
+ :type type: typing.Optional[typing.Union[typing.Set[int], typing.Set[str]]]
17862
17862
  :param message: Report Message
17863
17863
  :type message: typing.Union[str, typing.Any]
17864
17864
  '''
@@ -22848,10 +22848,10 @@ class Operator(bpy_struct):
22848
22848
  :type: typing.Union[str, typing.Any]
22849
22849
  '''
22850
22850
 
22851
- bl_options: typing.Union[typing.Set[str], typing.Set[int]]
22851
+ bl_options: typing.Union[typing.Set[int], typing.Set[str]]
22852
22852
  ''' Options for this operator type
22853
22853
 
22854
- :type: typing.Union[typing.Set[str], typing.Set[int]]
22854
+ :type: typing.Union[typing.Set[int], typing.Set[str]]
22855
22855
  '''
22856
22856
 
22857
22857
  bl_translation_context: typing.Union[str, typing.Any]
@@ -22909,12 +22909,12 @@ class Operator(bpy_struct):
22909
22909
  '''
22910
22910
 
22911
22911
  def report(self, type: typing.Optional[
22912
- typing.Union[typing.Set[str], typing.Set[int]]],
22912
+ typing.Union[typing.Set[int], typing.Set[str]]],
22913
22913
  message: typing.Union[str, typing.Any]):
22914
22914
  ''' report
22915
22915
 
22916
22916
  :param type: Type
22917
- :type type: typing.Optional[typing.Union[typing.Set[str], typing.Set[int]]]
22917
+ :type type: typing.Optional[typing.Union[typing.Set[int], typing.Set[str]]]
22918
22918
  :param message: Report Message
22919
22919
  :type message: typing.Union[str, typing.Any]
22920
22920
  '''
@@ -22939,12 +22939,12 @@ class Operator(bpy_struct):
22939
22939
  ...
22940
22940
 
22941
22941
  def execute(self, context: 'Context'
22942
- ) -> typing.Union[typing.Set[str], typing.Set[int]]:
22942
+ ) -> typing.Union[typing.Set[int], typing.Set[str]]:
22943
22943
  ''' Execute the operator
22944
22944
 
22945
22945
  :param context:
22946
22946
  :type context: 'Context'
22947
- :rtype: typing.Union[typing.Set[str], typing.Set[int]]
22947
+ :rtype: typing.Union[typing.Set[int], typing.Set[str]]
22948
22948
  :return: result
22949
22949
  '''
22950
22950
  ...
@@ -22960,27 +22960,27 @@ class Operator(bpy_struct):
22960
22960
  ...
22961
22961
 
22962
22962
  def invoke(self, context: 'Context', event: 'Event'
22963
- ) -> typing.Union[typing.Set[str], typing.Set[int]]:
22963
+ ) -> typing.Union[typing.Set[int], typing.Set[str]]:
22964
22964
  ''' Invoke the operator
22965
22965
 
22966
22966
  :param context:
22967
22967
  :type context: 'Context'
22968
22968
  :param event:
22969
22969
  :type event: 'Event'
22970
- :rtype: typing.Union[typing.Set[str], typing.Set[int]]
22970
+ :rtype: typing.Union[typing.Set[int], typing.Set[str]]
22971
22971
  :return: result
22972
22972
  '''
22973
22973
  ...
22974
22974
 
22975
22975
  def modal(self, context: 'Context', event: 'Event'
22976
- ) -> typing.Union[typing.Set[str], typing.Set[int]]:
22976
+ ) -> typing.Union[typing.Set[int], typing.Set[str]]:
22977
22977
  ''' Modal operator function
22978
22978
 
22979
22979
  :param context:
22980
22980
  :type context: 'Context'
22981
22981
  :param event:
22982
22982
  :type event: 'Event'
22983
- :rtype: typing.Union[typing.Set[str], typing.Set[int]]
22983
+ :rtype: typing.Union[typing.Set[int], typing.Set[str]]
22984
22984
  :return: result
22985
22985
  '''
22986
22986
  ...
@@ -28855,12 +28855,12 @@ class RenderEngine(bpy_struct):
28855
28855
  ...
28856
28856
 
28857
28857
  def report(self, type: typing.Optional[
28858
- typing.Union[typing.Set[str], typing.Set[int]]],
28858
+ typing.Union[typing.Set[int], typing.Set[str]]],
28859
28859
  message: typing.Union[str, typing.Any]):
28860
28860
  ''' Report info, warning or error messages
28861
28861
 
28862
28862
  :param type: Type
28863
- :type type: typing.Optional[typing.Union[typing.Set[str], typing.Set[int]]]
28863
+ :type type: typing.Optional[typing.Union[typing.Set[int], typing.Set[str]]]
28864
28864
  :param message: Report Message
28865
28865
  :type message: typing.Union[str, typing.Any]
28866
28866
  '''
@@ -39943,10 +39943,10 @@ class ToolSettings(bpy_struct):
39943
39943
  :type: typing.Union[str, int]
39944
39944
  '''
39945
39945
 
39946
- snap_elements: typing.Union[typing.Set[str], typing.Set[int]]
39946
+ snap_elements: typing.Union[typing.Set[int], typing.Set[str]]
39947
39947
  ''' Type of element to snap to
39948
39948
 
39949
- :type: typing.Union[typing.Set[str], typing.Set[int]]
39949
+ :type: typing.Union[typing.Set[int], typing.Set[str]]
39950
39950
  '''
39951
39951
 
39952
39952
  snap_elements_base: typing.Union[typing.Set[str], typing.Set[int]]
@@ -65190,14 +65190,14 @@ class WindowManager(ID, bpy_struct):
65190
65190
  @classmethod
65191
65191
  def invoke_props_popup(cls, operator: typing.Optional['Operator'],
65192
65192
  event: typing.Optional['Event']
65193
- ) -> typing.Union[typing.Set[str], typing.Set[int]]:
65193
+ ) -> typing.Union[typing.Set[int], typing.Set[str]]:
65194
65194
  ''' Operator popup invoke (show operator properties and execute it automatically on changes)
65195
65195
 
65196
65196
  :param operator: Operator to call
65197
65197
  :type operator: typing.Optional['Operator']
65198
65198
  :param event: Event
65199
65199
  :type event: typing.Optional['Event']
65200
- :rtype: typing.Union[typing.Set[str], typing.Set[int]]
65200
+ :rtype: typing.Union[typing.Set[int], typing.Set[str]]
65201
65201
  :return: result
65202
65202
  '''
65203
65203
  ...
@@ -65207,14 +65207,14 @@ class WindowManager(ID, bpy_struct):
65207
65207
  cls,
65208
65208
  operator: typing.Optional['Operator'],
65209
65209
  width: typing.Optional[typing.Any] = 300
65210
- ) -> typing.Union[typing.Set[str], typing.Set[int]]:
65210
+ ) -> typing.Union[typing.Set[int], typing.Set[str]]:
65211
65211
  ''' Operator dialog (non-autoexec popup) invoke (show operator properties and only execute it on click on OK button)
65212
65212
 
65213
65213
  :param operator: Operator to call
65214
65214
  :type operator: typing.Optional['Operator']
65215
65215
  :param width: Width of the popup
65216
65216
  :type width: typing.Optional[typing.Any]
65217
- :rtype: typing.Union[typing.Set[str], typing.Set[int]]
65217
+ :rtype: typing.Union[typing.Set[int], typing.Set[str]]
65218
65218
  :return: result
65219
65219
  '''
65220
65220
  ...
@@ -65232,14 +65232,14 @@ class WindowManager(ID, bpy_struct):
65232
65232
  def invoke_popup(cls,
65233
65233
  operator: typing.Optional['Operator'],
65234
65234
  width: typing.Optional[typing.Any] = 300
65235
- ) -> typing.Union[typing.Set[str], typing.Set[int]]:
65235
+ ) -> typing.Union[typing.Set[int], typing.Set[str]]:
65236
65236
  ''' Operator popup invoke (only shows operator's properties, without executing it)
65237
65237
 
65238
65238
  :param operator: Operator to call
65239
65239
  :type operator: typing.Optional['Operator']
65240
65240
  :param width: Width of the popup
65241
65241
  :type width: typing.Optional[typing.Any]
65242
- :rtype: typing.Union[typing.Set[str], typing.Set[int]]
65242
+ :rtype: typing.Union[typing.Set[int], typing.Set[str]]
65243
65243
  :return: result
65244
65244
  '''
65245
65245
  ...
@@ -65247,14 +65247,14 @@ class WindowManager(ID, bpy_struct):
65247
65247
  @classmethod
65248
65248
  def invoke_confirm(cls, operator: typing.Optional['Operator'],
65249
65249
  event: typing.Optional['Event']
65250
- ) -> typing.Union[typing.Set[str], typing.Set[int]]:
65250
+ ) -> typing.Union[typing.Set[int], typing.Set[str]]:
65251
65251
  ''' Operator confirmation popup (only to let user confirm the execution, no operator properties shown)
65252
65252
 
65253
65253
  :param operator: Operator to call
65254
65254
  :type operator: typing.Optional['Operator']
65255
65255
  :param event: Event
65256
65256
  :type event: typing.Optional['Event']
65257
- :rtype: typing.Union[typing.Set[str], typing.Set[int]]
65257
+ :rtype: typing.Union[typing.Set[int], typing.Set[str]]
65258
65258
  :return: result
65259
65259
  '''
65260
65260
  ...
@@ -68379,10 +68379,10 @@ class DecimateModifier(Modifier, bpy_struct):
68379
68379
  :type: typing.Union[str, int]
68380
68380
  '''
68381
68381
 
68382
- delimit: typing.Union[typing.Set[str], typing.Set[int]]
68382
+ delimit: typing.Union[typing.Set[int], typing.Set[str]]
68383
68383
  ''' Limit merging geometry
68384
68384
 
68385
- :type: typing.Union[typing.Set[str], typing.Set[int]]
68385
+ :type: typing.Union[typing.Set[int], typing.Set[str]]
68386
68386
  '''
68387
68387
 
68388
68388
  face_count: int
@@ -69217,10 +69217,10 @@ class MeshCacheModifier(Modifier, bpy_struct):
69217
69217
  :type: typing.Union[str, typing.Any]
69218
69218
  '''
69219
69219
 
69220
- flip_axis: typing.Union[typing.Set[str], typing.Set[int]]
69220
+ flip_axis: typing.Union[typing.Set[int], typing.Set[str]]
69221
69221
  '''
69222
69222
 
69223
- :type: typing.Union[typing.Set[str], typing.Set[int]]
69223
+ :type: typing.Union[typing.Set[int], typing.Set[str]]
69224
69224
  '''
69225
69225
 
69226
69226
  forward_axis: typing.Union[str, int]
@@ -108703,10 +108703,10 @@ class GeometryNodeCurveHandleTypeSelection(GeometryNode, NodeInternal, Node,
108703
108703
  :type: typing.Union[str, int]
108704
108704
  '''
108705
108705
 
108706
- mode: typing.Union[typing.Set[str], typing.Set[int]]
108706
+ mode: typing.Union[typing.Set[int], typing.Set[str]]
108707
108707
  ''' Whether to check the type of left and right handles
108708
108708
 
108709
- :type: typing.Union[typing.Set[str], typing.Set[int]]
108709
+ :type: typing.Union[typing.Set[int], typing.Set[str]]
108710
108710
  '''
108711
108711
 
108712
108712
  @classmethod
@@ -109241,10 +109241,10 @@ class GeometryNodeCurveSetHandles(GeometryNode, NodeInternal, Node,
109241
109241
  :type: typing.Union[str, int]
109242
109242
  '''
109243
109243
 
109244
- mode: typing.Union[typing.Set[str], typing.Set[int]]
109244
+ mode: typing.Union[typing.Set[int], typing.Set[str]]
109245
109245
  ''' Whether to update left and right handles
109246
109246
 
109247
- :type: typing.Union[typing.Set[str], typing.Set[int]]
109247
+ :type: typing.Union[typing.Set[int], typing.Set[str]]
109248
109248
  '''
109249
109249
 
109250
109250
  @classmethod
@@ -111264,6 +111264,69 @@ class GeometryNodeIndexSwitch(GeometryNode, NodeInternal, Node, bpy_struct):
111264
111264
  ...
111265
111265
 
111266
111266
 
111267
+ class GeometryNodeInputActiveCamera(GeometryNode, NodeInternal, Node,
111268
+ bpy_struct):
111269
+ ''' Retrieve the scene's active camera
111270
+ '''
111271
+
111272
+ @classmethod
111273
+ def is_registered_node_type(cls) -> bool:
111274
+ ''' True if a registered node type
111275
+
111276
+ :rtype: bool
111277
+ :return: Result
111278
+ '''
111279
+ ...
111280
+
111281
+ @classmethod
111282
+ def input_template(
111283
+ cls, index: typing.Optional[int]) -> 'NodeInternalSocketTemplate':
111284
+ ''' Input socket template
111285
+
111286
+ :param index: Index
111287
+ :type index: typing.Optional[int]
111288
+ :rtype: 'NodeInternalSocketTemplate'
111289
+ :return: result
111290
+ '''
111291
+ ...
111292
+
111293
+ @classmethod
111294
+ def output_template(
111295
+ cls, index: typing.Optional[int]) -> 'NodeInternalSocketTemplate':
111296
+ ''' Output socket template
111297
+
111298
+ :param index: Index
111299
+ :type index: typing.Optional[int]
111300
+ :rtype: 'NodeInternalSocketTemplate'
111301
+ :return: result
111302
+ '''
111303
+ ...
111304
+
111305
+ @classmethod
111306
+ def bl_rna_get_subclass(cls, id: typing.Optional[str],
111307
+ default=None) -> 'Struct':
111308
+ '''
111309
+
111310
+ :param id: The RNA type identifier.
111311
+ :type id: typing.Optional[str]
111312
+ :rtype: 'Struct'
111313
+ :return: The RNA type or default when not found.
111314
+ '''
111315
+ ...
111316
+
111317
+ @classmethod
111318
+ def bl_rna_get_subclass_py(cls, id: typing.Optional[str],
111319
+ default=None) -> typing.Any:
111320
+ '''
111321
+
111322
+ :param id: The RNA type identifier.
111323
+ :type id: typing.Optional[str]
111324
+ :rtype: typing.Any
111325
+ :return: The class or default when not found.
111326
+ '''
111327
+ ...
111328
+
111329
+
111267
111330
  class GeometryNodeInputCurveHandlePositions(GeometryNode, NodeInternal, Node,
111268
111331
  bpy_struct):
111269
111332
  ''' Retrieve the position of each Bézier control point's handles