fake-bpy-module 20250104__py3-none-any.whl → 20250109__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.
- bgl/__init__.pyi +2 -2
- bl_ui/node_add_menu_shader/__init__.pyi +0 -1
- bl_ui/properties_data_camera/__init__.pyi +0 -2
- bl_ui/space_node/__init__.pyi +0 -1
- bpy/__init__.pyi +0 -1
- bpy/_typing/__init__.pyi +4 -0
- bpy/{typing → _typing/rna_enums}/__init__.pyi +9 -9
- bpy/app/__init__.pyi +3 -3
- bpy/ops/action/__init__.pyi +13 -13
- bpy/ops/boid/__init__.pyi +3 -3
- bpy/ops/brush/__init__.pyi +3 -3
- bpy/ops/clip/__init__.pyi +3 -3
- bpy/ops/curve/__init__.pyi +5 -5
- bpy/ops/curves/__init__.pyi +9 -9
- bpy/ops/dpaint/__init__.pyi +3 -3
- bpy/ops/geometry/__init__.pyi +19 -19
- bpy/ops/graph/__init__.pyi +17 -17
- bpy/ops/grease_pencil/__init__.pyi +9 -27
- bpy/ops/image/__init__.pyi +9 -9
- bpy/ops/lattice/__init__.pyi +3 -3
- bpy/ops/mesh/__init__.pyi +54 -43
- bpy/ops/nla/__init__.pyi +3 -3
- bpy/ops/node/__init__.pyi +3 -3
- bpy/ops/object/__init__.pyi +69 -69
- bpy/ops/outliner/__init__.pyi +5 -5
- bpy/ops/paint/__init__.pyi +7 -7
- bpy/ops/pose/__init__.pyi +13 -13
- bpy/ops/rigidbody/__init__.pyi +9 -9
- bpy/ops/scene/__init__.pyi +10 -9
- bpy/ops/screen/__init__.pyi +7 -7
- bpy/ops/sequencer/__init__.pyi +3 -3
- bpy/ops/sound/__init__.pyi +3 -3
- bpy/ops/transform/__init__.pyi +87 -73
- bpy/ops/uv/__init__.pyi +9 -9
- bpy/ops/wm/__init__.pyi +18 -15
- bpy/props/__init__.pyi +63 -63
- bpy/types/__init__.pyi +32616 -32500
- bpy/utils/__init__.pyi +29 -10
- {fake_bpy_module-20250104.dist-info → fake_bpy_module-20250109.dist-info}/METADATA +2 -2
- {fake_bpy_module-20250104.dist-info → fake_bpy_module-20250109.dist-info}/RECORD +46 -45
- {fake_bpy_module-20250104.dist-info → fake_bpy_module-20250109.dist-info}/WHEEL +1 -1
- freestyle/shaders/__init__.pyi +5 -1
- freestyle/types/__init__.pyi +5 -2
- freestyle/utils/__init__.pyi +1 -1
- gpu_extras/batch/__init__.pyi +2 -3
- {fake_bpy_module-20250104.dist-info → fake_bpy_module-20250109.dist-info}/top_level.txt +0 -0
bpy/ops/wm/__init__.pyi
CHANGED
|
@@ -2,8 +2,8 @@ import typing
|
|
|
2
2
|
import collections.abc
|
|
3
3
|
import typing_extensions
|
|
4
4
|
import bl_operators.wm
|
|
5
|
+
import bpy._typing.rna_enums
|
|
5
6
|
import bpy.types
|
|
6
|
-
import bpy.typing
|
|
7
7
|
import mathutils
|
|
8
8
|
|
|
9
9
|
def alembic_export(
|
|
@@ -59,9 +59,10 @@ def alembic_export(
|
|
|
59
59
|
use_instancing: bool | None = True,
|
|
60
60
|
global_scale: float | None = 1.0,
|
|
61
61
|
triangulate: bool | None = False,
|
|
62
|
-
quad_method: bpy.
|
|
62
|
+
quad_method: bpy._typing.rna_enums.ModifierTriangulateQuadMethodItems
|
|
63
63
|
| None = "SHORTEST_DIAGONAL",
|
|
64
|
-
ngon_method: bpy.
|
|
64
|
+
ngon_method: bpy._typing.rna_enums.ModifierTriangulateNgonMethodItems
|
|
65
|
+
| None = "BEAUTY",
|
|
65
66
|
export_hair: bool | None = True,
|
|
66
67
|
export_particles: bool | None = True,
|
|
67
68
|
export_custom_properties: bool | None = True,
|
|
@@ -175,9 +176,9 @@ def alembic_export(
|
|
|
175
176
|
:param triangulate: Triangulate, Export polygons (quads and n-gons) as triangles
|
|
176
177
|
:type triangulate: bool | None
|
|
177
178
|
:param quad_method: Quad Method, Method for splitting the quads into triangles
|
|
178
|
-
:type quad_method: bpy.
|
|
179
|
+
:type quad_method: bpy._typing.rna_enums.ModifierTriangulateQuadMethodItems | None
|
|
179
180
|
:param ngon_method: N-gon Method, Method for splitting the n-gons into triangles
|
|
180
|
-
:type ngon_method: bpy.
|
|
181
|
+
:type ngon_method: bpy._typing.rna_enums.ModifierTriangulateNgonMethodItems | None
|
|
181
182
|
:param export_hair: Export Hair, Exports hair particle systems as animated curves
|
|
182
183
|
:type export_hair: bool | None
|
|
183
184
|
:param export_particles: Export Particles, Exports non-hair particle systems
|
|
@@ -4302,9 +4303,10 @@ def set_stereo_3d(
|
|
|
4302
4303
|
undo: bool | None = None,
|
|
4303
4304
|
/,
|
|
4304
4305
|
*,
|
|
4305
|
-
display_mode: bpy.
|
|
4306
|
-
anaglyph_type: bpy.
|
|
4307
|
-
interlace_type: bpy.
|
|
4306
|
+
display_mode: bpy._typing.rna_enums.Stereo3DDisplayItems | None = "ANAGLYPH",
|
|
4307
|
+
anaglyph_type: bpy._typing.rna_enums.Stereo3DAnaglyphTypeItems | None = "RED_CYAN",
|
|
4308
|
+
interlace_type: bpy._typing.rna_enums.Stereo3DInterlaceTypeItems
|
|
4309
|
+
| None = "ROW_INTERLEAVED",
|
|
4308
4310
|
use_interlace_swap: bool | None = False,
|
|
4309
4311
|
use_sidebyside_crosseyed: bool | None = False,
|
|
4310
4312
|
):
|
|
@@ -4313,11 +4315,11 @@ def set_stereo_3d(
|
|
|
4313
4315
|
:type execution_context: int | str | None
|
|
4314
4316
|
:type undo: bool | None
|
|
4315
4317
|
:param display_mode: Display Mode
|
|
4316
|
-
:type display_mode: bpy.
|
|
4318
|
+
:type display_mode: bpy._typing.rna_enums.Stereo3DDisplayItems | None
|
|
4317
4319
|
:param anaglyph_type: Anaglyph Type
|
|
4318
|
-
:type anaglyph_type: bpy.
|
|
4320
|
+
:type anaglyph_type: bpy._typing.rna_enums.Stereo3DAnaglyphTypeItems | None
|
|
4319
4321
|
:param interlace_type: Interlace Type
|
|
4320
|
-
:type interlace_type: bpy.
|
|
4322
|
+
:type interlace_type: bpy._typing.rna_enums.Stereo3DInterlaceTypeItems | None
|
|
4321
4323
|
:param use_interlace_swap: Swap Left/Right, Swap left and right stereo channels
|
|
4322
4324
|
:type use_interlace_swap: bool | None
|
|
4323
4325
|
:param use_sidebyside_crosseyed: Cross-Eyed, Right eye should see left image and vice versa
|
|
@@ -4941,9 +4943,10 @@ def usd_export(
|
|
|
4941
4943
|
export_points: bool | None = True,
|
|
4942
4944
|
export_volumes: bool | None = True,
|
|
4943
4945
|
triangulate_meshes: bool | None = False,
|
|
4944
|
-
quad_method: bpy.
|
|
4946
|
+
quad_method: bpy._typing.rna_enums.ModifierTriangulateQuadMethodItems
|
|
4945
4947
|
| None = "SHORTEST_DIAGONAL",
|
|
4946
|
-
ngon_method: bpy.
|
|
4948
|
+
ngon_method: bpy._typing.rna_enums.ModifierTriangulateNgonMethodItems
|
|
4949
|
+
| None = "BEAUTY",
|
|
4947
4950
|
usdz_downscale_size: typing.Literal[
|
|
4948
4951
|
"KEEP", "256", "512", "1024", "2048", "4096", "CUSTOM"
|
|
4949
4952
|
]
|
|
@@ -5173,9 +5176,9 @@ def usd_export(
|
|
|
5173
5176
|
:param triangulate_meshes: Triangulate Meshes, Triangulate meshes during export
|
|
5174
5177
|
:type triangulate_meshes: bool | None
|
|
5175
5178
|
:param quad_method: Quad Method, Method for splitting the quads into triangles
|
|
5176
|
-
:type quad_method: bpy.
|
|
5179
|
+
:type quad_method: bpy._typing.rna_enums.ModifierTriangulateQuadMethodItems | None
|
|
5177
5180
|
:param ngon_method: N-gon Method, Method for splitting the n-gons into triangles
|
|
5178
|
-
:type ngon_method: bpy.
|
|
5181
|
+
:type ngon_method: bpy._typing.rna_enums.ModifierTriangulateNgonMethodItems | None
|
|
5179
5182
|
:param usdz_downscale_size: USDZ Texture Downsampling, Choose a maximum size for all exported textures
|
|
5180
5183
|
|
|
5181
5184
|
KEEP
|
bpy/props/__init__.pyi
CHANGED
|
@@ -98,8 +98,8 @@ Instead use del cls.attr
|
|
|
98
98
|
import typing
|
|
99
99
|
import collections.abc
|
|
100
100
|
import typing_extensions
|
|
101
|
+
import bpy._typing.rna_enums
|
|
101
102
|
import bpy.types
|
|
102
|
-
import bpy.typing
|
|
103
103
|
|
|
104
104
|
def BoolProperty(
|
|
105
105
|
*,
|
|
@@ -107,10 +107,10 @@ def BoolProperty(
|
|
|
107
107
|
description: str | None = "",
|
|
108
108
|
translation_context: str | None = "*",
|
|
109
109
|
default=False,
|
|
110
|
-
options: set[bpy.
|
|
111
|
-
override: set[bpy.
|
|
110
|
+
options: set[bpy._typing.rna_enums.PropertyFlagItems] = {"ANIMATABLE"},
|
|
111
|
+
override: set[bpy._typing.rna_enums.PropertyOverrideFlagItems] = set(),
|
|
112
112
|
tags=set(),
|
|
113
|
-
subtype: bpy.
|
|
113
|
+
subtype: bpy._typing.rna_enums.PropertySubtypeNumberItems = "NONE",
|
|
114
114
|
update: collections.abc.Callable[[bpy.types.bpy_struct, bpy.types.Context], None]
|
|
115
115
|
| None = None,
|
|
116
116
|
get: collections.abc.Callable[[bpy.types.bpy_struct], bool] | None = None,
|
|
@@ -125,12 +125,12 @@ def BoolProperty(
|
|
|
125
125
|
:param translation_context: Text used as context to disambiguate translations.
|
|
126
126
|
:type translation_context: str | None
|
|
127
127
|
:param options: Enumerator in `rna_enum_property_flag_items`.
|
|
128
|
-
:type options: set[bpy.
|
|
128
|
+
:type options: set[bpy._typing.rna_enums.PropertyFlagItems]
|
|
129
129
|
:param override: Enumerator in `rna_enum_property_override_flag_items`.
|
|
130
|
-
:type override: set[bpy.
|
|
130
|
+
:type override: set[bpy._typing.rna_enums.PropertyOverrideFlagItems]
|
|
131
131
|
:param tags: Enumerator of tags that are defined by parent class.
|
|
132
132
|
:param subtype: Enumerator in `rna_enum_property_subtype_number_items`.
|
|
133
|
-
:type subtype: bpy.
|
|
133
|
+
:type subtype: bpy._typing.rna_enums.PropertySubtypeNumberItems
|
|
134
134
|
:param update: Function to be called when this value is modified,
|
|
135
135
|
This function must take 2 values (self, context) and return None.
|
|
136
136
|
Warning there are no safety checks to avoid infinite recursion.
|
|
@@ -149,10 +149,10 @@ def BoolVectorProperty(
|
|
|
149
149
|
description: str | None = "",
|
|
150
150
|
translation_context: str | None = "*",
|
|
151
151
|
default: collections.abc.Sequence[bool] | None = (False, False, False),
|
|
152
|
-
options: set[bpy.
|
|
153
|
-
override: set[bpy.
|
|
152
|
+
options: set[bpy._typing.rna_enums.PropertyFlagItems] = {"ANIMATABLE"},
|
|
153
|
+
override: set[bpy._typing.rna_enums.PropertyOverrideFlagItems] = set(),
|
|
154
154
|
tags=set(),
|
|
155
|
-
subtype: bpy.
|
|
155
|
+
subtype: bpy._typing.rna_enums.PropertySubtypeNumberArrayItems = "NONE",
|
|
156
156
|
size: collections.abc.Sequence[int] | int | None = 3,
|
|
157
157
|
update: collections.abc.Callable[[bpy.types.bpy_struct, bpy.types.Context], None]
|
|
158
158
|
| None = None,
|
|
@@ -174,12 +174,12 @@ def BoolVectorProperty(
|
|
|
174
174
|
:param default: sequence of booleans the length of size.
|
|
175
175
|
:type default: collections.abc.Sequence[bool] | None
|
|
176
176
|
:param options: Enumerator in `rna_enum_property_flag_items`.
|
|
177
|
-
:type options: set[bpy.
|
|
177
|
+
:type options: set[bpy._typing.rna_enums.PropertyFlagItems]
|
|
178
178
|
:param override: Enumerator in `rna_enum_property_override_flag_items`.
|
|
179
|
-
:type override: set[bpy.
|
|
179
|
+
:type override: set[bpy._typing.rna_enums.PropertyOverrideFlagItems]
|
|
180
180
|
:param tags: Enumerator of tags that are defined by parent class.
|
|
181
181
|
:param subtype: Enumerator in `rna_enum_property_subtype_number_array_items`.
|
|
182
|
-
:type subtype: bpy.
|
|
182
|
+
:type subtype: bpy._typing.rna_enums.PropertySubtypeNumberArrayItems
|
|
183
183
|
:param size: Vector dimensions in [1, 32]. An int sequence can be used to define multi-dimension arrays.
|
|
184
184
|
:type size: collections.abc.Sequence[int] | int | None
|
|
185
185
|
:param update: Function to be called when this value is modified,
|
|
@@ -196,18 +196,18 @@ def BoolVectorProperty(
|
|
|
196
196
|
|
|
197
197
|
def CollectionProperty(
|
|
198
198
|
*,
|
|
199
|
-
type: bpy.types.PropertyGroup | None = None,
|
|
199
|
+
type: type[bpy.types.PropertyGroup] | None = None,
|
|
200
200
|
name: str | None = "",
|
|
201
201
|
description: str | None = "",
|
|
202
202
|
translation_context: str | None = "*",
|
|
203
|
-
options: set[bpy.
|
|
204
|
-
override: set[bpy.
|
|
203
|
+
options: set[bpy._typing.rna_enums.PropertyFlagItems] = {"ANIMATABLE"},
|
|
204
|
+
override: set[bpy._typing.rna_enums.PropertyOverrideFlagCollectionItems] = set(),
|
|
205
205
|
tags=set(),
|
|
206
206
|
):
|
|
207
207
|
"""Returns a new collection property definition.
|
|
208
208
|
|
|
209
209
|
:param type: A subclass of a property group.
|
|
210
|
-
:type type: bpy.types.PropertyGroup | None
|
|
210
|
+
:type type: type[bpy.types.PropertyGroup] | None
|
|
211
211
|
:param name: Name used in the user interface.
|
|
212
212
|
:type name: str | None
|
|
213
213
|
:param description: Text used for the tooltip and api documentation.
|
|
@@ -215,9 +215,9 @@ def CollectionProperty(
|
|
|
215
215
|
:param translation_context: Text used as context to disambiguate translations.
|
|
216
216
|
:type translation_context: str | None
|
|
217
217
|
:param options: Enumerator in `rna_enum_property_flag_items`.
|
|
218
|
-
:type options: set[bpy.
|
|
218
|
+
:type options: set[bpy._typing.rna_enums.PropertyFlagItems]
|
|
219
219
|
:param override: Enumerator in `rna_enum_property_override_flag_collection_items`.
|
|
220
|
-
:type override: set[bpy.
|
|
220
|
+
:type override: set[bpy._typing.rna_enums.PropertyOverrideFlagCollectionItems]
|
|
221
221
|
:param tags: Enumerator of tags that are defined by parent class.
|
|
222
222
|
"""
|
|
223
223
|
|
|
@@ -242,8 +242,8 @@ def EnumProperty(
|
|
|
242
242
|
description: str | None = "",
|
|
243
243
|
translation_context: str | None = "*",
|
|
244
244
|
default: int | str | None = None,
|
|
245
|
-
options: set[bpy.
|
|
246
|
-
override: set[bpy.
|
|
245
|
+
options: set[bpy._typing.rna_enums.PropertyFlagEnumItems] = {"ANIMATABLE"},
|
|
246
|
+
override: set[bpy._typing.rna_enums.PropertyOverrideFlagItems] = set(),
|
|
247
247
|
tags=set(),
|
|
248
248
|
update: collections.abc.Callable[[bpy.types.bpy_struct, bpy.types.Context], None]
|
|
249
249
|
| None = None,
|
|
@@ -306,9 +306,9 @@ def EnumProperty(
|
|
|
306
306
|
(i.e. if a callback function is given as items parameter).
|
|
307
307
|
:type default: int | str | None
|
|
308
308
|
:param options: Enumerator in `rna_enum_property_flag_enum_items`.
|
|
309
|
-
:type options: set[bpy.
|
|
309
|
+
:type options: set[bpy._typing.rna_enums.PropertyFlagEnumItems]
|
|
310
310
|
:param override: Enumerator in `rna_enum_property_override_flag_items`.
|
|
311
|
-
:type override: set[bpy.
|
|
311
|
+
:type override: set[bpy._typing.rna_enums.PropertyOverrideFlagItems]
|
|
312
312
|
:param tags: Enumerator of tags that are defined by parent class.
|
|
313
313
|
:param update: Function to be called when this value is modified,
|
|
314
314
|
This function must take 2 values (self, context) and return None.
|
|
@@ -334,11 +334,11 @@ def FloatProperty(
|
|
|
334
334
|
soft_max: float | None = 3.402823e38,
|
|
335
335
|
step: int | None = 3,
|
|
336
336
|
precision: int | None = 2,
|
|
337
|
-
options: set[bpy.
|
|
338
|
-
override: set[bpy.
|
|
337
|
+
options: set[bpy._typing.rna_enums.PropertyFlagItems] = {"ANIMATABLE"},
|
|
338
|
+
override: set[bpy._typing.rna_enums.PropertyOverrideFlagItems] = set(),
|
|
339
339
|
tags=set(),
|
|
340
|
-
subtype: bpy.
|
|
341
|
-
unit: bpy.
|
|
340
|
+
subtype: bpy._typing.rna_enums.PropertySubtypeNumberItems = "NONE",
|
|
341
|
+
unit: bpy._typing.rna_enums.PropertyUnitItems = "NONE",
|
|
342
342
|
update: collections.abc.Callable[[bpy.types.bpy_struct, bpy.types.Context], None]
|
|
343
343
|
| None = None,
|
|
344
344
|
get: collections.abc.Callable[[bpy.types.bpy_struct], float] | None = None,
|
|
@@ -365,14 +365,14 @@ def FloatProperty(
|
|
|
365
365
|
:param precision: Maximum number of decimal digits to display, in [0, 6]. Fraction is automatically hidden for exact integer values of fields with unit 'NONE' or 'TIME' (frame count) and step divisible by 100.
|
|
366
366
|
:type precision: int | None
|
|
367
367
|
:param options: Enumerator in `rna_enum_property_flag_items`.
|
|
368
|
-
:type options: set[bpy.
|
|
368
|
+
:type options: set[bpy._typing.rna_enums.PropertyFlagItems]
|
|
369
369
|
:param override: Enumerator in `rna_enum_property_override_flag_items`.
|
|
370
|
-
:type override: set[bpy.
|
|
370
|
+
:type override: set[bpy._typing.rna_enums.PropertyOverrideFlagItems]
|
|
371
371
|
:param tags: Enumerator of tags that are defined by parent class.
|
|
372
372
|
:param subtype: Enumerator in `rna_enum_property_subtype_number_items`.
|
|
373
|
-
:type subtype: bpy.
|
|
373
|
+
:type subtype: bpy._typing.rna_enums.PropertySubtypeNumberItems
|
|
374
374
|
:param unit: Enumerator in `rna_enum_property_unit_items`.
|
|
375
|
-
:type unit: bpy.
|
|
375
|
+
:type unit: bpy._typing.rna_enums.PropertyUnitItems
|
|
376
376
|
:param update: Function to be called when this value is modified,
|
|
377
377
|
This function must take 2 values (self, context) and return None.
|
|
378
378
|
Warning there are no safety checks to avoid infinite recursion.
|
|
@@ -397,11 +397,11 @@ def FloatVectorProperty(
|
|
|
397
397
|
soft_max: float | None = sys.float_info.max,
|
|
398
398
|
step: int | None = 3,
|
|
399
399
|
precision: int | None = 2,
|
|
400
|
-
options: set[bpy.
|
|
401
|
-
override: set[bpy.
|
|
400
|
+
options: set[bpy._typing.rna_enums.PropertyFlagItems] = {"ANIMATABLE"},
|
|
401
|
+
override: set[bpy._typing.rna_enums.PropertyOverrideFlagItems] = set(),
|
|
402
402
|
tags=set(),
|
|
403
|
-
subtype: bpy.
|
|
404
|
-
unit: bpy.
|
|
403
|
+
subtype: bpy._typing.rna_enums.PropertySubtypeNumberArrayItems = "NONE",
|
|
404
|
+
unit: bpy._typing.rna_enums.PropertyUnitItems = "NONE",
|
|
405
405
|
size: collections.abc.Sequence[int] | int | None = 3,
|
|
406
406
|
update: collections.abc.Callable[[bpy.types.bpy_struct, bpy.types.Context], None]
|
|
407
407
|
| None = None,
|
|
@@ -435,14 +435,14 @@ def FloatVectorProperty(
|
|
|
435
435
|
:param precision: Maximum number of decimal digits to display, in [0, 6]. Fraction is automatically hidden for exact integer values of fields with unit 'NONE' or 'TIME' (frame count) and step divisible by 100.
|
|
436
436
|
:type precision: int | None
|
|
437
437
|
:param options: Enumerator in `rna_enum_property_flag_items`.
|
|
438
|
-
:type options: set[bpy.
|
|
438
|
+
:type options: set[bpy._typing.rna_enums.PropertyFlagItems]
|
|
439
439
|
:param override: Enumerator in `rna_enum_property_override_flag_items`.
|
|
440
|
-
:type override: set[bpy.
|
|
440
|
+
:type override: set[bpy._typing.rna_enums.PropertyOverrideFlagItems]
|
|
441
441
|
:param tags: Enumerator of tags that are defined by parent class.
|
|
442
442
|
:param subtype: Enumerator in `rna_enum_property_subtype_number_array_items`.
|
|
443
|
-
:type subtype: bpy.
|
|
443
|
+
:type subtype: bpy._typing.rna_enums.PropertySubtypeNumberArrayItems
|
|
444
444
|
:param unit: Enumerator in `rna_enum_property_unit_items`.
|
|
445
|
-
:type unit: bpy.
|
|
445
|
+
:type unit: bpy._typing.rna_enums.PropertyUnitItems
|
|
446
446
|
:param size: Vector dimensions in [1, 32]. An int sequence can be used to define multi-dimension arrays.
|
|
447
447
|
:type size: collections.abc.Sequence[int] | int | None
|
|
448
448
|
:param update: Function to be called when this value is modified,
|
|
@@ -468,10 +468,10 @@ def IntProperty(
|
|
|
468
468
|
soft_min: int | None = None,
|
|
469
469
|
soft_max: int | None = None,
|
|
470
470
|
step: int | None = 1,
|
|
471
|
-
options: set[bpy.
|
|
472
|
-
override: set[bpy.
|
|
471
|
+
options: set[bpy._typing.rna_enums.PropertyFlagItems] = {"ANIMATABLE"},
|
|
472
|
+
override: set[bpy._typing.rna_enums.PropertyOverrideFlagItems] = set(),
|
|
473
473
|
tags=set(),
|
|
474
|
-
subtype: bpy.
|
|
474
|
+
subtype: bpy._typing.rna_enums.PropertySubtypeNumberItems = "NONE",
|
|
475
475
|
update: collections.abc.Callable[[bpy.types.bpy_struct, bpy.types.Context], None]
|
|
476
476
|
| None = None,
|
|
477
477
|
get: collections.abc.Callable[[bpy.types.bpy_struct], int] | None = None,
|
|
@@ -496,12 +496,12 @@ def IntProperty(
|
|
|
496
496
|
:param step: Step of increment/decrement in UI, in [1, 100], defaults to 1 (WARNING: unused currently!).
|
|
497
497
|
:type step: int | None
|
|
498
498
|
:param options: Enumerator in `rna_enum_property_flag_items`.
|
|
499
|
-
:type options: set[bpy.
|
|
499
|
+
:type options: set[bpy._typing.rna_enums.PropertyFlagItems]
|
|
500
500
|
:param override: Enumerator in `rna_enum_property_override_flag_items`.
|
|
501
|
-
:type override: set[bpy.
|
|
501
|
+
:type override: set[bpy._typing.rna_enums.PropertyOverrideFlagItems]
|
|
502
502
|
:param tags: Enumerator of tags that are defined by parent class.
|
|
503
503
|
:param subtype: Enumerator in `rna_enum_property_subtype_number_items`.
|
|
504
|
-
:type subtype: bpy.
|
|
504
|
+
:type subtype: bpy._typing.rna_enums.PropertySubtypeNumberItems
|
|
505
505
|
:param update: Function to be called when this value is modified,
|
|
506
506
|
This function must take 2 values (self, context) and return None.
|
|
507
507
|
Warning there are no safety checks to avoid infinite recursion.
|
|
@@ -525,10 +525,10 @@ def IntVectorProperty(
|
|
|
525
525
|
soft_min: int | None = None,
|
|
526
526
|
soft_max: int | None = None,
|
|
527
527
|
step: int | None = 1,
|
|
528
|
-
options: set[bpy.
|
|
529
|
-
override: set[bpy.
|
|
528
|
+
options: set[bpy._typing.rna_enums.PropertyFlagItems] = {"ANIMATABLE"},
|
|
529
|
+
override: set[bpy._typing.rna_enums.PropertyOverrideFlagItems] = set(),
|
|
530
530
|
tags=set(),
|
|
531
|
-
subtype: bpy.
|
|
531
|
+
subtype: bpy._typing.rna_enums.PropertySubtypeNumberArrayItems = "NONE",
|
|
532
532
|
size: collections.abc.Sequence[int] | int | None = 3,
|
|
533
533
|
update: collections.abc.Callable[[bpy.types.bpy_struct, bpy.types.Context], None]
|
|
534
534
|
| None = None,
|
|
@@ -558,12 +558,12 @@ def IntVectorProperty(
|
|
|
558
558
|
:param step: Step of increment/decrement in UI, in [1, 100], defaults to 1 (WARNING: unused currently!).
|
|
559
559
|
:type step: int | None
|
|
560
560
|
:param options: Enumerator in `rna_enum_property_flag_items`.
|
|
561
|
-
:type options: set[bpy.
|
|
561
|
+
:type options: set[bpy._typing.rna_enums.PropertyFlagItems]
|
|
562
562
|
:param override: Enumerator in `rna_enum_property_override_flag_items`.
|
|
563
|
-
:type override: set[bpy.
|
|
563
|
+
:type override: set[bpy._typing.rna_enums.PropertyOverrideFlagItems]
|
|
564
564
|
:param tags: Enumerator of tags that are defined by parent class.
|
|
565
565
|
:param subtype: Enumerator in `rna_enum_property_subtype_number_array_items`.
|
|
566
|
-
:type subtype: bpy.
|
|
566
|
+
:type subtype: bpy._typing.rna_enums.PropertySubtypeNumberArrayItems
|
|
567
567
|
:param size: Vector dimensions in [1, 32]. An int sequence can be used to define multi-dimension arrays.
|
|
568
568
|
:type size: collections.abc.Sequence[int] | int | None
|
|
569
569
|
:param update: Function to be called when this value is modified,
|
|
@@ -580,12 +580,12 @@ def IntVectorProperty(
|
|
|
580
580
|
|
|
581
581
|
def PointerProperty(
|
|
582
582
|
*,
|
|
583
|
-
type: bpy.types.
|
|
583
|
+
type: type[bpy.types.PropertyGroup | bpy.types.ID] | None = None,
|
|
584
584
|
name: str | None = "",
|
|
585
585
|
description: str | None = "",
|
|
586
586
|
translation_context: str | None = "*",
|
|
587
|
-
options: set[bpy.
|
|
588
|
-
override: set[bpy.
|
|
587
|
+
options: set[bpy._typing.rna_enums.PropertyFlagItems] = {"ANIMATABLE"},
|
|
588
|
+
override: set[bpy._typing.rna_enums.PropertyOverrideFlagItems] = set(),
|
|
589
589
|
tags=set(),
|
|
590
590
|
poll: collections.abc.Callable[[bpy.types.bpy_struct, bpy.types.ID], bool]
|
|
591
591
|
| None = None,
|
|
@@ -595,7 +595,7 @@ def PointerProperty(
|
|
|
595
595
|
"""Returns a new pointer property definition.
|
|
596
596
|
|
|
597
597
|
:param type: A subclass of a property group or ID types.
|
|
598
|
-
:type type: bpy.types.
|
|
598
|
+
:type type: type[bpy.types.PropertyGroup | bpy.types.ID] | None
|
|
599
599
|
:param name: Name used in the user interface.
|
|
600
600
|
:type name: str | None
|
|
601
601
|
:param description: Text used for the tooltip and api documentation.
|
|
@@ -603,9 +603,9 @@ def PointerProperty(
|
|
|
603
603
|
:param translation_context: Text used as context to disambiguate translations.
|
|
604
604
|
:type translation_context: str | None
|
|
605
605
|
:param options: Enumerator in `rna_enum_property_flag_items`.
|
|
606
|
-
:type options: set[bpy.
|
|
606
|
+
:type options: set[bpy._typing.rna_enums.PropertyFlagItems]
|
|
607
607
|
:param override: Enumerator in `rna_enum_property_override_flag_items`.
|
|
608
|
-
:type override: set[bpy.
|
|
608
|
+
:type override: set[bpy._typing.rna_enums.PropertyOverrideFlagItems]
|
|
609
609
|
:param tags: Enumerator of tags that are defined by parent class.
|
|
610
610
|
:param poll: function to be called to determine whether an item is valid for this property.
|
|
611
611
|
The function must take 2 values (self, object) and return Bool.
|
|
@@ -633,10 +633,10 @@ def StringProperty(
|
|
|
633
633
|
translation_context: str | None = "*",
|
|
634
634
|
default: str | None = "",
|
|
635
635
|
maxlen: int | None = 0,
|
|
636
|
-
options: set[bpy.
|
|
637
|
-
override: set[bpy.
|
|
636
|
+
options: set[bpy._typing.rna_enums.PropertyFlagItems] = {"ANIMATABLE"},
|
|
637
|
+
override: set[bpy._typing.rna_enums.PropertyOverrideFlagItems] = set(),
|
|
638
638
|
tags=set(),
|
|
639
|
-
subtype: bpy.
|
|
639
|
+
subtype: bpy._typing.rna_enums.PropertySubtypeStringItems = "NONE",
|
|
640
640
|
update: collections.abc.Callable[[bpy.types.bpy_struct, bpy.types.Context], None]
|
|
641
641
|
| None = None,
|
|
642
642
|
get: collections.abc.Callable[[bpy.types.bpy_struct], str] | None = None,
|
|
@@ -658,12 +658,12 @@ def StringProperty(
|
|
|
658
658
|
:param maxlen: maximum length of the string.
|
|
659
659
|
:type maxlen: int | None
|
|
660
660
|
:param options: Enumerator in `rna_enum_property_flag_items`.
|
|
661
|
-
:type options: set[bpy.
|
|
661
|
+
:type options: set[bpy._typing.rna_enums.PropertyFlagItems]
|
|
662
662
|
:param override: Enumerator in `rna_enum_property_override_flag_items`.
|
|
663
|
-
:type override: set[bpy.
|
|
663
|
+
:type override: set[bpy._typing.rna_enums.PropertyOverrideFlagItems]
|
|
664
664
|
:param tags: Enumerator of tags that are defined by parent class.
|
|
665
665
|
:param subtype: Enumerator in `rna_enum_property_subtype_string_items`.
|
|
666
|
-
:type subtype: bpy.
|
|
666
|
+
:type subtype: bpy._typing.rna_enums.PropertySubtypeStringItems
|
|
667
667
|
:param update: Function to be called when this value is modified,
|
|
668
668
|
This function must take 2 values (self, context) and return None.
|
|
669
669
|
Warning there are no safety checks to avoid infinite recursion.
|