fake-bpy-module 20240717__py3-none-any.whl → 20240719__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.
- bl_operators/add_mesh_torus/__init__.pyi +1 -190
- bl_operators/anim/__init__.pyi +104 -1504
- bl_operators/assets/__init__.pyi +3 -535
- bl_operators/bone_selection_sets/__init__.pyi +187 -2680
- bl_operators/clip/__init__.pyi +144 -1894
- bl_operators/connect_to_output/__init__.pyi +3 -176
- bl_operators/console/__init__.pyi +5 -880
- bl_operators/constraint/__init__.pyi +4 -704
- bl_operators/file/__init__.pyi +3 -528
- bl_operators/freestyle/__init__.pyi +4 -704
- bl_operators/geometry_nodes/__init__.pyi +4 -704
- bl_operators/image/__init__.pyi +5 -869
- bl_operators/image_as_planes/__init__.pyi +4 -424
- bl_operators/mesh/__init__.pyi +3 -528
- bl_operators/node/__init__.pyi +159 -2065
- bl_operators/object/__init__.pyi +217 -2842
- bl_operators/object_align/__init__.pyi +1 -176
- bl_operators/object_quick_effects/__init__.pyi +4 -725
- bl_operators/object_randomize_transform/__init__.pyi +1 -176
- bl_operators/presets/__init__.pyi +405 -5487
- bl_operators/rigidbody/__init__.pyi +3 -528
- bl_operators/screen_play_rendered_anim/__init__.pyi +1 -176
- bl_operators/sequencer/__init__.pyi +119 -1507
- bl_operators/spreadsheet/__init__.pyi +1 -176
- bl_operators/userpref/__init__.pyi +383 -4757
- bl_operators/uvcalc_follow_active/__init__.pyi +1 -176
- bl_operators/uvcalc_lightmap/__init__.pyi +1 -176
- bl_operators/uvcalc_transform/__init__.pyi +2 -352
- bl_operators/vertexpaint_dirt/__init__.pyi +1 -176
- bl_operators/view3d/__init__.pyi +101 -1468
- bl_operators/wm/__init__.pyi +723 -8894
- bl_operators/world/__init__.pyi +1 -176
- bl_ui/__init__.pyi +3 -534
- bl_ui/anim/__init__.pyi +1 -244
- bl_ui/asset_shelf/__init__.pyi +1 -189
- bl_ui/generic_ui_list/__init__.pyi +3 -594
- bl_ui/node_add_menu/__init__.pyi +1 -244
- bl_ui/node_add_menu_compositor/__init__.pyi +226 -4600
- bl_ui/node_add_menu_geometry/__init__.pyi +654 -12802
- bl_ui/node_add_menu_shader/__init__.pyi +94 -2531
- bl_ui/node_add_menu_texture/__init__.pyi +81 -2268
- bl_ui/properties_collection/__init__.pyi +58 -1272
- bl_ui/properties_constraint/__init__.pyi +1508 -32656
- bl_ui/properties_data_armature/__init__.pyi +278 -3804
- bl_ui/properties_data_bone/__init__.pyi +151 -2062
- bl_ui/properties_data_camera/__init__.pyi +216 -3034
- bl_ui/properties_data_curve/__init__.pyi +214 -3117
- bl_ui/properties_data_curves/__init__.pyi +57 -1273
- bl_ui/properties_data_empty/__init__.pyi +2 -385
- bl_ui/properties_data_gpencil/__init__.pyi +285 -3922
- bl_ui/properties_data_grease_pencil/__init__.pyi +198 -3081
- bl_ui/properties_data_lattice/__init__.pyi +3 -595
- bl_ui/properties_data_light/__init__.pyi +200 -2502
- bl_ui/properties_data_lightprobe/__init__.pyi +212 -2704
- bl_ui/properties_data_mesh/__init__.pyi +323 -4380
- bl_ui/properties_data_metaball/__init__.pyi +38 -1011
- bl_ui/properties_data_modifier/__init__.pyi +157 -2451
- bl_ui/properties_data_pointcloud/__init__.pyi +68 -1087
- bl_ui/properties_data_shaderfx/__init__.pyi +1 -189
- bl_ui/properties_data_speaker/__init__.pyi +36 -1018
- bl_ui/properties_data_volume/__init__.pyi +104 -1660
- bl_ui/properties_freestyle/__init__.pyi +438 -5136
- bl_ui/properties_grease_pencil_common/__init__.pyi +197 -3852
- bl_ui/properties_mask_common/__init__.pyi +59 -1705
- bl_ui/properties_material/__init__.pyi +227 -3334
- bl_ui/properties_material_gpencil/__init__.pyi +187 -2221
- bl_ui/properties_object/__init__.pyi +197 -2908
- bl_ui/properties_output/__init__.pyi +286 -3895
- bl_ui/properties_paint_common/__init__.pyi +40 -923
- bl_ui/properties_particle/__init__.pyi +954 -10839
- bl_ui/properties_physics_cloth/__init__.pyi +219 -2979
- bl_ui/properties_physics_common/__init__.pyi +1 -196
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +429 -5411
- bl_ui/properties_physics_field/__init__.pyi +160 -2166
- bl_ui/properties_physics_fluid/__init__.pyi +541 -7352
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +1 -189
- bl_ui/properties_physics_rigidbody/__init__.pyi +125 -1623
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +196 -2640
- bl_ui/properties_physics_softbody/__init__.pyi +238 -3135
- bl_ui/properties_render/__init__.pyi +1065 -11565
- bl_ui/properties_scene/__init__.pyi +209 -3090
- bl_ui/properties_texture/__init__.pyi +426 -5475
- bl_ui/properties_view_layer/__init__.pyi +264 -3827
- bl_ui/properties_workspace/__init__.pyi +7 -770
- bl_ui/properties_world/__init__.pyi +147 -2056
- bl_ui/space_clip/__init__.pyi +1013 -16279
- bl_ui/space_console/__init__.pyi +39 -1442
- bl_ui/space_dopesheet/__init__.pyi +450 -7213
- bl_ui/space_filebrowser/__init__.pyi +406 -6708
- bl_ui/space_graph/__init__.pyi +223 -4886
- bl_ui/space_image/__init__.pyi +1091 -16394
- bl_ui/space_info/__init__.pyi +39 -1442
- bl_ui/space_nla/__init__.pyi +216 -4157
- bl_ui/space_node/__init__.pyi +394 -6344
- bl_ui/space_outliner/__init__.pyi +156 -3448
- bl_ui/space_properties/__init__.pyi +3 -567
- bl_ui/space_sequencer/__init__.pyi +1224 -18036
- bl_ui/space_spreadsheet/__init__.pyi +1 -189
- bl_ui/space_statusbar/__init__.pyi +1 -189
- bl_ui/space_text/__init__.pyi +183 -3851
- bl_ui/space_time/__init__.pyi +69 -1622
- bl_ui/space_toolsystem_common/__init__.pyi +2 -118
- bl_ui/space_toolsystem_toolbar/__init__.pyi +13 -476
- bl_ui/space_topbar/__init__.pyi +322 -6269
- bl_ui/space_userpref/__init__.pyi +1758 -19735
- bl_ui/space_view3d/__init__.pyi +3853 -67593
- bl_ui/space_view3d_toolbar/__init__.pyi +1948 -23558
- bl_ui/temp_anim_layers/__init__.pyi +1 -189
- bl_ui/utils/__init__.pyi +0 -35
- bpy/ops/outliner/__init__.pyi +0 -1
- bpy/ops/screen/__init__.pyi +6 -3
- bpy/types/__init__.pyi +77 -5
- bpy_extras/node_shader_utils/__init__.pyi +0 -8
- {fake_bpy_module-20240717.dist-info → fake_bpy_module-20240719.dist-info}/METADATA +1 -1
- {fake_bpy_module-20240717.dist-info → fake_bpy_module-20240719.dist-info}/RECORD +119 -119
- {fake_bpy_module-20240717.dist-info → fake_bpy_module-20240719.dist-info}/WHEEL +1 -1
- keyingsets_builtins/__init__.pyi +268 -4448
- nodeitems_builtins/__init__.pyi +1 -7
- {fake_bpy_module-20240717.dist-info → fake_bpy_module-20240719.dist-info}/top_level.txt +0 -0
bl_ui/anim/__init__.pyi
CHANGED
|
@@ -7,27 +7,11 @@ import bpy_types
|
|
|
7
7
|
GenericType1 = typing.TypeVar("GenericType1")
|
|
8
8
|
GenericType2 = typing.TypeVar("GenericType2")
|
|
9
9
|
|
|
10
|
-
class ANIM_MT_keyframe_insert_pie(bpy_types._GenericUI):
|
|
10
|
+
class ANIM_MT_keyframe_insert_pie(bpy.types.Menu, bpy_types._GenericUI):
|
|
11
11
|
bl_label: typing.Any
|
|
12
12
|
bl_rna: typing.Any
|
|
13
13
|
id_data: typing.Any
|
|
14
14
|
|
|
15
|
-
def append(self, draw_func):
|
|
16
|
-
"""Append a draw function to this menu,
|
|
17
|
-
takes the same arguments as the menus draw function
|
|
18
|
-
|
|
19
|
-
:param draw_func:
|
|
20
|
-
"""
|
|
21
|
-
...
|
|
22
|
-
|
|
23
|
-
def as_pointer(self) -> int:
|
|
24
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
25
|
-
|
|
26
|
-
:return: int (memory address).
|
|
27
|
-
:rtype: int
|
|
28
|
-
"""
|
|
29
|
-
...
|
|
30
|
-
|
|
31
15
|
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
32
16
|
"""
|
|
33
17
|
|
|
@@ -50,230 +34,3 @@ class ANIM_MT_keyframe_insert_pie(bpy_types._GenericUI):
|
|
|
50
34
|
:param context:
|
|
51
35
|
"""
|
|
52
36
|
...
|
|
53
|
-
|
|
54
|
-
def draw_collapsible(self, context, layout):
|
|
55
|
-
"""
|
|
56
|
-
|
|
57
|
-
:param context:
|
|
58
|
-
:param layout:
|
|
59
|
-
"""
|
|
60
|
-
...
|
|
61
|
-
|
|
62
|
-
def draw_preset(self, _context):
|
|
63
|
-
"""Define these on the subclass:
|
|
64
|
-
- preset_operator (string)
|
|
65
|
-
- preset_subdir (string)Optionally:
|
|
66
|
-
- preset_add_operator (string)
|
|
67
|
-
- preset_extensions (set of strings)
|
|
68
|
-
- preset_operator_defaults (dict of keyword args)
|
|
69
|
-
|
|
70
|
-
:param _context:
|
|
71
|
-
"""
|
|
72
|
-
...
|
|
73
|
-
|
|
74
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
75
|
-
"""Adds driver(s) to the given property
|
|
76
|
-
|
|
77
|
-
:return: The driver(s) added.
|
|
78
|
-
:rtype: bpy.types.FCurve
|
|
79
|
-
"""
|
|
80
|
-
...
|
|
81
|
-
|
|
82
|
-
def driver_remove(self) -> bool:
|
|
83
|
-
"""Remove driver(s) from the given property
|
|
84
|
-
|
|
85
|
-
:return: Success of driver removal.
|
|
86
|
-
:rtype: bool
|
|
87
|
-
"""
|
|
88
|
-
...
|
|
89
|
-
|
|
90
|
-
def get(self):
|
|
91
|
-
"""Returns the value of the custom property assigned to key or default
|
|
92
|
-
when not found (matches Python's dictionary function of the same name).
|
|
93
|
-
|
|
94
|
-
"""
|
|
95
|
-
...
|
|
96
|
-
|
|
97
|
-
def id_properties_clear(self):
|
|
98
|
-
"""
|
|
99
|
-
|
|
100
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
101
|
-
"""
|
|
102
|
-
...
|
|
103
|
-
|
|
104
|
-
def id_properties_ensure(self):
|
|
105
|
-
"""
|
|
106
|
-
|
|
107
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
108
|
-
"""
|
|
109
|
-
...
|
|
110
|
-
|
|
111
|
-
def id_properties_ui(self):
|
|
112
|
-
"""
|
|
113
|
-
|
|
114
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
115
|
-
"""
|
|
116
|
-
...
|
|
117
|
-
|
|
118
|
-
def is_extended(self): ...
|
|
119
|
-
def is_property_hidden(self) -> bool:
|
|
120
|
-
"""Check if a property is hidden.
|
|
121
|
-
|
|
122
|
-
:return: True when the property is hidden.
|
|
123
|
-
:rtype: bool
|
|
124
|
-
"""
|
|
125
|
-
...
|
|
126
|
-
|
|
127
|
-
def is_property_overridable_library(self) -> bool:
|
|
128
|
-
"""Check if a property is overridable.
|
|
129
|
-
|
|
130
|
-
:return: True when the property is overridable.
|
|
131
|
-
:rtype: bool
|
|
132
|
-
"""
|
|
133
|
-
...
|
|
134
|
-
|
|
135
|
-
def is_property_readonly(self) -> bool:
|
|
136
|
-
"""Check if a property is readonly.
|
|
137
|
-
|
|
138
|
-
:return: True when the property is readonly (not writable).
|
|
139
|
-
:rtype: bool
|
|
140
|
-
"""
|
|
141
|
-
...
|
|
142
|
-
|
|
143
|
-
def is_property_set(self) -> bool:
|
|
144
|
-
"""Check if a property is set, use for testing operator properties.
|
|
145
|
-
|
|
146
|
-
:return: True when the property has been set.
|
|
147
|
-
:rtype: bool
|
|
148
|
-
"""
|
|
149
|
-
...
|
|
150
|
-
|
|
151
|
-
def items(self):
|
|
152
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
153
|
-
dictionary function of the same name).
|
|
154
|
-
|
|
155
|
-
:return: custom property key, value pairs.
|
|
156
|
-
"""
|
|
157
|
-
...
|
|
158
|
-
|
|
159
|
-
def keyframe_delete(self) -> bool:
|
|
160
|
-
"""Remove a keyframe from this properties fcurve.
|
|
161
|
-
|
|
162
|
-
:return: Success of keyframe deletion.
|
|
163
|
-
:rtype: bool
|
|
164
|
-
"""
|
|
165
|
-
...
|
|
166
|
-
|
|
167
|
-
def keyframe_insert(self) -> bool:
|
|
168
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
169
|
-
|
|
170
|
-
:return: Success of keyframe insertion.
|
|
171
|
-
:rtype: bool
|
|
172
|
-
"""
|
|
173
|
-
...
|
|
174
|
-
|
|
175
|
-
def keys(self):
|
|
176
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
177
|
-
dictionary function of the same name).
|
|
178
|
-
|
|
179
|
-
:return: custom property keys.
|
|
180
|
-
"""
|
|
181
|
-
...
|
|
182
|
-
|
|
183
|
-
def path_from_id(self) -> str:
|
|
184
|
-
"""Returns the data path from the ID to this object (string).
|
|
185
|
-
|
|
186
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
187
|
-
to this struct and property (when given).
|
|
188
|
-
:rtype: str
|
|
189
|
-
"""
|
|
190
|
-
...
|
|
191
|
-
|
|
192
|
-
def path_menu(
|
|
193
|
-
self,
|
|
194
|
-
searchpaths: list[str],
|
|
195
|
-
operator: str,
|
|
196
|
-
*,
|
|
197
|
-
props_default: dict = None,
|
|
198
|
-
prop_filepath: str | None = "filepath",
|
|
199
|
-
filter_ext: collections.abc.Callable | None = None,
|
|
200
|
-
filter_path=None,
|
|
201
|
-
display_name: collections.abc.Callable | None = None,
|
|
202
|
-
add_operator=None,
|
|
203
|
-
add_operator_props=None,
|
|
204
|
-
):
|
|
205
|
-
"""Populate a menu from a list of paths.
|
|
206
|
-
|
|
207
|
-
:param searchpaths: Paths to scan.
|
|
208
|
-
:type searchpaths: list[str]
|
|
209
|
-
:param operator: The operator id to use with each file.
|
|
210
|
-
:type operator: str
|
|
211
|
-
:param props_default: Properties to assign to each operator.
|
|
212
|
-
:type props_default: dict
|
|
213
|
-
:param prop_filepath: Optional operator filepath property (defaults to "filepath").
|
|
214
|
-
:type prop_filepath: str | None
|
|
215
|
-
:param filter_ext: Optional callback that takes the file extensions.
|
|
216
|
-
|
|
217
|
-
Returning false excludes the file from the list.
|
|
218
|
-
:type filter_ext: collections.abc.Callable | None
|
|
219
|
-
:param filter_path:
|
|
220
|
-
:param display_name: Optional callback that takes the full path, returns the name to display.
|
|
221
|
-
:type display_name: collections.abc.Callable | None
|
|
222
|
-
:param add_operator:
|
|
223
|
-
:param add_operator_props:
|
|
224
|
-
"""
|
|
225
|
-
...
|
|
226
|
-
|
|
227
|
-
def path_resolve(self):
|
|
228
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
229
|
-
...
|
|
230
|
-
|
|
231
|
-
def pop(self):
|
|
232
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
233
|
-
when not found (matches Python's dictionary function of the same name).
|
|
234
|
-
|
|
235
|
-
"""
|
|
236
|
-
...
|
|
237
|
-
|
|
238
|
-
def prepend(self, draw_func):
|
|
239
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
240
|
-
the menus draw function
|
|
241
|
-
|
|
242
|
-
:param draw_func:
|
|
243
|
-
"""
|
|
244
|
-
...
|
|
245
|
-
|
|
246
|
-
def property_overridable_library_set(self) -> bool:
|
|
247
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
248
|
-
|
|
249
|
-
:return: True when the overridable status of the property was successfully set.
|
|
250
|
-
:rtype: bool
|
|
251
|
-
"""
|
|
252
|
-
...
|
|
253
|
-
|
|
254
|
-
def property_unset(self):
|
|
255
|
-
"""Unset a property, will use default value afterward."""
|
|
256
|
-
...
|
|
257
|
-
|
|
258
|
-
def remove(self, draw_func):
|
|
259
|
-
"""Remove a draw function that has been added to this menu
|
|
260
|
-
|
|
261
|
-
:param draw_func:
|
|
262
|
-
"""
|
|
263
|
-
...
|
|
264
|
-
|
|
265
|
-
def type_recast(self):
|
|
266
|
-
"""Return a new instance, this is needed because types
|
|
267
|
-
such as textures can be changed at runtime.
|
|
268
|
-
|
|
269
|
-
:return: a new instance of this object with the type initialized again.
|
|
270
|
-
"""
|
|
271
|
-
...
|
|
272
|
-
|
|
273
|
-
def values(self):
|
|
274
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
275
|
-
dictionary function of the same name).
|
|
276
|
-
|
|
277
|
-
:return: custom property values.
|
|
278
|
-
"""
|
|
279
|
-
...
|
bl_ui/asset_shelf/__init__.pyi
CHANGED
|
@@ -7,29 +7,13 @@ import bpy_types
|
|
|
7
7
|
GenericType1 = typing.TypeVar("GenericType1")
|
|
8
8
|
GenericType2 = typing.TypeVar("GenericType2")
|
|
9
9
|
|
|
10
|
-
class ASSETSHELF_PT_display(bpy_types._GenericUI):
|
|
10
|
+
class ASSETSHELF_PT_display(bpy.types.Panel, bpy_types._GenericUI):
|
|
11
11
|
bl_label: typing.Any
|
|
12
12
|
bl_region_type: typing.Any
|
|
13
13
|
bl_rna: typing.Any
|
|
14
14
|
bl_space_type: typing.Any
|
|
15
15
|
id_data: typing.Any
|
|
16
16
|
|
|
17
|
-
def append(self, draw_func):
|
|
18
|
-
"""Append a draw function to this menu,
|
|
19
|
-
takes the same arguments as the menus draw function
|
|
20
|
-
|
|
21
|
-
:param draw_func:
|
|
22
|
-
"""
|
|
23
|
-
...
|
|
24
|
-
|
|
25
|
-
def as_pointer(self) -> int:
|
|
26
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
27
|
-
|
|
28
|
-
:return: int (memory address).
|
|
29
|
-
:rtype: int
|
|
30
|
-
"""
|
|
31
|
-
...
|
|
32
|
-
|
|
33
17
|
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
34
18
|
"""
|
|
35
19
|
|
|
@@ -53,128 +37,6 @@ class ASSETSHELF_PT_display(bpy_types._GenericUI):
|
|
|
53
37
|
"""
|
|
54
38
|
...
|
|
55
39
|
|
|
56
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
57
|
-
"""Adds driver(s) to the given property
|
|
58
|
-
|
|
59
|
-
:return: The driver(s) added.
|
|
60
|
-
:rtype: bpy.types.FCurve
|
|
61
|
-
"""
|
|
62
|
-
...
|
|
63
|
-
|
|
64
|
-
def driver_remove(self) -> bool:
|
|
65
|
-
"""Remove driver(s) from the given property
|
|
66
|
-
|
|
67
|
-
:return: Success of driver removal.
|
|
68
|
-
:rtype: bool
|
|
69
|
-
"""
|
|
70
|
-
...
|
|
71
|
-
|
|
72
|
-
def get(self):
|
|
73
|
-
"""Returns the value of the custom property assigned to key or default
|
|
74
|
-
when not found (matches Python's dictionary function of the same name).
|
|
75
|
-
|
|
76
|
-
"""
|
|
77
|
-
...
|
|
78
|
-
|
|
79
|
-
def id_properties_clear(self):
|
|
80
|
-
"""
|
|
81
|
-
|
|
82
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
83
|
-
"""
|
|
84
|
-
...
|
|
85
|
-
|
|
86
|
-
def id_properties_ensure(self):
|
|
87
|
-
"""
|
|
88
|
-
|
|
89
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
90
|
-
"""
|
|
91
|
-
...
|
|
92
|
-
|
|
93
|
-
def id_properties_ui(self):
|
|
94
|
-
"""
|
|
95
|
-
|
|
96
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
97
|
-
"""
|
|
98
|
-
...
|
|
99
|
-
|
|
100
|
-
def is_extended(self): ...
|
|
101
|
-
def is_property_hidden(self) -> bool:
|
|
102
|
-
"""Check if a property is hidden.
|
|
103
|
-
|
|
104
|
-
:return: True when the property is hidden.
|
|
105
|
-
:rtype: bool
|
|
106
|
-
"""
|
|
107
|
-
...
|
|
108
|
-
|
|
109
|
-
def is_property_overridable_library(self) -> bool:
|
|
110
|
-
"""Check if a property is overridable.
|
|
111
|
-
|
|
112
|
-
:return: True when the property is overridable.
|
|
113
|
-
:rtype: bool
|
|
114
|
-
"""
|
|
115
|
-
...
|
|
116
|
-
|
|
117
|
-
def is_property_readonly(self) -> bool:
|
|
118
|
-
"""Check if a property is readonly.
|
|
119
|
-
|
|
120
|
-
:return: True when the property is readonly (not writable).
|
|
121
|
-
:rtype: bool
|
|
122
|
-
"""
|
|
123
|
-
...
|
|
124
|
-
|
|
125
|
-
def is_property_set(self) -> bool:
|
|
126
|
-
"""Check if a property is set, use for testing operator properties.
|
|
127
|
-
|
|
128
|
-
:return: True when the property has been set.
|
|
129
|
-
:rtype: bool
|
|
130
|
-
"""
|
|
131
|
-
...
|
|
132
|
-
|
|
133
|
-
def items(self):
|
|
134
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
135
|
-
dictionary function of the same name).
|
|
136
|
-
|
|
137
|
-
:return: custom property key, value pairs.
|
|
138
|
-
"""
|
|
139
|
-
...
|
|
140
|
-
|
|
141
|
-
def keyframe_delete(self) -> bool:
|
|
142
|
-
"""Remove a keyframe from this properties fcurve.
|
|
143
|
-
|
|
144
|
-
:return: Success of keyframe deletion.
|
|
145
|
-
:rtype: bool
|
|
146
|
-
"""
|
|
147
|
-
...
|
|
148
|
-
|
|
149
|
-
def keyframe_insert(self) -> bool:
|
|
150
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
151
|
-
|
|
152
|
-
:return: Success of keyframe insertion.
|
|
153
|
-
:rtype: bool
|
|
154
|
-
"""
|
|
155
|
-
...
|
|
156
|
-
|
|
157
|
-
def keys(self):
|
|
158
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
159
|
-
dictionary function of the same name).
|
|
160
|
-
|
|
161
|
-
:return: custom property keys.
|
|
162
|
-
"""
|
|
163
|
-
...
|
|
164
|
-
|
|
165
|
-
def path_from_id(self) -> str:
|
|
166
|
-
"""Returns the data path from the ID to this object (string).
|
|
167
|
-
|
|
168
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
169
|
-
to this struct and property (when given).
|
|
170
|
-
:rtype: str
|
|
171
|
-
"""
|
|
172
|
-
...
|
|
173
|
-
|
|
174
|
-
def path_resolve(self):
|
|
175
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
176
|
-
...
|
|
177
|
-
|
|
178
40
|
@classmethod
|
|
179
41
|
def poll(cls, context):
|
|
180
42
|
"""
|
|
@@ -182,53 +44,3 @@ class ASSETSHELF_PT_display(bpy_types._GenericUI):
|
|
|
182
44
|
:param context:
|
|
183
45
|
"""
|
|
184
46
|
...
|
|
185
|
-
|
|
186
|
-
def pop(self):
|
|
187
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
188
|
-
when not found (matches Python's dictionary function of the same name).
|
|
189
|
-
|
|
190
|
-
"""
|
|
191
|
-
...
|
|
192
|
-
|
|
193
|
-
def prepend(self, draw_func):
|
|
194
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
195
|
-
the menus draw function
|
|
196
|
-
|
|
197
|
-
:param draw_func:
|
|
198
|
-
"""
|
|
199
|
-
...
|
|
200
|
-
|
|
201
|
-
def property_overridable_library_set(self) -> bool:
|
|
202
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
203
|
-
|
|
204
|
-
:return: True when the overridable status of the property was successfully set.
|
|
205
|
-
:rtype: bool
|
|
206
|
-
"""
|
|
207
|
-
...
|
|
208
|
-
|
|
209
|
-
def property_unset(self):
|
|
210
|
-
"""Unset a property, will use default value afterward."""
|
|
211
|
-
...
|
|
212
|
-
|
|
213
|
-
def remove(self, draw_func):
|
|
214
|
-
"""Remove a draw function that has been added to this menu
|
|
215
|
-
|
|
216
|
-
:param draw_func:
|
|
217
|
-
"""
|
|
218
|
-
...
|
|
219
|
-
|
|
220
|
-
def type_recast(self):
|
|
221
|
-
"""Return a new instance, this is needed because types
|
|
222
|
-
such as textures can be changed at runtime.
|
|
223
|
-
|
|
224
|
-
:return: a new instance of this object with the type initialized again.
|
|
225
|
-
"""
|
|
226
|
-
...
|
|
227
|
-
|
|
228
|
-
def values(self):
|
|
229
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
230
|
-
dictionary function of the same name).
|
|
231
|
-
|
|
232
|
-
:return: custom property values.
|
|
233
|
-
"""
|
|
234
|
-
...
|