fake-bpy-module 20240327__py3-none-any.whl → 20240329__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.
Potentially problematic release.
This version of fake-bpy-module might be problematic. Click here for more details.
- aud/__init__.pyi +34 -96
- bgl/__init__.pyi +1265 -2417
- bl_math/__init__.pyi +3 -14
- bl_ui/space_toolsystem_toolbar/__init__.pyi +3 -0
- blf/__init__.pyi +13 -50
- bmesh/ops/__init__.pyi +68 -142
- bmesh/types/__init__.pyi +18 -44
- bmesh/utils/__init__.pyi +2 -6
- bpy/app/icons/__init__.pyi +2 -4
- bpy/app/timers/__init__.pyi +2 -6
- bpy/ops/action/__init__.pyi +92 -93
- bpy/ops/anim/__init__.pyi +104 -104
- bpy/ops/armature/__init__.pyi +108 -112
- bpy/ops/asset/__init__.pyi +32 -32
- bpy/ops/boid/__init__.pyi +18 -18
- bpy/ops/brush/__init__.pyi +18 -18
- bpy/ops/buttons/__init__.pyi +12 -12
- bpy/ops/cachefile/__init__.pyi +10 -10
- bpy/ops/camera/__init__.pyi +4 -4
- bpy/ops/clip/__init__.pyi +194 -195
- bpy/ops/cloth/__init__.pyi +2 -2
- bpy/ops/collection/__init__.pyi +10 -10
- bpy/ops/console/__init__.pyi +42 -42
- bpy/ops/constraint/__init__.pyi +36 -36
- bpy/ops/curve/__init__.pyi +114 -118
- bpy/ops/curves/__init__.pyi +55 -53
- bpy/ops/cycles/__init__.pyi +6 -6
- bpy/ops/dpaint/__init__.pyi +12 -12
- bpy/ops/ed/__init__.pyi +24 -24
- bpy/ops/export_anim/__init__.pyi +2 -2
- bpy/ops/export_mesh/__init__.pyi +2 -2
- bpy/ops/export_scene/__init__.pyi +7 -7
- bpy/ops/file/__init__.pyi +80 -83
- bpy/ops/fluid/__init__.pyi +28 -28
- bpy/ops/font/__init__.pyi +46 -46
- bpy/ops/geometry/__init__.pyi +38 -38
- bpy/ops/gizmogroup/__init__.pyi +4 -4
- bpy/ops/gpencil/__init__.pyi +308 -309
- bpy/ops/graph/__init__.pyi +150 -151
- bpy/ops/grease_pencil/__init__.pyi +114 -115
- bpy/ops/image/__init__.pyi +100 -100
- bpy/ops/import_anim/__init__.pyi +2 -2
- bpy/ops/import_curve/__init__.pyi +2 -2
- bpy/ops/import_mesh/__init__.pyi +2 -2
- bpy/ops/import_scene/__init__.pyi +6 -6
- bpy/ops/info/__init__.pyi +14 -14
- bpy/ops/lattice/__init__.pyi +16 -16
- bpy/ops/marker/__init__.pyi +22 -22
- bpy/ops/mask/__init__.pyi +90 -91
- bpy/ops/material/__init__.pyi +6 -6
- bpy/ops/mball/__init__.pyi +20 -21
- bpy/ops/mesh/__init__.pyi +429 -427
- bpy/ops/nla/__init__.pyi +90 -91
- bpy/ops/node/__init__.pyi +242 -243
- bpy/ops/object/__init__.pyi +572 -567
- bpy/ops/outliner/__init__.pyi +142 -142
- bpy/ops/paint/__init__.pyi +182 -126
- bpy/ops/paintcurve/__init__.pyi +20 -20
- bpy/ops/palette/__init__.pyi +14 -14
- bpy/ops/particle/__init__.pyi +72 -72
- bpy/ops/pose/__init__.pyi +90 -90
- bpy/ops/poselib/__init__.pyi +18 -18
- bpy/ops/preferences/__init__.pyi +76 -76
- bpy/ops/ptcache/__init__.pyi +14 -14
- bpy/ops/render/__init__.pyi +24 -24
- bpy/ops/rigidbody/__init__.pyi +34 -34
- bpy/ops/scene/__init__.pyi +86 -86
- bpy/ops/screen/__init__.pyi +84 -84
- bpy/ops/script/__init__.pyi +6 -6
- bpy/ops/sculpt/__init__.pyi +62 -62
- bpy/ops/sculpt_curves/__init__.pyi +8 -8
- bpy/ops/sequencer/__init__.pyi +184 -185
- bpy/ops/sound/__init__.pyi +16 -16
- bpy/ops/spreadsheet/__init__.pyi +8 -8
- bpy/ops/surface/__init__.pyi +12 -12
- bpy/ops/text/__init__.pyi +86 -86
- bpy/ops/text_editor/__init__.pyi +2 -2
- bpy/ops/texture/__init__.pyi +8 -8
- bpy/ops/transform/__init__.pyi +112 -112
- bpy/ops/ui/__init__.pyi +64 -64
- bpy/ops/uilist/__init__.pyi +6 -6
- bpy/ops/uv/__init__.pyi +104 -105
- bpy/ops/view2d/__init__.pyi +28 -28
- bpy/ops/view3d/__init__.pyi +134 -134
- bpy/ops/wm/__init__.pyi +232 -232
- bpy/ops/workspace/__init__.pyi +14 -14
- bpy/ops/world/__init__.pyi +2 -2
- bpy/props/__init__.pyi +29 -52
- bpy/types/__init__.pyi +5257 -3766
- bpy/utils/__init__.pyi +3 -6
- bpy/utils/units/__init__.pyi +3 -6
- bpy_extras/io_utils/__init__.pyi +8 -0
- {fake_bpy_module-20240327.dist-info → fake_bpy_module-20240329.dist-info}/METADATA +1 -1
- {fake_bpy_module-20240327.dist-info → fake_bpy_module-20240329.dist-info}/RECORD +114 -114
- freestyle/chainingiterators/__init__.pyi +5 -12
- freestyle/functions/__init__.pyi +19 -73
- freestyle/predicates/__init__.pyi +8 -21
- freestyle/shaders/__init__.pyi +32 -81
- freestyle/types/__init__.pyi +100 -270
- freestyle/utils/ContextFunctions/__init__.pyi +7 -27
- freestyle/utils/__init__.pyi +1 -2
- gpu/capabilities/__init__.pyi +15 -32
- gpu/matrix/__init__.pyi +1 -2
- gpu/state/__init__.pyi +4 -10
- gpu/types/__init__.pyi +29 -87
- gpu_extras/presets/__init__.pyi +4 -16
- imbuf/types/__init__.pyi +4 -10
- mathutils/__init__.pyi +106 -257
- mathutils/bvhtree/__init__.pyi +7 -15
- mathutils/geometry/__init__.pyi +9 -18
- mathutils/kdtree/__init__.pyi +4 -11
- mathutils/noise/__init__.pyi +41 -82
- {fake_bpy_module-20240327.dist-info → fake_bpy_module-20240329.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240327.dist-info → fake_bpy_module-20240329.dist-info}/top_level.txt +0 -0
bpy/ops/workspace/__init__.pyi
CHANGED
|
@@ -5,13 +5,13 @@ GenericType = typing.TypeVar("GenericType")
|
|
|
5
5
|
|
|
6
6
|
def add(
|
|
7
7
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
8
|
-
execution_context:
|
|
8
|
+
execution_context: str = None,
|
|
9
9
|
undo: bool = None,
|
|
10
10
|
):
|
|
11
11
|
"""Add a new workspace by duplicating the current one or appending one from the user configuration
|
|
12
12
|
|
|
13
13
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
14
|
-
:type execution_context:
|
|
14
|
+
:type execution_context: str
|
|
15
15
|
:type undo: bool
|
|
16
16
|
"""
|
|
17
17
|
|
|
@@ -19,7 +19,7 @@ def add(
|
|
|
19
19
|
|
|
20
20
|
def append_activate(
|
|
21
21
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
22
|
-
execution_context:
|
|
22
|
+
execution_context: str = None,
|
|
23
23
|
undo: bool = None,
|
|
24
24
|
idname: typing.Union[str, typing.Any] = "",
|
|
25
25
|
filepath: typing.Union[str, typing.Any] = "",
|
|
@@ -27,7 +27,7 @@ def append_activate(
|
|
|
27
27
|
"""Append a workspace and make it the active one in the current window
|
|
28
28
|
|
|
29
29
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
30
|
-
:type execution_context:
|
|
30
|
+
:type execution_context: str
|
|
31
31
|
:type undo: bool
|
|
32
32
|
:param idname: Identifier, Name of the workspace to append and activate
|
|
33
33
|
:type idname: typing.Union[str, typing.Any]
|
|
@@ -39,13 +39,13 @@ def append_activate(
|
|
|
39
39
|
|
|
40
40
|
def delete(
|
|
41
41
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
42
|
-
execution_context:
|
|
42
|
+
execution_context: str = None,
|
|
43
43
|
undo: bool = None,
|
|
44
44
|
):
|
|
45
45
|
"""Delete the active workspace
|
|
46
46
|
|
|
47
47
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
48
|
-
:type execution_context:
|
|
48
|
+
:type execution_context: str
|
|
49
49
|
:type undo: bool
|
|
50
50
|
"""
|
|
51
51
|
|
|
@@ -53,13 +53,13 @@ def delete(
|
|
|
53
53
|
|
|
54
54
|
def duplicate(
|
|
55
55
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
56
|
-
execution_context:
|
|
56
|
+
execution_context: str = None,
|
|
57
57
|
undo: bool = None,
|
|
58
58
|
):
|
|
59
59
|
"""Add a new workspace
|
|
60
60
|
|
|
61
61
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
62
|
-
:type execution_context:
|
|
62
|
+
:type execution_context: str
|
|
63
63
|
:type undo: bool
|
|
64
64
|
"""
|
|
65
65
|
|
|
@@ -67,13 +67,13 @@ def duplicate(
|
|
|
67
67
|
|
|
68
68
|
def reorder_to_back(
|
|
69
69
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
70
|
-
execution_context:
|
|
70
|
+
execution_context: str = None,
|
|
71
71
|
undo: bool = None,
|
|
72
72
|
):
|
|
73
73
|
"""Reorder workspace to be last in the list
|
|
74
74
|
|
|
75
75
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
76
|
-
:type execution_context:
|
|
76
|
+
:type execution_context: str
|
|
77
77
|
:type undo: bool
|
|
78
78
|
"""
|
|
79
79
|
|
|
@@ -81,13 +81,13 @@ def reorder_to_back(
|
|
|
81
81
|
|
|
82
82
|
def reorder_to_front(
|
|
83
83
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
84
|
-
execution_context:
|
|
84
|
+
execution_context: str = None,
|
|
85
85
|
undo: bool = None,
|
|
86
86
|
):
|
|
87
87
|
"""Reorder workspace to be first in the list
|
|
88
88
|
|
|
89
89
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
90
|
-
:type execution_context:
|
|
90
|
+
:type execution_context: str
|
|
91
91
|
:type undo: bool
|
|
92
92
|
"""
|
|
93
93
|
|
|
@@ -95,13 +95,13 @@ def reorder_to_front(
|
|
|
95
95
|
|
|
96
96
|
def scene_pin_toggle(
|
|
97
97
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
98
|
-
execution_context:
|
|
98
|
+
execution_context: str = None,
|
|
99
99
|
undo: bool = None,
|
|
100
100
|
):
|
|
101
101
|
"""Remember the last used scene for the current workspace and switch to it whenever this workspace is activated again
|
|
102
102
|
|
|
103
103
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
104
|
-
:type execution_context:
|
|
104
|
+
:type execution_context: str
|
|
105
105
|
:type undo: bool
|
|
106
106
|
"""
|
|
107
107
|
|
bpy/ops/world/__init__.pyi
CHANGED
|
@@ -5,13 +5,13 @@ GenericType = typing.TypeVar("GenericType")
|
|
|
5
5
|
|
|
6
6
|
def new(
|
|
7
7
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
8
|
-
execution_context:
|
|
8
|
+
execution_context: str = None,
|
|
9
9
|
undo: bool = None,
|
|
10
10
|
):
|
|
11
11
|
"""Create a new world Data-Block
|
|
12
12
|
|
|
13
13
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
14
|
-
:type execution_context:
|
|
14
|
+
:type execution_context: str
|
|
15
15
|
:type undo: bool
|
|
16
16
|
"""
|
|
17
17
|
|
bpy/props/__init__.pyi
CHANGED
|
@@ -54,7 +54,7 @@ def BoolVectorProperty(
|
|
|
54
54
|
override: set = None(),
|
|
55
55
|
tags: set = None(),
|
|
56
56
|
subtype: str = "NONE",
|
|
57
|
-
size: typing.
|
|
57
|
+
size: typing.Sequence[int] = 3,
|
|
58
58
|
update: typing.Any = None,
|
|
59
59
|
get: typing.Any = None,
|
|
60
60
|
set: typing.Any = None,
|
|
@@ -78,7 +78,7 @@ def BoolVectorProperty(
|
|
|
78
78
|
:param subtype: Enumerator in `rna_enum_property_subtype_number_array_items`.
|
|
79
79
|
:type subtype: str
|
|
80
80
|
:param size: Vector dimensions in [1, 32]. An int sequence can be used to define multi-dimension arrays.
|
|
81
|
-
:type size: typing.
|
|
81
|
+
:type size: typing.Sequence[int]
|
|
82
82
|
:param update: Function to be called when this value is modified,
|
|
83
83
|
This function must take 2 values (self, context) and return None.
|
|
84
84
|
Warning there are no safety checks to avoid infinite recursion.
|
|
@@ -211,12 +211,12 @@ def FloatProperty(
|
|
|
211
211
|
description: str = "",
|
|
212
212
|
translation_context: str = "*",
|
|
213
213
|
default=0.0,
|
|
214
|
-
min
|
|
215
|
-
max
|
|
216
|
-
soft_min
|
|
217
|
-
soft_max
|
|
218
|
-
step
|
|
219
|
-
precision
|
|
214
|
+
min=-3.402823e38,
|
|
215
|
+
max=3.402823e38,
|
|
216
|
+
soft_min=-3.402823e38,
|
|
217
|
+
soft_max=3.402823e38,
|
|
218
|
+
step=3,
|
|
219
|
+
precision=2,
|
|
220
220
|
options: set = {'"ANIMATABLE"'},
|
|
221
221
|
override: set = None(),
|
|
222
222
|
tags: set = None(),
|
|
@@ -235,17 +235,11 @@ def FloatProperty(
|
|
|
235
235
|
:param translation_context: Text used as context to disambiguate translations.
|
|
236
236
|
:type translation_context: str
|
|
237
237
|
:param min: Hard minimum, trying to assign a value below will silently assign this minimum instead.
|
|
238
|
-
:type min: float
|
|
239
238
|
:param max: Hard maximum, trying to assign a value above will silently assign this maximum instead.
|
|
240
|
-
:type max: float
|
|
241
239
|
:param soft_min: Soft minimum (>= min), user won't be able to drag the widget below this value in the UI.
|
|
242
|
-
:type soft_min: float
|
|
243
240
|
:param soft_max: Soft maximum (<= max), user won't be able to drag the widget above this value in the UI.
|
|
244
|
-
:type soft_max: float
|
|
245
241
|
:param step: Step of increment/decrement in UI, in [1, 100], defaults to 3 (WARNING: actual value is /100).
|
|
246
|
-
:type step: int
|
|
247
242
|
: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.
|
|
248
|
-
:type precision: int
|
|
249
243
|
:param options: Enumerator in `rna_enum_property_flag_items`.
|
|
250
244
|
:type options: set
|
|
251
245
|
:param override: Enumerator in `rna_enum_property_override_flag_items`.
|
|
@@ -275,18 +269,18 @@ def FloatVectorProperty(
|
|
|
275
269
|
description: str = "",
|
|
276
270
|
translation_context: str = "*",
|
|
277
271
|
default: typing.Sequence = (0.0, 0.0, 0.0),
|
|
278
|
-
min
|
|
279
|
-
max
|
|
280
|
-
soft_min
|
|
281
|
-
soft_max
|
|
282
|
-
step
|
|
283
|
-
precision
|
|
272
|
+
min=None,
|
|
273
|
+
max=None,
|
|
274
|
+
soft_min=None,
|
|
275
|
+
soft_max=None,
|
|
276
|
+
step=3,
|
|
277
|
+
precision=2,
|
|
284
278
|
options: set = {'"ANIMATABLE"'},
|
|
285
279
|
override: set = None(),
|
|
286
280
|
tags: set = None(),
|
|
287
281
|
subtype: str = "NONE",
|
|
288
282
|
unit: str = "NONE",
|
|
289
|
-
size: typing.
|
|
283
|
+
size: typing.Sequence[int] = 3,
|
|
290
284
|
update: typing.Any = None,
|
|
291
285
|
get: typing.Any = None,
|
|
292
286
|
set: typing.Any = None,
|
|
@@ -302,17 +296,11 @@ def FloatVectorProperty(
|
|
|
302
296
|
:param default: sequence of floats the length of size.
|
|
303
297
|
:type default: typing.Sequence
|
|
304
298
|
:param min: Hard minimum, trying to assign a value below will silently assign this minimum instead.
|
|
305
|
-
:type min: float
|
|
306
299
|
:param max: Hard maximum, trying to assign a value above will silently assign this maximum instead.
|
|
307
|
-
:type max: float
|
|
308
300
|
:param soft_min: Soft minimum (>= min), user won't be able to drag the widget below this value in the UI.
|
|
309
|
-
:type soft_min: float
|
|
310
301
|
:param soft_max: Soft maximum (<= max), user won't be able to drag the widget above this value in the UI.
|
|
311
|
-
:type soft_max: float
|
|
312
302
|
:param step: Step of increment/decrement in UI, in [1, 100], defaults to 3 (WARNING: actual value is /100).
|
|
313
|
-
:type step: int
|
|
314
303
|
: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.
|
|
315
|
-
:type precision: int
|
|
316
304
|
:param options: Enumerator in `rna_enum_property_flag_items`.
|
|
317
305
|
:type options: set
|
|
318
306
|
:param override: Enumerator in `rna_enum_property_override_flag_items`.
|
|
@@ -324,7 +312,7 @@ def FloatVectorProperty(
|
|
|
324
312
|
:param unit: Enumerator in `rna_enum_property_unit_items`.
|
|
325
313
|
:type unit: str
|
|
326
314
|
:param size: Vector dimensions in [1, 32]. An int sequence can be used to define multi-dimension arrays.
|
|
327
|
-
:type size: typing.
|
|
315
|
+
:type size: typing.Sequence[int]
|
|
328
316
|
:param update: Function to be called when this value is modified,
|
|
329
317
|
This function must take 2 values (self, context) and return None.
|
|
330
318
|
Warning there are no safety checks to avoid infinite recursion.
|
|
@@ -344,11 +332,11 @@ def IntProperty(
|
|
|
344
332
|
description: str = "",
|
|
345
333
|
translation_context: str = "*",
|
|
346
334
|
default=0,
|
|
347
|
-
min
|
|
348
|
-
max
|
|
349
|
-
soft_min
|
|
350
|
-
soft_max
|
|
351
|
-
step
|
|
335
|
+
min=None,
|
|
336
|
+
max=None,
|
|
337
|
+
soft_min=None,
|
|
338
|
+
soft_max=None,
|
|
339
|
+
step=1,
|
|
352
340
|
options: set = {'"ANIMATABLE"'},
|
|
353
341
|
override: set = None(),
|
|
354
342
|
tags: set = None(),
|
|
@@ -366,15 +354,10 @@ def IntProperty(
|
|
|
366
354
|
:param translation_context: Text used as context to disambiguate translations.
|
|
367
355
|
:type translation_context: str
|
|
368
356
|
:param min: Hard minimum, trying to assign a value below will silently assign this minimum instead.
|
|
369
|
-
:type min: int
|
|
370
357
|
:param max: Hard maximum, trying to assign a value above will silently assign this maximum instead.
|
|
371
|
-
:type max: int
|
|
372
358
|
:param soft_min: Soft minimum (>= min), user won't be able to drag the widget below this value in the UI.
|
|
373
|
-
:type soft_min: int
|
|
374
359
|
:param soft_max: Soft maximum (<= max), user won't be able to drag the widget above this value in the UI.
|
|
375
|
-
:type soft_max: int
|
|
376
360
|
:param step: Step of increment/decrement in UI, in [1, 100], defaults to 1 (WARNING: unused currently!).
|
|
377
|
-
:type step: int
|
|
378
361
|
:param options: Enumerator in `rna_enum_property_flag_items`.
|
|
379
362
|
:type options: set
|
|
380
363
|
:param override: Enumerator in `rna_enum_property_override_flag_items`.
|
|
@@ -402,16 +385,16 @@ def IntVectorProperty(
|
|
|
402
385
|
description: str = "",
|
|
403
386
|
translation_context: str = "*",
|
|
404
387
|
default: typing.Sequence = (0, 0, 0),
|
|
405
|
-
min
|
|
406
|
-
max
|
|
407
|
-
soft_min
|
|
408
|
-
soft_max
|
|
409
|
-
step
|
|
388
|
+
min=None,
|
|
389
|
+
max=None,
|
|
390
|
+
soft_min=None,
|
|
391
|
+
soft_max=None,
|
|
392
|
+
step=1,
|
|
410
393
|
options: set = {'"ANIMATABLE"'},
|
|
411
394
|
override: set = None(),
|
|
412
395
|
tags: set = None(),
|
|
413
396
|
subtype: str = "NONE",
|
|
414
|
-
size: typing.
|
|
397
|
+
size: typing.Sequence[int] = 3,
|
|
415
398
|
update: typing.Any = None,
|
|
416
399
|
get: typing.Any = None,
|
|
417
400
|
set: typing.Any = None,
|
|
@@ -427,15 +410,10 @@ def IntVectorProperty(
|
|
|
427
410
|
:param default: sequence of ints the length of size.
|
|
428
411
|
:type default: typing.Sequence
|
|
429
412
|
:param min: Hard minimum, trying to assign a value below will silently assign this minimum instead.
|
|
430
|
-
:type min: int
|
|
431
413
|
:param max: Hard maximum, trying to assign a value above will silently assign this maximum instead.
|
|
432
|
-
:type max: int
|
|
433
414
|
:param soft_min: Soft minimum (>= min), user won't be able to drag the widget below this value in the UI.
|
|
434
|
-
:type soft_min: int
|
|
435
415
|
:param soft_max: Soft maximum (<= max), user won't be able to drag the widget above this value in the UI.
|
|
436
|
-
:type soft_max: int
|
|
437
416
|
:param step: Step of increment/decrement in UI, in [1, 100], defaults to 1 (WARNING: unused currently!).
|
|
438
|
-
:type step: int
|
|
439
417
|
:param options: Enumerator in `rna_enum_property_flag_items`.
|
|
440
418
|
:type options: set
|
|
441
419
|
:param override: Enumerator in `rna_enum_property_override_flag_items`.
|
|
@@ -445,7 +423,7 @@ def IntVectorProperty(
|
|
|
445
423
|
:param subtype: Enumerator in `rna_enum_property_subtype_number_array_items`.
|
|
446
424
|
:type subtype: str
|
|
447
425
|
:param size: Vector dimensions in [1, 32]. An int sequence can be used to define multi-dimension arrays.
|
|
448
|
-
:type size: typing.
|
|
426
|
+
:type size: typing.Sequence[int]
|
|
449
427
|
:param update: Function to be called when this value is modified,
|
|
450
428
|
This function must take 2 values (self, context) and return None.
|
|
451
429
|
Warning there are no safety checks to avoid infinite recursion.
|
|
@@ -513,7 +491,7 @@ def StringProperty(
|
|
|
513
491
|
description: str = "",
|
|
514
492
|
translation_context: str = "*",
|
|
515
493
|
default: str = "",
|
|
516
|
-
maxlen
|
|
494
|
+
maxlen=0,
|
|
517
495
|
options: set = {'"ANIMATABLE"'},
|
|
518
496
|
override: set = None(),
|
|
519
497
|
tags: set = None(),
|
|
@@ -535,7 +513,6 @@ def StringProperty(
|
|
|
535
513
|
:param default: initializer string.
|
|
536
514
|
:type default: str
|
|
537
515
|
:param maxlen: maximum length of the string.
|
|
538
|
-
:type maxlen: int
|
|
539
516
|
:param options: Enumerator in `rna_enum_property_flag_items`.
|
|
540
517
|
:type options: set
|
|
541
518
|
:param override: Enumerator in `rna_enum_property_override_flag_items`.
|