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
|
@@ -8,7 +8,9 @@ import rna_prop_ui
|
|
|
8
8
|
GenericType1 = typing.TypeVar("GenericType1")
|
|
9
9
|
GenericType2 = typing.TypeVar("GenericType2")
|
|
10
10
|
|
|
11
|
-
class EEVEE_MATERIAL_PT_context_material(
|
|
11
|
+
class EEVEE_MATERIAL_PT_context_material(
|
|
12
|
+
bpy.types.Panel, MaterialButtonsPanel, bpy_types._GenericUI
|
|
13
|
+
):
|
|
12
14
|
COMPAT_ENGINES: typing.Any
|
|
13
15
|
bl_context: typing.Any
|
|
14
16
|
bl_label: typing.Any
|
|
@@ -18,22 +20,6 @@ class EEVEE_MATERIAL_PT_context_material(MaterialButtonsPanel, bpy_types._Generi
|
|
|
18
20
|
bl_space_type: typing.Any
|
|
19
21
|
id_data: typing.Any
|
|
20
22
|
|
|
21
|
-
def append(self, draw_func):
|
|
22
|
-
"""Append a draw function to this menu,
|
|
23
|
-
takes the same arguments as the menus draw function
|
|
24
|
-
|
|
25
|
-
:param draw_func:
|
|
26
|
-
"""
|
|
27
|
-
...
|
|
28
|
-
|
|
29
|
-
def as_pointer(self) -> int:
|
|
30
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
31
|
-
|
|
32
|
-
:return: int (memory address).
|
|
33
|
-
:rtype: int
|
|
34
|
-
"""
|
|
35
|
-
...
|
|
36
|
-
|
|
37
23
|
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
38
24
|
"""
|
|
39
25
|
|
|
@@ -57,187 +43,128 @@ class EEVEE_MATERIAL_PT_context_material(MaterialButtonsPanel, bpy_types._Generi
|
|
|
57
43
|
"""
|
|
58
44
|
...
|
|
59
45
|
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
:return: The driver(s) added.
|
|
64
|
-
:rtype: bpy.types.FCurve
|
|
65
|
-
"""
|
|
66
|
-
...
|
|
67
|
-
|
|
68
|
-
def driver_remove(self) -> bool:
|
|
69
|
-
"""Remove driver(s) from the given property
|
|
70
|
-
|
|
71
|
-
:return: Success of driver removal.
|
|
72
|
-
:rtype: bool
|
|
46
|
+
@classmethod
|
|
47
|
+
def poll(cls, context):
|
|
73
48
|
"""
|
|
74
|
-
...
|
|
75
|
-
|
|
76
|
-
def get(self):
|
|
77
|
-
"""Returns the value of the custom property assigned to key or default
|
|
78
|
-
when not found (matches Python's dictionary function of the same name).
|
|
79
49
|
|
|
50
|
+
:param context:
|
|
80
51
|
"""
|
|
81
52
|
...
|
|
82
53
|
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
54
|
+
class EEVEE_MATERIAL_PT_displacement(
|
|
55
|
+
bpy.types.Panel, MaterialButtonsPanel, bpy_types._GenericUI
|
|
56
|
+
):
|
|
57
|
+
COMPAT_ENGINES: typing.Any
|
|
58
|
+
bl_context: typing.Any
|
|
59
|
+
bl_label: typing.Any
|
|
60
|
+
bl_options: typing.Any
|
|
61
|
+
bl_region_type: typing.Any
|
|
62
|
+
bl_rna: typing.Any
|
|
63
|
+
bl_space_type: typing.Any
|
|
64
|
+
id_data: typing.Any
|
|
89
65
|
|
|
90
|
-
def
|
|
66
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
91
67
|
"""
|
|
92
68
|
|
|
93
|
-
:return:
|
|
69
|
+
:return: The RNA type or default when not found.
|
|
70
|
+
:rtype: bpy.types.Struct
|
|
94
71
|
"""
|
|
95
72
|
...
|
|
96
73
|
|
|
97
|
-
def
|
|
98
|
-
"""
|
|
99
|
-
|
|
100
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
74
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
101
75
|
"""
|
|
102
|
-
...
|
|
103
|
-
|
|
104
|
-
def is_extended(self): ...
|
|
105
|
-
def is_property_hidden(self) -> bool:
|
|
106
|
-
"""Check if a property is hidden.
|
|
107
76
|
|
|
108
|
-
:return:
|
|
109
|
-
:rtype:
|
|
77
|
+
:return: The class or default when not found.
|
|
78
|
+
:rtype: typing.Any
|
|
110
79
|
"""
|
|
111
80
|
...
|
|
112
81
|
|
|
113
|
-
def
|
|
114
|
-
"""Check if a property is overridable.
|
|
115
|
-
|
|
116
|
-
:return: True when the property is overridable.
|
|
117
|
-
:rtype: bool
|
|
82
|
+
def draw(self, context):
|
|
118
83
|
"""
|
|
119
|
-
...
|
|
120
|
-
|
|
121
|
-
def is_property_readonly(self) -> bool:
|
|
122
|
-
"""Check if a property is readonly.
|
|
123
84
|
|
|
124
|
-
:
|
|
125
|
-
:rtype: bool
|
|
85
|
+
:param context:
|
|
126
86
|
"""
|
|
127
87
|
...
|
|
128
88
|
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
:return: True when the property has been set.
|
|
133
|
-
:rtype: bool
|
|
89
|
+
@classmethod
|
|
90
|
+
def poll(cls, context):
|
|
134
91
|
"""
|
|
135
|
-
...
|
|
136
|
-
|
|
137
|
-
def items(self):
|
|
138
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
139
|
-
dictionary function of the same name).
|
|
140
92
|
|
|
141
|
-
|
|
93
|
+
:param context:
|
|
142
94
|
"""
|
|
143
95
|
...
|
|
144
96
|
|
|
145
|
-
|
|
146
|
-
|
|
97
|
+
class EEVEE_MATERIAL_PT_settings(
|
|
98
|
+
bpy.types.Panel, MaterialButtonsPanel, bpy_types._GenericUI
|
|
99
|
+
):
|
|
100
|
+
COMPAT_ENGINES: typing.Any
|
|
101
|
+
bl_context: typing.Any
|
|
102
|
+
bl_label: typing.Any
|
|
103
|
+
bl_region_type: typing.Any
|
|
104
|
+
bl_rna: typing.Any
|
|
105
|
+
bl_space_type: typing.Any
|
|
106
|
+
id_data: typing.Any
|
|
147
107
|
|
|
148
|
-
|
|
149
|
-
:rtype: bool
|
|
108
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
150
109
|
"""
|
|
151
|
-
...
|
|
152
|
-
|
|
153
|
-
def keyframe_insert(self) -> bool:
|
|
154
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
155
110
|
|
|
156
|
-
:return:
|
|
157
|
-
:rtype:
|
|
111
|
+
:return: The RNA type or default when not found.
|
|
112
|
+
:rtype: bpy.types.Struct
|
|
158
113
|
"""
|
|
159
114
|
...
|
|
160
115
|
|
|
161
|
-
def
|
|
162
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
163
|
-
dictionary function of the same name).
|
|
164
|
-
|
|
165
|
-
:return: custom property keys.
|
|
116
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
166
117
|
"""
|
|
167
|
-
...
|
|
168
|
-
|
|
169
|
-
def path_from_id(self) -> str:
|
|
170
|
-
"""Returns the data path from the ID to this object (string).
|
|
171
118
|
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
:rtype: str
|
|
119
|
+
:return: The class or default when not found.
|
|
120
|
+
:rtype: typing.Any
|
|
175
121
|
"""
|
|
176
122
|
...
|
|
177
123
|
|
|
178
|
-
def
|
|
179
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
180
|
-
...
|
|
181
|
-
|
|
182
|
-
@classmethod
|
|
183
|
-
def poll(cls, context):
|
|
124
|
+
def draw(self, context):
|
|
184
125
|
"""
|
|
185
126
|
|
|
186
127
|
:param context:
|
|
187
128
|
"""
|
|
188
129
|
...
|
|
189
130
|
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
131
|
+
class EEVEE_MATERIAL_PT_surface(
|
|
132
|
+
bpy.types.Panel, MaterialButtonsPanel, bpy_types._GenericUI
|
|
133
|
+
):
|
|
134
|
+
COMPAT_ENGINES: typing.Any
|
|
135
|
+
bl_context: typing.Any
|
|
136
|
+
bl_label: typing.Any
|
|
137
|
+
bl_region_type: typing.Any
|
|
138
|
+
bl_rna: typing.Any
|
|
139
|
+
bl_space_type: typing.Any
|
|
140
|
+
id_data: typing.Any
|
|
193
141
|
|
|
142
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
194
143
|
"""
|
|
195
|
-
...
|
|
196
|
-
|
|
197
|
-
def prepend(self, draw_func):
|
|
198
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
199
|
-
the menus draw function
|
|
200
144
|
|
|
201
|
-
|
|
145
|
+
:return: The RNA type or default when not found.
|
|
146
|
+
:rtype: bpy.types.Struct
|
|
202
147
|
"""
|
|
203
148
|
...
|
|
204
149
|
|
|
205
|
-
def
|
|
206
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
207
|
-
|
|
208
|
-
:return: True when the overridable status of the property was successfully set.
|
|
209
|
-
:rtype: bool
|
|
150
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
210
151
|
"""
|
|
211
|
-
...
|
|
212
|
-
|
|
213
|
-
def property_unset(self):
|
|
214
|
-
"""Unset a property, will use default value afterward."""
|
|
215
|
-
...
|
|
216
|
-
|
|
217
|
-
def remove(self, draw_func):
|
|
218
|
-
"""Remove a draw function that has been added to this menu
|
|
219
152
|
|
|
220
|
-
:
|
|
153
|
+
:return: The class or default when not found.
|
|
154
|
+
:rtype: typing.Any
|
|
221
155
|
"""
|
|
222
156
|
...
|
|
223
157
|
|
|
224
|
-
def
|
|
225
|
-
"""Return a new instance, this is needed because types
|
|
226
|
-
such as textures can be changed at runtime.
|
|
227
|
-
|
|
228
|
-
:return: a new instance of this object with the type initialized again.
|
|
158
|
+
def draw(self, context):
|
|
229
159
|
"""
|
|
230
|
-
...
|
|
231
|
-
|
|
232
|
-
def values(self):
|
|
233
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
234
|
-
dictionary function of the same name).
|
|
235
160
|
|
|
236
|
-
|
|
161
|
+
:param context:
|
|
237
162
|
"""
|
|
238
163
|
...
|
|
239
164
|
|
|
240
|
-
class
|
|
165
|
+
class EEVEE_MATERIAL_PT_thickness(
|
|
166
|
+
bpy.types.Panel, MaterialButtonsPanel, bpy_types._GenericUI
|
|
167
|
+
):
|
|
241
168
|
COMPAT_ENGINES: typing.Any
|
|
242
169
|
bl_context: typing.Any
|
|
243
170
|
bl_label: typing.Any
|
|
@@ -245,24 +172,9 @@ class EEVEE_MATERIAL_PT_displacement(MaterialButtonsPanel, bpy_types._GenericUI)
|
|
|
245
172
|
bl_region_type: typing.Any
|
|
246
173
|
bl_rna: typing.Any
|
|
247
174
|
bl_space_type: typing.Any
|
|
175
|
+
bl_translation_context: typing.Any
|
|
248
176
|
id_data: typing.Any
|
|
249
177
|
|
|
250
|
-
def append(self, draw_func):
|
|
251
|
-
"""Append a draw function to this menu,
|
|
252
|
-
takes the same arguments as the menus draw function
|
|
253
|
-
|
|
254
|
-
:param draw_func:
|
|
255
|
-
"""
|
|
256
|
-
...
|
|
257
|
-
|
|
258
|
-
def as_pointer(self) -> int:
|
|
259
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
260
|
-
|
|
261
|
-
:return: int (memory address).
|
|
262
|
-
:rtype: int
|
|
263
|
-
"""
|
|
264
|
-
...
|
|
265
|
-
|
|
266
178
|
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
267
179
|
"""
|
|
268
180
|
|
|
@@ -286,128 +198,85 @@ class EEVEE_MATERIAL_PT_displacement(MaterialButtonsPanel, bpy_types._GenericUI)
|
|
|
286
198
|
"""
|
|
287
199
|
...
|
|
288
200
|
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
:return: The driver(s) added.
|
|
293
|
-
:rtype: bpy.types.FCurve
|
|
294
|
-
"""
|
|
295
|
-
...
|
|
296
|
-
|
|
297
|
-
def driver_remove(self) -> bool:
|
|
298
|
-
"""Remove driver(s) from the given property
|
|
299
|
-
|
|
300
|
-
:return: Success of driver removal.
|
|
301
|
-
:rtype: bool
|
|
201
|
+
@classmethod
|
|
202
|
+
def poll(cls, context):
|
|
302
203
|
"""
|
|
303
|
-
...
|
|
304
|
-
|
|
305
|
-
def get(self):
|
|
306
|
-
"""Returns the value of the custom property assigned to key or default
|
|
307
|
-
when not found (matches Python's dictionary function of the same name).
|
|
308
204
|
|
|
205
|
+
:param context:
|
|
309
206
|
"""
|
|
310
207
|
...
|
|
311
208
|
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
209
|
+
class EEVEE_MATERIAL_PT_viewport_settings(
|
|
210
|
+
bpy.types.Panel, MaterialButtonsPanel, bpy_types._GenericUI
|
|
211
|
+
):
|
|
212
|
+
COMPAT_ENGINES: typing.Any
|
|
213
|
+
bl_context: typing.Any
|
|
214
|
+
bl_label: typing.Any
|
|
215
|
+
bl_parent_id: typing.Any
|
|
216
|
+
bl_region_type: typing.Any
|
|
217
|
+
bl_rna: typing.Any
|
|
218
|
+
bl_space_type: typing.Any
|
|
219
|
+
id_data: typing.Any
|
|
318
220
|
|
|
319
|
-
def
|
|
221
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
320
222
|
"""
|
|
321
223
|
|
|
322
|
-
:return:
|
|
224
|
+
:return: The RNA type or default when not found.
|
|
225
|
+
:rtype: bpy.types.Struct
|
|
323
226
|
"""
|
|
324
227
|
...
|
|
325
228
|
|
|
326
|
-
def
|
|
327
|
-
"""
|
|
328
|
-
|
|
329
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
229
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
330
230
|
"""
|
|
331
|
-
...
|
|
332
|
-
|
|
333
|
-
def is_extended(self): ...
|
|
334
|
-
def is_property_hidden(self) -> bool:
|
|
335
|
-
"""Check if a property is hidden.
|
|
336
231
|
|
|
337
|
-
:return:
|
|
338
|
-
:rtype:
|
|
232
|
+
:return: The class or default when not found.
|
|
233
|
+
:rtype: typing.Any
|
|
339
234
|
"""
|
|
340
235
|
...
|
|
341
236
|
|
|
342
|
-
def
|
|
343
|
-
"""Check if a property is overridable.
|
|
344
|
-
|
|
345
|
-
:return: True when the property is overridable.
|
|
346
|
-
:rtype: bool
|
|
237
|
+
def draw(self, context):
|
|
347
238
|
"""
|
|
348
|
-
...
|
|
349
|
-
|
|
350
|
-
def is_property_readonly(self) -> bool:
|
|
351
|
-
"""Check if a property is readonly.
|
|
352
239
|
|
|
353
|
-
:
|
|
354
|
-
:rtype: bool
|
|
240
|
+
:param context:
|
|
355
241
|
"""
|
|
356
242
|
...
|
|
357
243
|
|
|
358
|
-
|
|
359
|
-
|
|
244
|
+
class EEVEE_MATERIAL_PT_volume(
|
|
245
|
+
bpy.types.Panel, MaterialButtonsPanel, bpy_types._GenericUI
|
|
246
|
+
):
|
|
247
|
+
COMPAT_ENGINES: typing.Any
|
|
248
|
+
bl_context: typing.Any
|
|
249
|
+
bl_label: typing.Any
|
|
250
|
+
bl_options: typing.Any
|
|
251
|
+
bl_region_type: typing.Any
|
|
252
|
+
bl_rna: typing.Any
|
|
253
|
+
bl_space_type: typing.Any
|
|
254
|
+
bl_translation_context: typing.Any
|
|
255
|
+
id_data: typing.Any
|
|
360
256
|
|
|
361
|
-
|
|
362
|
-
:rtype: bool
|
|
257
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
363
258
|
"""
|
|
364
|
-
...
|
|
365
|
-
|
|
366
|
-
def items(self):
|
|
367
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
368
|
-
dictionary function of the same name).
|
|
369
259
|
|
|
370
|
-
|
|
260
|
+
:return: The RNA type or default when not found.
|
|
261
|
+
:rtype: bpy.types.Struct
|
|
371
262
|
"""
|
|
372
263
|
...
|
|
373
264
|
|
|
374
|
-
def
|
|
375
|
-
"""Remove a keyframe from this properties fcurve.
|
|
376
|
-
|
|
377
|
-
:return: Success of keyframe deletion.
|
|
378
|
-
:rtype: bool
|
|
265
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
379
266
|
"""
|
|
380
|
-
...
|
|
381
|
-
|
|
382
|
-
def keyframe_insert(self) -> bool:
|
|
383
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
384
267
|
|
|
385
|
-
:return:
|
|
386
|
-
:rtype:
|
|
268
|
+
:return: The class or default when not found.
|
|
269
|
+
:rtype: typing.Any
|
|
387
270
|
"""
|
|
388
271
|
...
|
|
389
272
|
|
|
390
|
-
def
|
|
391
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
392
|
-
dictionary function of the same name).
|
|
393
|
-
|
|
394
|
-
:return: custom property keys.
|
|
273
|
+
def draw(self, context):
|
|
395
274
|
"""
|
|
396
|
-
...
|
|
397
|
-
|
|
398
|
-
def path_from_id(self) -> str:
|
|
399
|
-
"""Returns the data path from the ID to this object (string).
|
|
400
275
|
|
|
401
|
-
|
|
402
|
-
to this struct and property (when given).
|
|
403
|
-
:rtype: str
|
|
276
|
+
:param context:
|
|
404
277
|
"""
|
|
405
278
|
...
|
|
406
279
|
|
|
407
|
-
def path_resolve(self):
|
|
408
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
409
|
-
...
|
|
410
|
-
|
|
411
280
|
@classmethod
|
|
412
281
|
def poll(cls, context):
|
|
413
282
|
"""
|
|
@@ -416,81 +285,52 @@ class EEVEE_MATERIAL_PT_displacement(MaterialButtonsPanel, bpy_types._GenericUI)
|
|
|
416
285
|
"""
|
|
417
286
|
...
|
|
418
287
|
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
288
|
+
class EEVEE_NEXT_MATERIAL_PT_settings(
|
|
289
|
+
bpy.types.Panel, MaterialButtonsPanel, bpy_types._GenericUI
|
|
290
|
+
):
|
|
291
|
+
COMPAT_ENGINES: typing.Any
|
|
292
|
+
bl_context: typing.Any
|
|
293
|
+
bl_label: typing.Any
|
|
294
|
+
bl_region_type: typing.Any
|
|
295
|
+
bl_rna: typing.Any
|
|
296
|
+
bl_space_type: typing.Any
|
|
297
|
+
id_data: typing.Any
|
|
422
298
|
|
|
299
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
423
300
|
"""
|
|
424
|
-
...
|
|
425
|
-
|
|
426
|
-
def prepend(self, draw_func):
|
|
427
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
428
|
-
the menus draw function
|
|
429
301
|
|
|
430
|
-
|
|
302
|
+
:return: The RNA type or default when not found.
|
|
303
|
+
:rtype: bpy.types.Struct
|
|
431
304
|
"""
|
|
432
305
|
...
|
|
433
306
|
|
|
434
|
-
def
|
|
435
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
436
|
-
|
|
437
|
-
:return: True when the overridable status of the property was successfully set.
|
|
438
|
-
:rtype: bool
|
|
307
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
439
308
|
"""
|
|
440
|
-
...
|
|
441
|
-
|
|
442
|
-
def property_unset(self):
|
|
443
|
-
"""Unset a property, will use default value afterward."""
|
|
444
|
-
...
|
|
445
|
-
|
|
446
|
-
def remove(self, draw_func):
|
|
447
|
-
"""Remove a draw function that has been added to this menu
|
|
448
309
|
|
|
449
|
-
:
|
|
310
|
+
:return: The class or default when not found.
|
|
311
|
+
:rtype: typing.Any
|
|
450
312
|
"""
|
|
451
313
|
...
|
|
452
314
|
|
|
453
|
-
def
|
|
454
|
-
"""Return a new instance, this is needed because types
|
|
455
|
-
such as textures can be changed at runtime.
|
|
456
|
-
|
|
457
|
-
:return: a new instance of this object with the type initialized again.
|
|
315
|
+
def draw(self, context):
|
|
458
316
|
"""
|
|
459
|
-
...
|
|
460
|
-
|
|
461
|
-
def values(self):
|
|
462
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
463
|
-
dictionary function of the same name).
|
|
464
317
|
|
|
465
|
-
|
|
318
|
+
:param context:
|
|
466
319
|
"""
|
|
467
320
|
...
|
|
468
321
|
|
|
469
|
-
class
|
|
322
|
+
class EEVEE_NEXT_MATERIAL_PT_settings_surface(
|
|
323
|
+
bpy.types.Panel, MaterialButtonsPanel, bpy_types._GenericUI
|
|
324
|
+
):
|
|
470
325
|
COMPAT_ENGINES: typing.Any
|
|
471
326
|
bl_context: typing.Any
|
|
472
327
|
bl_label: typing.Any
|
|
328
|
+
bl_parent_id: typing.Any
|
|
473
329
|
bl_region_type: typing.Any
|
|
474
330
|
bl_rna: typing.Any
|
|
475
331
|
bl_space_type: typing.Any
|
|
476
332
|
id_data: typing.Any
|
|
477
333
|
|
|
478
|
-
def append(self, draw_func):
|
|
479
|
-
"""Append a draw function to this menu,
|
|
480
|
-
takes the same arguments as the menus draw function
|
|
481
|
-
|
|
482
|
-
:param draw_func:
|
|
483
|
-
"""
|
|
484
|
-
...
|
|
485
|
-
|
|
486
|
-
def as_pointer(self) -> int:
|
|
487
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
488
|
-
|
|
489
|
-
:return: int (memory address).
|
|
490
|
-
:rtype: int
|
|
491
|
-
"""
|
|
492
|
-
...
|
|
493
|
-
|
|
494
334
|
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
495
335
|
"""
|
|
496
336
|
|
|
@@ -514,2751 +354,106 @@ class EEVEE_MATERIAL_PT_settings(MaterialButtonsPanel, bpy_types._GenericUI):
|
|
|
514
354
|
"""
|
|
515
355
|
...
|
|
516
356
|
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
357
|
+
class EEVEE_NEXT_MATERIAL_PT_settings_volume(
|
|
358
|
+
bpy.types.Panel, MaterialButtonsPanel, bpy_types._GenericUI
|
|
359
|
+
):
|
|
360
|
+
COMPAT_ENGINES: typing.Any
|
|
361
|
+
bl_context: typing.Any
|
|
362
|
+
bl_label: typing.Any
|
|
363
|
+
bl_parent_id: typing.Any
|
|
364
|
+
bl_region_type: typing.Any
|
|
365
|
+
bl_rna: typing.Any
|
|
366
|
+
bl_space_type: typing.Any
|
|
367
|
+
id_data: typing.Any
|
|
527
368
|
|
|
528
|
-
|
|
529
|
-
:rtype: bool
|
|
369
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
530
370
|
"""
|
|
531
|
-
...
|
|
532
|
-
|
|
533
|
-
def get(self):
|
|
534
|
-
"""Returns the value of the custom property assigned to key or default
|
|
535
|
-
when not found (matches Python's dictionary function of the same name).
|
|
536
371
|
|
|
372
|
+
:return: The RNA type or default when not found.
|
|
373
|
+
:rtype: bpy.types.Struct
|
|
537
374
|
"""
|
|
538
375
|
...
|
|
539
376
|
|
|
540
|
-
def
|
|
377
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
541
378
|
"""
|
|
542
379
|
|
|
543
|
-
:return:
|
|
380
|
+
:return: The class or default when not found.
|
|
381
|
+
:rtype: typing.Any
|
|
544
382
|
"""
|
|
545
383
|
...
|
|
546
384
|
|
|
547
|
-
def
|
|
385
|
+
def draw(self, context):
|
|
548
386
|
"""
|
|
549
387
|
|
|
550
|
-
:
|
|
388
|
+
:param context:
|
|
551
389
|
"""
|
|
552
390
|
...
|
|
553
391
|
|
|
554
|
-
|
|
555
|
-
|
|
392
|
+
class MATERIAL_MT_context_menu(bpy.types.Menu, bpy_types._GenericUI):
|
|
393
|
+
bl_label: typing.Any
|
|
394
|
+
bl_rna: typing.Any
|
|
395
|
+
id_data: typing.Any
|
|
556
396
|
|
|
557
|
-
|
|
397
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
558
398
|
"""
|
|
559
|
-
...
|
|
560
399
|
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
"""Check if a property is hidden.
|
|
564
|
-
|
|
565
|
-
:return: True when the property is hidden.
|
|
566
|
-
:rtype: bool
|
|
400
|
+
:return: The RNA type or default when not found.
|
|
401
|
+
:rtype: bpy.types.Struct
|
|
567
402
|
"""
|
|
568
403
|
...
|
|
569
404
|
|
|
570
|
-
def
|
|
571
|
-
"""
|
|
405
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
406
|
+
"""
|
|
572
407
|
|
|
573
|
-
:return:
|
|
574
|
-
:rtype:
|
|
408
|
+
:return: The class or default when not found.
|
|
409
|
+
:rtype: typing.Any
|
|
575
410
|
"""
|
|
576
411
|
...
|
|
577
412
|
|
|
578
|
-
def
|
|
579
|
-
"""
|
|
413
|
+
def draw(self, _context):
|
|
414
|
+
"""
|
|
580
415
|
|
|
581
|
-
:
|
|
582
|
-
:rtype: bool
|
|
416
|
+
:param _context:
|
|
583
417
|
"""
|
|
584
418
|
...
|
|
585
419
|
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
596
|
-
dictionary function of the same name).
|
|
597
|
-
|
|
598
|
-
:return: custom property key, value pairs.
|
|
599
|
-
"""
|
|
600
|
-
...
|
|
601
|
-
|
|
602
|
-
def keyframe_delete(self) -> bool:
|
|
603
|
-
"""Remove a keyframe from this properties fcurve.
|
|
604
|
-
|
|
605
|
-
:return: Success of keyframe deletion.
|
|
606
|
-
:rtype: bool
|
|
607
|
-
"""
|
|
608
|
-
...
|
|
609
|
-
|
|
610
|
-
def keyframe_insert(self) -> bool:
|
|
611
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
612
|
-
|
|
613
|
-
:return: Success of keyframe insertion.
|
|
614
|
-
:rtype: bool
|
|
615
|
-
"""
|
|
616
|
-
...
|
|
617
|
-
|
|
618
|
-
def keys(self):
|
|
619
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
620
|
-
dictionary function of the same name).
|
|
621
|
-
|
|
622
|
-
:return: custom property keys.
|
|
623
|
-
"""
|
|
624
|
-
...
|
|
625
|
-
|
|
626
|
-
def path_from_id(self) -> str:
|
|
627
|
-
"""Returns the data path from the ID to this object (string).
|
|
628
|
-
|
|
629
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
630
|
-
to this struct and property (when given).
|
|
631
|
-
:rtype: str
|
|
632
|
-
"""
|
|
633
|
-
...
|
|
634
|
-
|
|
635
|
-
def path_resolve(self):
|
|
636
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
637
|
-
...
|
|
638
|
-
|
|
639
|
-
def poll(self, context):
|
|
640
|
-
"""
|
|
641
|
-
|
|
642
|
-
:param context:
|
|
643
|
-
"""
|
|
644
|
-
...
|
|
645
|
-
|
|
646
|
-
def pop(self):
|
|
647
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
648
|
-
when not found (matches Python's dictionary function of the same name).
|
|
649
|
-
|
|
650
|
-
"""
|
|
651
|
-
...
|
|
652
|
-
|
|
653
|
-
def prepend(self, draw_func):
|
|
654
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
655
|
-
the menus draw function
|
|
656
|
-
|
|
657
|
-
:param draw_func:
|
|
658
|
-
"""
|
|
659
|
-
...
|
|
660
|
-
|
|
661
|
-
def property_overridable_library_set(self) -> bool:
|
|
662
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
663
|
-
|
|
664
|
-
:return: True when the overridable status of the property was successfully set.
|
|
665
|
-
:rtype: bool
|
|
666
|
-
"""
|
|
667
|
-
...
|
|
668
|
-
|
|
669
|
-
def property_unset(self):
|
|
670
|
-
"""Unset a property, will use default value afterward."""
|
|
671
|
-
...
|
|
672
|
-
|
|
673
|
-
def remove(self, draw_func):
|
|
674
|
-
"""Remove a draw function that has been added to this menu
|
|
675
|
-
|
|
676
|
-
:param draw_func:
|
|
677
|
-
"""
|
|
678
|
-
...
|
|
679
|
-
|
|
680
|
-
def type_recast(self):
|
|
681
|
-
"""Return a new instance, this is needed because types
|
|
682
|
-
such as textures can be changed at runtime.
|
|
683
|
-
|
|
684
|
-
:return: a new instance of this object with the type initialized again.
|
|
685
|
-
"""
|
|
686
|
-
...
|
|
687
|
-
|
|
688
|
-
def values(self):
|
|
689
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
690
|
-
dictionary function of the same name).
|
|
691
|
-
|
|
692
|
-
:return: custom property values.
|
|
693
|
-
"""
|
|
694
|
-
...
|
|
695
|
-
|
|
696
|
-
class EEVEE_MATERIAL_PT_surface(MaterialButtonsPanel, bpy_types._GenericUI):
|
|
697
|
-
COMPAT_ENGINES: typing.Any
|
|
698
|
-
bl_context: typing.Any
|
|
699
|
-
bl_label: typing.Any
|
|
700
|
-
bl_region_type: typing.Any
|
|
701
|
-
bl_rna: typing.Any
|
|
702
|
-
bl_space_type: typing.Any
|
|
703
|
-
id_data: typing.Any
|
|
704
|
-
|
|
705
|
-
def append(self, draw_func):
|
|
706
|
-
"""Append a draw function to this menu,
|
|
707
|
-
takes the same arguments as the menus draw function
|
|
708
|
-
|
|
709
|
-
:param draw_func:
|
|
710
|
-
"""
|
|
711
|
-
...
|
|
712
|
-
|
|
713
|
-
def as_pointer(self) -> int:
|
|
714
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
715
|
-
|
|
716
|
-
:return: int (memory address).
|
|
717
|
-
:rtype: int
|
|
718
|
-
"""
|
|
719
|
-
...
|
|
720
|
-
|
|
721
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
722
|
-
"""
|
|
723
|
-
|
|
724
|
-
:return: The RNA type or default when not found.
|
|
725
|
-
:rtype: bpy.types.Struct
|
|
726
|
-
"""
|
|
727
|
-
...
|
|
728
|
-
|
|
729
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
730
|
-
"""
|
|
731
|
-
|
|
732
|
-
:return: The class or default when not found.
|
|
733
|
-
:rtype: typing.Any
|
|
734
|
-
"""
|
|
735
|
-
...
|
|
736
|
-
|
|
737
|
-
def draw(self, context):
|
|
738
|
-
"""
|
|
739
|
-
|
|
740
|
-
:param context:
|
|
741
|
-
"""
|
|
742
|
-
...
|
|
743
|
-
|
|
744
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
745
|
-
"""Adds driver(s) to the given property
|
|
746
|
-
|
|
747
|
-
:return: The driver(s) added.
|
|
748
|
-
:rtype: bpy.types.FCurve
|
|
749
|
-
"""
|
|
750
|
-
...
|
|
751
|
-
|
|
752
|
-
def driver_remove(self) -> bool:
|
|
753
|
-
"""Remove driver(s) from the given property
|
|
754
|
-
|
|
755
|
-
:return: Success of driver removal.
|
|
756
|
-
:rtype: bool
|
|
757
|
-
"""
|
|
758
|
-
...
|
|
759
|
-
|
|
760
|
-
def get(self):
|
|
761
|
-
"""Returns the value of the custom property assigned to key or default
|
|
762
|
-
when not found (matches Python's dictionary function of the same name).
|
|
763
|
-
|
|
764
|
-
"""
|
|
765
|
-
...
|
|
766
|
-
|
|
767
|
-
def id_properties_clear(self):
|
|
768
|
-
"""
|
|
769
|
-
|
|
770
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
771
|
-
"""
|
|
772
|
-
...
|
|
773
|
-
|
|
774
|
-
def id_properties_ensure(self):
|
|
775
|
-
"""
|
|
776
|
-
|
|
777
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
778
|
-
"""
|
|
779
|
-
...
|
|
780
|
-
|
|
781
|
-
def id_properties_ui(self):
|
|
782
|
-
"""
|
|
783
|
-
|
|
784
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
785
|
-
"""
|
|
786
|
-
...
|
|
787
|
-
|
|
788
|
-
def is_extended(self): ...
|
|
789
|
-
def is_property_hidden(self) -> bool:
|
|
790
|
-
"""Check if a property is hidden.
|
|
791
|
-
|
|
792
|
-
:return: True when the property is hidden.
|
|
793
|
-
:rtype: bool
|
|
794
|
-
"""
|
|
795
|
-
...
|
|
796
|
-
|
|
797
|
-
def is_property_overridable_library(self) -> bool:
|
|
798
|
-
"""Check if a property is overridable.
|
|
799
|
-
|
|
800
|
-
:return: True when the property is overridable.
|
|
801
|
-
:rtype: bool
|
|
802
|
-
"""
|
|
803
|
-
...
|
|
804
|
-
|
|
805
|
-
def is_property_readonly(self) -> bool:
|
|
806
|
-
"""Check if a property is readonly.
|
|
807
|
-
|
|
808
|
-
:return: True when the property is readonly (not writable).
|
|
809
|
-
:rtype: bool
|
|
810
|
-
"""
|
|
811
|
-
...
|
|
812
|
-
|
|
813
|
-
def is_property_set(self) -> bool:
|
|
814
|
-
"""Check if a property is set, use for testing operator properties.
|
|
815
|
-
|
|
816
|
-
:return: True when the property has been set.
|
|
817
|
-
:rtype: bool
|
|
818
|
-
"""
|
|
819
|
-
...
|
|
820
|
-
|
|
821
|
-
def items(self):
|
|
822
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
823
|
-
dictionary function of the same name).
|
|
824
|
-
|
|
825
|
-
:return: custom property key, value pairs.
|
|
826
|
-
"""
|
|
827
|
-
...
|
|
828
|
-
|
|
829
|
-
def keyframe_delete(self) -> bool:
|
|
830
|
-
"""Remove a keyframe from this properties fcurve.
|
|
831
|
-
|
|
832
|
-
:return: Success of keyframe deletion.
|
|
833
|
-
:rtype: bool
|
|
834
|
-
"""
|
|
835
|
-
...
|
|
836
|
-
|
|
837
|
-
def keyframe_insert(self) -> bool:
|
|
838
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
839
|
-
|
|
840
|
-
:return: Success of keyframe insertion.
|
|
841
|
-
:rtype: bool
|
|
842
|
-
"""
|
|
843
|
-
...
|
|
844
|
-
|
|
845
|
-
def keys(self):
|
|
846
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
847
|
-
dictionary function of the same name).
|
|
848
|
-
|
|
849
|
-
:return: custom property keys.
|
|
850
|
-
"""
|
|
851
|
-
...
|
|
852
|
-
|
|
853
|
-
def path_from_id(self) -> str:
|
|
854
|
-
"""Returns the data path from the ID to this object (string).
|
|
855
|
-
|
|
856
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
857
|
-
to this struct and property (when given).
|
|
858
|
-
:rtype: str
|
|
859
|
-
"""
|
|
860
|
-
...
|
|
861
|
-
|
|
862
|
-
def path_resolve(self):
|
|
863
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
864
|
-
...
|
|
865
|
-
|
|
866
|
-
def poll(self, context):
|
|
867
|
-
"""
|
|
868
|
-
|
|
869
|
-
:param context:
|
|
870
|
-
"""
|
|
871
|
-
...
|
|
872
|
-
|
|
873
|
-
def pop(self):
|
|
874
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
875
|
-
when not found (matches Python's dictionary function of the same name).
|
|
876
|
-
|
|
877
|
-
"""
|
|
878
|
-
...
|
|
879
|
-
|
|
880
|
-
def prepend(self, draw_func):
|
|
881
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
882
|
-
the menus draw function
|
|
883
|
-
|
|
884
|
-
:param draw_func:
|
|
885
|
-
"""
|
|
886
|
-
...
|
|
887
|
-
|
|
888
|
-
def property_overridable_library_set(self) -> bool:
|
|
889
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
890
|
-
|
|
891
|
-
:return: True when the overridable status of the property was successfully set.
|
|
892
|
-
:rtype: bool
|
|
893
|
-
"""
|
|
894
|
-
...
|
|
895
|
-
|
|
896
|
-
def property_unset(self):
|
|
897
|
-
"""Unset a property, will use default value afterward."""
|
|
898
|
-
...
|
|
899
|
-
|
|
900
|
-
def remove(self, draw_func):
|
|
901
|
-
"""Remove a draw function that has been added to this menu
|
|
902
|
-
|
|
903
|
-
:param draw_func:
|
|
904
|
-
"""
|
|
905
|
-
...
|
|
906
|
-
|
|
907
|
-
def type_recast(self):
|
|
908
|
-
"""Return a new instance, this is needed because types
|
|
909
|
-
such as textures can be changed at runtime.
|
|
910
|
-
|
|
911
|
-
:return: a new instance of this object with the type initialized again.
|
|
912
|
-
"""
|
|
913
|
-
...
|
|
914
|
-
|
|
915
|
-
def values(self):
|
|
916
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
917
|
-
dictionary function of the same name).
|
|
918
|
-
|
|
919
|
-
:return: custom property values.
|
|
920
|
-
"""
|
|
921
|
-
...
|
|
922
|
-
|
|
923
|
-
class EEVEE_MATERIAL_PT_thickness(MaterialButtonsPanel, bpy_types._GenericUI):
|
|
924
|
-
COMPAT_ENGINES: typing.Any
|
|
925
|
-
bl_context: typing.Any
|
|
926
|
-
bl_label: typing.Any
|
|
927
|
-
bl_options: typing.Any
|
|
928
|
-
bl_region_type: typing.Any
|
|
929
|
-
bl_rna: typing.Any
|
|
930
|
-
bl_space_type: typing.Any
|
|
931
|
-
bl_translation_context: typing.Any
|
|
932
|
-
id_data: typing.Any
|
|
933
|
-
|
|
934
|
-
def append(self, draw_func):
|
|
935
|
-
"""Append a draw function to this menu,
|
|
936
|
-
takes the same arguments as the menus draw function
|
|
937
|
-
|
|
938
|
-
:param draw_func:
|
|
939
|
-
"""
|
|
940
|
-
...
|
|
941
|
-
|
|
942
|
-
def as_pointer(self) -> int:
|
|
943
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
944
|
-
|
|
945
|
-
:return: int (memory address).
|
|
946
|
-
:rtype: int
|
|
947
|
-
"""
|
|
948
|
-
...
|
|
949
|
-
|
|
950
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
951
|
-
"""
|
|
952
|
-
|
|
953
|
-
:return: The RNA type or default when not found.
|
|
954
|
-
:rtype: bpy.types.Struct
|
|
955
|
-
"""
|
|
956
|
-
...
|
|
957
|
-
|
|
958
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
959
|
-
"""
|
|
960
|
-
|
|
961
|
-
:return: The class or default when not found.
|
|
962
|
-
:rtype: typing.Any
|
|
963
|
-
"""
|
|
964
|
-
...
|
|
965
|
-
|
|
966
|
-
def draw(self, context):
|
|
967
|
-
"""
|
|
968
|
-
|
|
969
|
-
:param context:
|
|
970
|
-
"""
|
|
971
|
-
...
|
|
972
|
-
|
|
973
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
974
|
-
"""Adds driver(s) to the given property
|
|
975
|
-
|
|
976
|
-
:return: The driver(s) added.
|
|
977
|
-
:rtype: bpy.types.FCurve
|
|
978
|
-
"""
|
|
979
|
-
...
|
|
980
|
-
|
|
981
|
-
def driver_remove(self) -> bool:
|
|
982
|
-
"""Remove driver(s) from the given property
|
|
983
|
-
|
|
984
|
-
:return: Success of driver removal.
|
|
985
|
-
:rtype: bool
|
|
986
|
-
"""
|
|
987
|
-
...
|
|
988
|
-
|
|
989
|
-
def get(self):
|
|
990
|
-
"""Returns the value of the custom property assigned to key or default
|
|
991
|
-
when not found (matches Python's dictionary function of the same name).
|
|
992
|
-
|
|
993
|
-
"""
|
|
994
|
-
...
|
|
995
|
-
|
|
996
|
-
def id_properties_clear(self):
|
|
997
|
-
"""
|
|
998
|
-
|
|
999
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
1000
|
-
"""
|
|
1001
|
-
...
|
|
1002
|
-
|
|
1003
|
-
def id_properties_ensure(self):
|
|
1004
|
-
"""
|
|
1005
|
-
|
|
1006
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
1007
|
-
"""
|
|
1008
|
-
...
|
|
1009
|
-
|
|
1010
|
-
def id_properties_ui(self):
|
|
1011
|
-
"""
|
|
1012
|
-
|
|
1013
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
1014
|
-
"""
|
|
1015
|
-
...
|
|
1016
|
-
|
|
1017
|
-
def is_extended(self): ...
|
|
1018
|
-
def is_property_hidden(self) -> bool:
|
|
1019
|
-
"""Check if a property is hidden.
|
|
1020
|
-
|
|
1021
|
-
:return: True when the property is hidden.
|
|
1022
|
-
:rtype: bool
|
|
1023
|
-
"""
|
|
1024
|
-
...
|
|
1025
|
-
|
|
1026
|
-
def is_property_overridable_library(self) -> bool:
|
|
1027
|
-
"""Check if a property is overridable.
|
|
1028
|
-
|
|
1029
|
-
:return: True when the property is overridable.
|
|
1030
|
-
:rtype: bool
|
|
1031
|
-
"""
|
|
1032
|
-
...
|
|
1033
|
-
|
|
1034
|
-
def is_property_readonly(self) -> bool:
|
|
1035
|
-
"""Check if a property is readonly.
|
|
1036
|
-
|
|
1037
|
-
:return: True when the property is readonly (not writable).
|
|
1038
|
-
:rtype: bool
|
|
1039
|
-
"""
|
|
1040
|
-
...
|
|
1041
|
-
|
|
1042
|
-
def is_property_set(self) -> bool:
|
|
1043
|
-
"""Check if a property is set, use for testing operator properties.
|
|
1044
|
-
|
|
1045
|
-
:return: True when the property has been set.
|
|
1046
|
-
:rtype: bool
|
|
1047
|
-
"""
|
|
1048
|
-
...
|
|
1049
|
-
|
|
1050
|
-
def items(self):
|
|
1051
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
1052
|
-
dictionary function of the same name).
|
|
1053
|
-
|
|
1054
|
-
:return: custom property key, value pairs.
|
|
1055
|
-
"""
|
|
1056
|
-
...
|
|
1057
|
-
|
|
1058
|
-
def keyframe_delete(self) -> bool:
|
|
1059
|
-
"""Remove a keyframe from this properties fcurve.
|
|
1060
|
-
|
|
1061
|
-
:return: Success of keyframe deletion.
|
|
1062
|
-
:rtype: bool
|
|
1063
|
-
"""
|
|
1064
|
-
...
|
|
1065
|
-
|
|
1066
|
-
def keyframe_insert(self) -> bool:
|
|
1067
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
1068
|
-
|
|
1069
|
-
:return: Success of keyframe insertion.
|
|
1070
|
-
:rtype: bool
|
|
1071
|
-
"""
|
|
1072
|
-
...
|
|
1073
|
-
|
|
1074
|
-
def keys(self):
|
|
1075
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
1076
|
-
dictionary function of the same name).
|
|
1077
|
-
|
|
1078
|
-
:return: custom property keys.
|
|
1079
|
-
"""
|
|
1080
|
-
...
|
|
1081
|
-
|
|
1082
|
-
def path_from_id(self) -> str:
|
|
1083
|
-
"""Returns the data path from the ID to this object (string).
|
|
1084
|
-
|
|
1085
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
1086
|
-
to this struct and property (when given).
|
|
1087
|
-
:rtype: str
|
|
1088
|
-
"""
|
|
1089
|
-
...
|
|
1090
|
-
|
|
1091
|
-
def path_resolve(self):
|
|
1092
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
1093
|
-
...
|
|
1094
|
-
|
|
1095
|
-
@classmethod
|
|
1096
|
-
def poll(cls, context):
|
|
1097
|
-
"""
|
|
1098
|
-
|
|
1099
|
-
:param context:
|
|
1100
|
-
"""
|
|
1101
|
-
...
|
|
1102
|
-
|
|
1103
|
-
def pop(self):
|
|
1104
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
1105
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1106
|
-
|
|
1107
|
-
"""
|
|
1108
|
-
...
|
|
1109
|
-
|
|
1110
|
-
def prepend(self, draw_func):
|
|
1111
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
1112
|
-
the menus draw function
|
|
1113
|
-
|
|
1114
|
-
:param draw_func:
|
|
1115
|
-
"""
|
|
1116
|
-
...
|
|
1117
|
-
|
|
1118
|
-
def property_overridable_library_set(self) -> bool:
|
|
1119
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
1120
|
-
|
|
1121
|
-
:return: True when the overridable status of the property was successfully set.
|
|
1122
|
-
:rtype: bool
|
|
1123
|
-
"""
|
|
1124
|
-
...
|
|
1125
|
-
|
|
1126
|
-
def property_unset(self):
|
|
1127
|
-
"""Unset a property, will use default value afterward."""
|
|
1128
|
-
...
|
|
1129
|
-
|
|
1130
|
-
def remove(self, draw_func):
|
|
1131
|
-
"""Remove a draw function that has been added to this menu
|
|
1132
|
-
|
|
1133
|
-
:param draw_func:
|
|
1134
|
-
"""
|
|
1135
|
-
...
|
|
1136
|
-
|
|
1137
|
-
def type_recast(self):
|
|
1138
|
-
"""Return a new instance, this is needed because types
|
|
1139
|
-
such as textures can be changed at runtime.
|
|
1140
|
-
|
|
1141
|
-
:return: a new instance of this object with the type initialized again.
|
|
1142
|
-
"""
|
|
1143
|
-
...
|
|
1144
|
-
|
|
1145
|
-
def values(self):
|
|
1146
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
1147
|
-
dictionary function of the same name).
|
|
1148
|
-
|
|
1149
|
-
:return: custom property values.
|
|
1150
|
-
"""
|
|
1151
|
-
...
|
|
1152
|
-
|
|
1153
|
-
class EEVEE_MATERIAL_PT_viewport_settings(MaterialButtonsPanel, bpy_types._GenericUI):
|
|
1154
|
-
COMPAT_ENGINES: typing.Any
|
|
1155
|
-
bl_context: typing.Any
|
|
1156
|
-
bl_label: typing.Any
|
|
1157
|
-
bl_parent_id: typing.Any
|
|
1158
|
-
bl_region_type: typing.Any
|
|
1159
|
-
bl_rna: typing.Any
|
|
1160
|
-
bl_space_type: typing.Any
|
|
1161
|
-
id_data: typing.Any
|
|
1162
|
-
|
|
1163
|
-
def append(self, draw_func):
|
|
1164
|
-
"""Append a draw function to this menu,
|
|
1165
|
-
takes the same arguments as the menus draw function
|
|
1166
|
-
|
|
1167
|
-
:param draw_func:
|
|
1168
|
-
"""
|
|
1169
|
-
...
|
|
1170
|
-
|
|
1171
|
-
def as_pointer(self) -> int:
|
|
1172
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
1173
|
-
|
|
1174
|
-
:return: int (memory address).
|
|
1175
|
-
:rtype: int
|
|
1176
|
-
"""
|
|
1177
|
-
...
|
|
1178
|
-
|
|
1179
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
1180
|
-
"""
|
|
1181
|
-
|
|
1182
|
-
:return: The RNA type or default when not found.
|
|
1183
|
-
:rtype: bpy.types.Struct
|
|
1184
|
-
"""
|
|
1185
|
-
...
|
|
1186
|
-
|
|
1187
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
1188
|
-
"""
|
|
1189
|
-
|
|
1190
|
-
:return: The class or default when not found.
|
|
1191
|
-
:rtype: typing.Any
|
|
1192
|
-
"""
|
|
1193
|
-
...
|
|
1194
|
-
|
|
1195
|
-
def draw(self, context):
|
|
1196
|
-
"""
|
|
1197
|
-
|
|
1198
|
-
:param context:
|
|
1199
|
-
"""
|
|
1200
|
-
...
|
|
1201
|
-
|
|
1202
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
1203
|
-
"""Adds driver(s) to the given property
|
|
1204
|
-
|
|
1205
|
-
:return: The driver(s) added.
|
|
1206
|
-
:rtype: bpy.types.FCurve
|
|
1207
|
-
"""
|
|
1208
|
-
...
|
|
1209
|
-
|
|
1210
|
-
def driver_remove(self) -> bool:
|
|
1211
|
-
"""Remove driver(s) from the given property
|
|
1212
|
-
|
|
1213
|
-
:return: Success of driver removal.
|
|
1214
|
-
:rtype: bool
|
|
1215
|
-
"""
|
|
1216
|
-
...
|
|
1217
|
-
|
|
1218
|
-
def get(self):
|
|
1219
|
-
"""Returns the value of the custom property assigned to key or default
|
|
1220
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1221
|
-
|
|
1222
|
-
"""
|
|
1223
|
-
...
|
|
1224
|
-
|
|
1225
|
-
def id_properties_clear(self):
|
|
1226
|
-
"""
|
|
1227
|
-
|
|
1228
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
1229
|
-
"""
|
|
1230
|
-
...
|
|
1231
|
-
|
|
1232
|
-
def id_properties_ensure(self):
|
|
1233
|
-
"""
|
|
1234
|
-
|
|
1235
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
1236
|
-
"""
|
|
1237
|
-
...
|
|
1238
|
-
|
|
1239
|
-
def id_properties_ui(self):
|
|
1240
|
-
"""
|
|
1241
|
-
|
|
1242
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
1243
|
-
"""
|
|
1244
|
-
...
|
|
1245
|
-
|
|
1246
|
-
def is_extended(self): ...
|
|
1247
|
-
def is_property_hidden(self) -> bool:
|
|
1248
|
-
"""Check if a property is hidden.
|
|
1249
|
-
|
|
1250
|
-
:return: True when the property is hidden.
|
|
1251
|
-
:rtype: bool
|
|
1252
|
-
"""
|
|
1253
|
-
...
|
|
1254
|
-
|
|
1255
|
-
def is_property_overridable_library(self) -> bool:
|
|
1256
|
-
"""Check if a property is overridable.
|
|
1257
|
-
|
|
1258
|
-
:return: True when the property is overridable.
|
|
1259
|
-
:rtype: bool
|
|
1260
|
-
"""
|
|
1261
|
-
...
|
|
1262
|
-
|
|
1263
|
-
def is_property_readonly(self) -> bool:
|
|
1264
|
-
"""Check if a property is readonly.
|
|
1265
|
-
|
|
1266
|
-
:return: True when the property is readonly (not writable).
|
|
1267
|
-
:rtype: bool
|
|
1268
|
-
"""
|
|
1269
|
-
...
|
|
1270
|
-
|
|
1271
|
-
def is_property_set(self) -> bool:
|
|
1272
|
-
"""Check if a property is set, use for testing operator properties.
|
|
1273
|
-
|
|
1274
|
-
:return: True when the property has been set.
|
|
1275
|
-
:rtype: bool
|
|
1276
|
-
"""
|
|
1277
|
-
...
|
|
1278
|
-
|
|
1279
|
-
def items(self):
|
|
1280
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
1281
|
-
dictionary function of the same name).
|
|
1282
|
-
|
|
1283
|
-
:return: custom property key, value pairs.
|
|
1284
|
-
"""
|
|
1285
|
-
...
|
|
1286
|
-
|
|
1287
|
-
def keyframe_delete(self) -> bool:
|
|
1288
|
-
"""Remove a keyframe from this properties fcurve.
|
|
1289
|
-
|
|
1290
|
-
:return: Success of keyframe deletion.
|
|
1291
|
-
:rtype: bool
|
|
1292
|
-
"""
|
|
1293
|
-
...
|
|
1294
|
-
|
|
1295
|
-
def keyframe_insert(self) -> bool:
|
|
1296
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
1297
|
-
|
|
1298
|
-
:return: Success of keyframe insertion.
|
|
1299
|
-
:rtype: bool
|
|
1300
|
-
"""
|
|
1301
|
-
...
|
|
1302
|
-
|
|
1303
|
-
def keys(self):
|
|
1304
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
1305
|
-
dictionary function of the same name).
|
|
1306
|
-
|
|
1307
|
-
:return: custom property keys.
|
|
1308
|
-
"""
|
|
1309
|
-
...
|
|
1310
|
-
|
|
1311
|
-
def path_from_id(self) -> str:
|
|
1312
|
-
"""Returns the data path from the ID to this object (string).
|
|
1313
|
-
|
|
1314
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
1315
|
-
to this struct and property (when given).
|
|
1316
|
-
:rtype: str
|
|
1317
|
-
"""
|
|
1318
|
-
...
|
|
1319
|
-
|
|
1320
|
-
def path_resolve(self):
|
|
1321
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
1322
|
-
...
|
|
1323
|
-
|
|
1324
|
-
def poll(self, context):
|
|
1325
|
-
"""
|
|
1326
|
-
|
|
1327
|
-
:param context:
|
|
1328
|
-
"""
|
|
1329
|
-
...
|
|
1330
|
-
|
|
1331
|
-
def pop(self):
|
|
1332
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
1333
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1334
|
-
|
|
1335
|
-
"""
|
|
1336
|
-
...
|
|
1337
|
-
|
|
1338
|
-
def prepend(self, draw_func):
|
|
1339
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
1340
|
-
the menus draw function
|
|
1341
|
-
|
|
1342
|
-
:param draw_func:
|
|
1343
|
-
"""
|
|
1344
|
-
...
|
|
1345
|
-
|
|
1346
|
-
def property_overridable_library_set(self) -> bool:
|
|
1347
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
1348
|
-
|
|
1349
|
-
:return: True when the overridable status of the property was successfully set.
|
|
1350
|
-
:rtype: bool
|
|
1351
|
-
"""
|
|
1352
|
-
...
|
|
1353
|
-
|
|
1354
|
-
def property_unset(self):
|
|
1355
|
-
"""Unset a property, will use default value afterward."""
|
|
1356
|
-
...
|
|
1357
|
-
|
|
1358
|
-
def remove(self, draw_func):
|
|
1359
|
-
"""Remove a draw function that has been added to this menu
|
|
1360
|
-
|
|
1361
|
-
:param draw_func:
|
|
1362
|
-
"""
|
|
1363
|
-
...
|
|
1364
|
-
|
|
1365
|
-
def type_recast(self):
|
|
1366
|
-
"""Return a new instance, this is needed because types
|
|
1367
|
-
such as textures can be changed at runtime.
|
|
1368
|
-
|
|
1369
|
-
:return: a new instance of this object with the type initialized again.
|
|
1370
|
-
"""
|
|
1371
|
-
...
|
|
1372
|
-
|
|
1373
|
-
def values(self):
|
|
1374
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
1375
|
-
dictionary function of the same name).
|
|
1376
|
-
|
|
1377
|
-
:return: custom property values.
|
|
1378
|
-
"""
|
|
1379
|
-
...
|
|
1380
|
-
|
|
1381
|
-
class EEVEE_MATERIAL_PT_volume(MaterialButtonsPanel, bpy_types._GenericUI):
|
|
1382
|
-
COMPAT_ENGINES: typing.Any
|
|
1383
|
-
bl_context: typing.Any
|
|
1384
|
-
bl_label: typing.Any
|
|
1385
|
-
bl_options: typing.Any
|
|
1386
|
-
bl_region_type: typing.Any
|
|
1387
|
-
bl_rna: typing.Any
|
|
1388
|
-
bl_space_type: typing.Any
|
|
1389
|
-
bl_translation_context: typing.Any
|
|
1390
|
-
id_data: typing.Any
|
|
1391
|
-
|
|
1392
|
-
def append(self, draw_func):
|
|
1393
|
-
"""Append a draw function to this menu,
|
|
1394
|
-
takes the same arguments as the menus draw function
|
|
1395
|
-
|
|
1396
|
-
:param draw_func:
|
|
1397
|
-
"""
|
|
1398
|
-
...
|
|
1399
|
-
|
|
1400
|
-
def as_pointer(self) -> int:
|
|
1401
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
1402
|
-
|
|
1403
|
-
:return: int (memory address).
|
|
1404
|
-
:rtype: int
|
|
1405
|
-
"""
|
|
1406
|
-
...
|
|
1407
|
-
|
|
1408
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
1409
|
-
"""
|
|
1410
|
-
|
|
1411
|
-
:return: The RNA type or default when not found.
|
|
1412
|
-
:rtype: bpy.types.Struct
|
|
1413
|
-
"""
|
|
1414
|
-
...
|
|
1415
|
-
|
|
1416
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
1417
|
-
"""
|
|
1418
|
-
|
|
1419
|
-
:return: The class or default when not found.
|
|
1420
|
-
:rtype: typing.Any
|
|
1421
|
-
"""
|
|
1422
|
-
...
|
|
1423
|
-
|
|
1424
|
-
def draw(self, context):
|
|
1425
|
-
"""
|
|
1426
|
-
|
|
1427
|
-
:param context:
|
|
1428
|
-
"""
|
|
1429
|
-
...
|
|
1430
|
-
|
|
1431
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
1432
|
-
"""Adds driver(s) to the given property
|
|
1433
|
-
|
|
1434
|
-
:return: The driver(s) added.
|
|
1435
|
-
:rtype: bpy.types.FCurve
|
|
1436
|
-
"""
|
|
1437
|
-
...
|
|
1438
|
-
|
|
1439
|
-
def driver_remove(self) -> bool:
|
|
1440
|
-
"""Remove driver(s) from the given property
|
|
1441
|
-
|
|
1442
|
-
:return: Success of driver removal.
|
|
1443
|
-
:rtype: bool
|
|
1444
|
-
"""
|
|
1445
|
-
...
|
|
1446
|
-
|
|
1447
|
-
def get(self):
|
|
1448
|
-
"""Returns the value of the custom property assigned to key or default
|
|
1449
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1450
|
-
|
|
1451
|
-
"""
|
|
1452
|
-
...
|
|
1453
|
-
|
|
1454
|
-
def id_properties_clear(self):
|
|
1455
|
-
"""
|
|
1456
|
-
|
|
1457
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
1458
|
-
"""
|
|
1459
|
-
...
|
|
1460
|
-
|
|
1461
|
-
def id_properties_ensure(self):
|
|
1462
|
-
"""
|
|
1463
|
-
|
|
1464
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
1465
|
-
"""
|
|
1466
|
-
...
|
|
1467
|
-
|
|
1468
|
-
def id_properties_ui(self):
|
|
1469
|
-
"""
|
|
1470
|
-
|
|
1471
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
1472
|
-
"""
|
|
1473
|
-
...
|
|
1474
|
-
|
|
1475
|
-
def is_extended(self): ...
|
|
1476
|
-
def is_property_hidden(self) -> bool:
|
|
1477
|
-
"""Check if a property is hidden.
|
|
1478
|
-
|
|
1479
|
-
:return: True when the property is hidden.
|
|
1480
|
-
:rtype: bool
|
|
1481
|
-
"""
|
|
1482
|
-
...
|
|
1483
|
-
|
|
1484
|
-
def is_property_overridable_library(self) -> bool:
|
|
1485
|
-
"""Check if a property is overridable.
|
|
1486
|
-
|
|
1487
|
-
:return: True when the property is overridable.
|
|
1488
|
-
:rtype: bool
|
|
1489
|
-
"""
|
|
1490
|
-
...
|
|
1491
|
-
|
|
1492
|
-
def is_property_readonly(self) -> bool:
|
|
1493
|
-
"""Check if a property is readonly.
|
|
1494
|
-
|
|
1495
|
-
:return: True when the property is readonly (not writable).
|
|
1496
|
-
:rtype: bool
|
|
1497
|
-
"""
|
|
1498
|
-
...
|
|
1499
|
-
|
|
1500
|
-
def is_property_set(self) -> bool:
|
|
1501
|
-
"""Check if a property is set, use for testing operator properties.
|
|
1502
|
-
|
|
1503
|
-
:return: True when the property has been set.
|
|
1504
|
-
:rtype: bool
|
|
1505
|
-
"""
|
|
1506
|
-
...
|
|
1507
|
-
|
|
1508
|
-
def items(self):
|
|
1509
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
1510
|
-
dictionary function of the same name).
|
|
1511
|
-
|
|
1512
|
-
:return: custom property key, value pairs.
|
|
1513
|
-
"""
|
|
1514
|
-
...
|
|
1515
|
-
|
|
1516
|
-
def keyframe_delete(self) -> bool:
|
|
1517
|
-
"""Remove a keyframe from this properties fcurve.
|
|
1518
|
-
|
|
1519
|
-
:return: Success of keyframe deletion.
|
|
1520
|
-
:rtype: bool
|
|
1521
|
-
"""
|
|
1522
|
-
...
|
|
1523
|
-
|
|
1524
|
-
def keyframe_insert(self) -> bool:
|
|
1525
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
1526
|
-
|
|
1527
|
-
:return: Success of keyframe insertion.
|
|
1528
|
-
:rtype: bool
|
|
1529
|
-
"""
|
|
1530
|
-
...
|
|
1531
|
-
|
|
1532
|
-
def keys(self):
|
|
1533
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
1534
|
-
dictionary function of the same name).
|
|
1535
|
-
|
|
1536
|
-
:return: custom property keys.
|
|
1537
|
-
"""
|
|
1538
|
-
...
|
|
1539
|
-
|
|
1540
|
-
def path_from_id(self) -> str:
|
|
1541
|
-
"""Returns the data path from the ID to this object (string).
|
|
1542
|
-
|
|
1543
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
1544
|
-
to this struct and property (when given).
|
|
1545
|
-
:rtype: str
|
|
1546
|
-
"""
|
|
1547
|
-
...
|
|
1548
|
-
|
|
1549
|
-
def path_resolve(self):
|
|
1550
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
1551
|
-
...
|
|
1552
|
-
|
|
1553
|
-
@classmethod
|
|
1554
|
-
def poll(cls, context):
|
|
1555
|
-
"""
|
|
1556
|
-
|
|
1557
|
-
:param context:
|
|
1558
|
-
"""
|
|
1559
|
-
...
|
|
1560
|
-
|
|
1561
|
-
def pop(self):
|
|
1562
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
1563
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1564
|
-
|
|
1565
|
-
"""
|
|
1566
|
-
...
|
|
1567
|
-
|
|
1568
|
-
def prepend(self, draw_func):
|
|
1569
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
1570
|
-
the menus draw function
|
|
1571
|
-
|
|
1572
|
-
:param draw_func:
|
|
1573
|
-
"""
|
|
1574
|
-
...
|
|
1575
|
-
|
|
1576
|
-
def property_overridable_library_set(self) -> bool:
|
|
1577
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
1578
|
-
|
|
1579
|
-
:return: True when the overridable status of the property was successfully set.
|
|
1580
|
-
:rtype: bool
|
|
1581
|
-
"""
|
|
1582
|
-
...
|
|
1583
|
-
|
|
1584
|
-
def property_unset(self):
|
|
1585
|
-
"""Unset a property, will use default value afterward."""
|
|
1586
|
-
...
|
|
1587
|
-
|
|
1588
|
-
def remove(self, draw_func):
|
|
1589
|
-
"""Remove a draw function that has been added to this menu
|
|
1590
|
-
|
|
1591
|
-
:param draw_func:
|
|
1592
|
-
"""
|
|
1593
|
-
...
|
|
1594
|
-
|
|
1595
|
-
def type_recast(self):
|
|
1596
|
-
"""Return a new instance, this is needed because types
|
|
1597
|
-
such as textures can be changed at runtime.
|
|
1598
|
-
|
|
1599
|
-
:return: a new instance of this object with the type initialized again.
|
|
1600
|
-
"""
|
|
1601
|
-
...
|
|
1602
|
-
|
|
1603
|
-
def values(self):
|
|
1604
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
1605
|
-
dictionary function of the same name).
|
|
1606
|
-
|
|
1607
|
-
:return: custom property values.
|
|
1608
|
-
"""
|
|
1609
|
-
...
|
|
1610
|
-
|
|
1611
|
-
class EEVEE_NEXT_MATERIAL_PT_settings(MaterialButtonsPanel, bpy_types._GenericUI):
|
|
1612
|
-
COMPAT_ENGINES: typing.Any
|
|
1613
|
-
bl_context: typing.Any
|
|
1614
|
-
bl_label: typing.Any
|
|
1615
|
-
bl_region_type: typing.Any
|
|
1616
|
-
bl_rna: typing.Any
|
|
1617
|
-
bl_space_type: typing.Any
|
|
1618
|
-
id_data: typing.Any
|
|
1619
|
-
|
|
1620
|
-
def append(self, draw_func):
|
|
1621
|
-
"""Append a draw function to this menu,
|
|
1622
|
-
takes the same arguments as the menus draw function
|
|
1623
|
-
|
|
1624
|
-
:param draw_func:
|
|
1625
|
-
"""
|
|
1626
|
-
...
|
|
1627
|
-
|
|
1628
|
-
def as_pointer(self) -> int:
|
|
1629
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
1630
|
-
|
|
1631
|
-
:return: int (memory address).
|
|
1632
|
-
:rtype: int
|
|
1633
|
-
"""
|
|
1634
|
-
...
|
|
1635
|
-
|
|
1636
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
1637
|
-
"""
|
|
1638
|
-
|
|
1639
|
-
:return: The RNA type or default when not found.
|
|
1640
|
-
:rtype: bpy.types.Struct
|
|
1641
|
-
"""
|
|
1642
|
-
...
|
|
1643
|
-
|
|
1644
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
1645
|
-
"""
|
|
1646
|
-
|
|
1647
|
-
:return: The class or default when not found.
|
|
1648
|
-
:rtype: typing.Any
|
|
1649
|
-
"""
|
|
1650
|
-
...
|
|
1651
|
-
|
|
1652
|
-
def draw(self, context):
|
|
1653
|
-
"""
|
|
1654
|
-
|
|
1655
|
-
:param context:
|
|
1656
|
-
"""
|
|
1657
|
-
...
|
|
1658
|
-
|
|
1659
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
1660
|
-
"""Adds driver(s) to the given property
|
|
1661
|
-
|
|
1662
|
-
:return: The driver(s) added.
|
|
1663
|
-
:rtype: bpy.types.FCurve
|
|
1664
|
-
"""
|
|
1665
|
-
...
|
|
1666
|
-
|
|
1667
|
-
def driver_remove(self) -> bool:
|
|
1668
|
-
"""Remove driver(s) from the given property
|
|
1669
|
-
|
|
1670
|
-
:return: Success of driver removal.
|
|
1671
|
-
:rtype: bool
|
|
1672
|
-
"""
|
|
1673
|
-
...
|
|
1674
|
-
|
|
1675
|
-
def get(self):
|
|
1676
|
-
"""Returns the value of the custom property assigned to key or default
|
|
1677
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1678
|
-
|
|
1679
|
-
"""
|
|
1680
|
-
...
|
|
1681
|
-
|
|
1682
|
-
def id_properties_clear(self):
|
|
1683
|
-
"""
|
|
1684
|
-
|
|
1685
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
1686
|
-
"""
|
|
1687
|
-
...
|
|
1688
|
-
|
|
1689
|
-
def id_properties_ensure(self):
|
|
1690
|
-
"""
|
|
1691
|
-
|
|
1692
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
1693
|
-
"""
|
|
1694
|
-
...
|
|
1695
|
-
|
|
1696
|
-
def id_properties_ui(self):
|
|
1697
|
-
"""
|
|
1698
|
-
|
|
1699
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
1700
|
-
"""
|
|
1701
|
-
...
|
|
1702
|
-
|
|
1703
|
-
def is_extended(self): ...
|
|
1704
|
-
def is_property_hidden(self) -> bool:
|
|
1705
|
-
"""Check if a property is hidden.
|
|
1706
|
-
|
|
1707
|
-
:return: True when the property is hidden.
|
|
1708
|
-
:rtype: bool
|
|
1709
|
-
"""
|
|
1710
|
-
...
|
|
1711
|
-
|
|
1712
|
-
def is_property_overridable_library(self) -> bool:
|
|
1713
|
-
"""Check if a property is overridable.
|
|
1714
|
-
|
|
1715
|
-
:return: True when the property is overridable.
|
|
1716
|
-
:rtype: bool
|
|
1717
|
-
"""
|
|
1718
|
-
...
|
|
1719
|
-
|
|
1720
|
-
def is_property_readonly(self) -> bool:
|
|
1721
|
-
"""Check if a property is readonly.
|
|
1722
|
-
|
|
1723
|
-
:return: True when the property is readonly (not writable).
|
|
1724
|
-
:rtype: bool
|
|
1725
|
-
"""
|
|
1726
|
-
...
|
|
1727
|
-
|
|
1728
|
-
def is_property_set(self) -> bool:
|
|
1729
|
-
"""Check if a property is set, use for testing operator properties.
|
|
1730
|
-
|
|
1731
|
-
:return: True when the property has been set.
|
|
1732
|
-
:rtype: bool
|
|
1733
|
-
"""
|
|
1734
|
-
...
|
|
1735
|
-
|
|
1736
|
-
def items(self):
|
|
1737
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
1738
|
-
dictionary function of the same name).
|
|
1739
|
-
|
|
1740
|
-
:return: custom property key, value pairs.
|
|
1741
|
-
"""
|
|
1742
|
-
...
|
|
1743
|
-
|
|
1744
|
-
def keyframe_delete(self) -> bool:
|
|
1745
|
-
"""Remove a keyframe from this properties fcurve.
|
|
1746
|
-
|
|
1747
|
-
:return: Success of keyframe deletion.
|
|
1748
|
-
:rtype: bool
|
|
1749
|
-
"""
|
|
1750
|
-
...
|
|
1751
|
-
|
|
1752
|
-
def keyframe_insert(self) -> bool:
|
|
1753
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
1754
|
-
|
|
1755
|
-
:return: Success of keyframe insertion.
|
|
1756
|
-
:rtype: bool
|
|
1757
|
-
"""
|
|
1758
|
-
...
|
|
1759
|
-
|
|
1760
|
-
def keys(self):
|
|
1761
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
1762
|
-
dictionary function of the same name).
|
|
1763
|
-
|
|
1764
|
-
:return: custom property keys.
|
|
1765
|
-
"""
|
|
1766
|
-
...
|
|
1767
|
-
|
|
1768
|
-
def path_from_id(self) -> str:
|
|
1769
|
-
"""Returns the data path from the ID to this object (string).
|
|
1770
|
-
|
|
1771
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
1772
|
-
to this struct and property (when given).
|
|
1773
|
-
:rtype: str
|
|
1774
|
-
"""
|
|
1775
|
-
...
|
|
1776
|
-
|
|
1777
|
-
def path_resolve(self):
|
|
1778
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
1779
|
-
...
|
|
1780
|
-
|
|
1781
|
-
def poll(self, context):
|
|
1782
|
-
"""
|
|
1783
|
-
|
|
1784
|
-
:param context:
|
|
1785
|
-
"""
|
|
1786
|
-
...
|
|
1787
|
-
|
|
1788
|
-
def pop(self):
|
|
1789
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
1790
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1791
|
-
|
|
1792
|
-
"""
|
|
1793
|
-
...
|
|
1794
|
-
|
|
1795
|
-
def prepend(self, draw_func):
|
|
1796
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
1797
|
-
the menus draw function
|
|
1798
|
-
|
|
1799
|
-
:param draw_func:
|
|
1800
|
-
"""
|
|
1801
|
-
...
|
|
1802
|
-
|
|
1803
|
-
def property_overridable_library_set(self) -> bool:
|
|
1804
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
1805
|
-
|
|
1806
|
-
:return: True when the overridable status of the property was successfully set.
|
|
1807
|
-
:rtype: bool
|
|
1808
|
-
"""
|
|
1809
|
-
...
|
|
1810
|
-
|
|
1811
|
-
def property_unset(self):
|
|
1812
|
-
"""Unset a property, will use default value afterward."""
|
|
1813
|
-
...
|
|
1814
|
-
|
|
1815
|
-
def remove(self, draw_func):
|
|
1816
|
-
"""Remove a draw function that has been added to this menu
|
|
1817
|
-
|
|
1818
|
-
:param draw_func:
|
|
1819
|
-
"""
|
|
1820
|
-
...
|
|
1821
|
-
|
|
1822
|
-
def type_recast(self):
|
|
1823
|
-
"""Return a new instance, this is needed because types
|
|
1824
|
-
such as textures can be changed at runtime.
|
|
1825
|
-
|
|
1826
|
-
:return: a new instance of this object with the type initialized again.
|
|
1827
|
-
"""
|
|
1828
|
-
...
|
|
1829
|
-
|
|
1830
|
-
def values(self):
|
|
1831
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
1832
|
-
dictionary function of the same name).
|
|
1833
|
-
|
|
1834
|
-
:return: custom property values.
|
|
1835
|
-
"""
|
|
1836
|
-
...
|
|
1837
|
-
|
|
1838
|
-
class EEVEE_NEXT_MATERIAL_PT_settings_surface(
|
|
1839
|
-
MaterialButtonsPanel, bpy_types._GenericUI
|
|
1840
|
-
):
|
|
1841
|
-
COMPAT_ENGINES: typing.Any
|
|
1842
|
-
bl_context: typing.Any
|
|
1843
|
-
bl_label: typing.Any
|
|
1844
|
-
bl_parent_id: typing.Any
|
|
1845
|
-
bl_region_type: typing.Any
|
|
1846
|
-
bl_rna: typing.Any
|
|
1847
|
-
bl_space_type: typing.Any
|
|
1848
|
-
id_data: typing.Any
|
|
1849
|
-
|
|
1850
|
-
def append(self, draw_func):
|
|
1851
|
-
"""Append a draw function to this menu,
|
|
1852
|
-
takes the same arguments as the menus draw function
|
|
1853
|
-
|
|
1854
|
-
:param draw_func:
|
|
1855
|
-
"""
|
|
1856
|
-
...
|
|
1857
|
-
|
|
1858
|
-
def as_pointer(self) -> int:
|
|
1859
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
1860
|
-
|
|
1861
|
-
:return: int (memory address).
|
|
1862
|
-
:rtype: int
|
|
1863
|
-
"""
|
|
1864
|
-
...
|
|
1865
|
-
|
|
1866
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
1867
|
-
"""
|
|
1868
|
-
|
|
1869
|
-
:return: The RNA type or default when not found.
|
|
1870
|
-
:rtype: bpy.types.Struct
|
|
1871
|
-
"""
|
|
1872
|
-
...
|
|
1873
|
-
|
|
1874
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
1875
|
-
"""
|
|
1876
|
-
|
|
1877
|
-
:return: The class or default when not found.
|
|
1878
|
-
:rtype: typing.Any
|
|
1879
|
-
"""
|
|
1880
|
-
...
|
|
1881
|
-
|
|
1882
|
-
def draw(self, context):
|
|
1883
|
-
"""
|
|
1884
|
-
|
|
1885
|
-
:param context:
|
|
1886
|
-
"""
|
|
1887
|
-
...
|
|
1888
|
-
|
|
1889
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
1890
|
-
"""Adds driver(s) to the given property
|
|
1891
|
-
|
|
1892
|
-
:return: The driver(s) added.
|
|
1893
|
-
:rtype: bpy.types.FCurve
|
|
1894
|
-
"""
|
|
1895
|
-
...
|
|
1896
|
-
|
|
1897
|
-
def driver_remove(self) -> bool:
|
|
1898
|
-
"""Remove driver(s) from the given property
|
|
1899
|
-
|
|
1900
|
-
:return: Success of driver removal.
|
|
1901
|
-
:rtype: bool
|
|
1902
|
-
"""
|
|
1903
|
-
...
|
|
1904
|
-
|
|
1905
|
-
def get(self):
|
|
1906
|
-
"""Returns the value of the custom property assigned to key or default
|
|
1907
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1908
|
-
|
|
1909
|
-
"""
|
|
1910
|
-
...
|
|
1911
|
-
|
|
1912
|
-
def id_properties_clear(self):
|
|
1913
|
-
"""
|
|
1914
|
-
|
|
1915
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
1916
|
-
"""
|
|
1917
|
-
...
|
|
1918
|
-
|
|
1919
|
-
def id_properties_ensure(self):
|
|
1920
|
-
"""
|
|
1921
|
-
|
|
1922
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
1923
|
-
"""
|
|
1924
|
-
...
|
|
1925
|
-
|
|
1926
|
-
def id_properties_ui(self):
|
|
1927
|
-
"""
|
|
1928
|
-
|
|
1929
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
1930
|
-
"""
|
|
1931
|
-
...
|
|
1932
|
-
|
|
1933
|
-
def is_extended(self): ...
|
|
1934
|
-
def is_property_hidden(self) -> bool:
|
|
1935
|
-
"""Check if a property is hidden.
|
|
1936
|
-
|
|
1937
|
-
:return: True when the property is hidden.
|
|
1938
|
-
:rtype: bool
|
|
1939
|
-
"""
|
|
1940
|
-
...
|
|
1941
|
-
|
|
1942
|
-
def is_property_overridable_library(self) -> bool:
|
|
1943
|
-
"""Check if a property is overridable.
|
|
1944
|
-
|
|
1945
|
-
:return: True when the property is overridable.
|
|
1946
|
-
:rtype: bool
|
|
1947
|
-
"""
|
|
1948
|
-
...
|
|
1949
|
-
|
|
1950
|
-
def is_property_readonly(self) -> bool:
|
|
1951
|
-
"""Check if a property is readonly.
|
|
1952
|
-
|
|
1953
|
-
:return: True when the property is readonly (not writable).
|
|
1954
|
-
:rtype: bool
|
|
1955
|
-
"""
|
|
1956
|
-
...
|
|
1957
|
-
|
|
1958
|
-
def is_property_set(self) -> bool:
|
|
1959
|
-
"""Check if a property is set, use for testing operator properties.
|
|
1960
|
-
|
|
1961
|
-
:return: True when the property has been set.
|
|
1962
|
-
:rtype: bool
|
|
1963
|
-
"""
|
|
1964
|
-
...
|
|
1965
|
-
|
|
1966
|
-
def items(self):
|
|
1967
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
1968
|
-
dictionary function of the same name).
|
|
1969
|
-
|
|
1970
|
-
:return: custom property key, value pairs.
|
|
1971
|
-
"""
|
|
1972
|
-
...
|
|
1973
|
-
|
|
1974
|
-
def keyframe_delete(self) -> bool:
|
|
1975
|
-
"""Remove a keyframe from this properties fcurve.
|
|
1976
|
-
|
|
1977
|
-
:return: Success of keyframe deletion.
|
|
1978
|
-
:rtype: bool
|
|
1979
|
-
"""
|
|
1980
|
-
...
|
|
1981
|
-
|
|
1982
|
-
def keyframe_insert(self) -> bool:
|
|
1983
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
1984
|
-
|
|
1985
|
-
:return: Success of keyframe insertion.
|
|
1986
|
-
:rtype: bool
|
|
1987
|
-
"""
|
|
1988
|
-
...
|
|
1989
|
-
|
|
1990
|
-
def keys(self):
|
|
1991
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
1992
|
-
dictionary function of the same name).
|
|
1993
|
-
|
|
1994
|
-
:return: custom property keys.
|
|
1995
|
-
"""
|
|
1996
|
-
...
|
|
1997
|
-
|
|
1998
|
-
def path_from_id(self) -> str:
|
|
1999
|
-
"""Returns the data path from the ID to this object (string).
|
|
2000
|
-
|
|
2001
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
2002
|
-
to this struct and property (when given).
|
|
2003
|
-
:rtype: str
|
|
2004
|
-
"""
|
|
2005
|
-
...
|
|
2006
|
-
|
|
2007
|
-
def path_resolve(self):
|
|
2008
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
2009
|
-
...
|
|
2010
|
-
|
|
2011
|
-
def poll(self, context):
|
|
2012
|
-
"""
|
|
2013
|
-
|
|
2014
|
-
:param context:
|
|
2015
|
-
"""
|
|
2016
|
-
...
|
|
2017
|
-
|
|
2018
|
-
def pop(self):
|
|
2019
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
2020
|
-
when not found (matches Python's dictionary function of the same name).
|
|
2021
|
-
|
|
2022
|
-
"""
|
|
2023
|
-
...
|
|
2024
|
-
|
|
2025
|
-
def prepend(self, draw_func):
|
|
2026
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
2027
|
-
the menus draw function
|
|
2028
|
-
|
|
2029
|
-
:param draw_func:
|
|
2030
|
-
"""
|
|
2031
|
-
...
|
|
2032
|
-
|
|
2033
|
-
def property_overridable_library_set(self) -> bool:
|
|
2034
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
2035
|
-
|
|
2036
|
-
:return: True when the overridable status of the property was successfully set.
|
|
2037
|
-
:rtype: bool
|
|
2038
|
-
"""
|
|
2039
|
-
...
|
|
2040
|
-
|
|
2041
|
-
def property_unset(self):
|
|
2042
|
-
"""Unset a property, will use default value afterward."""
|
|
2043
|
-
...
|
|
2044
|
-
|
|
2045
|
-
def remove(self, draw_func):
|
|
2046
|
-
"""Remove a draw function that has been added to this menu
|
|
2047
|
-
|
|
2048
|
-
:param draw_func:
|
|
2049
|
-
"""
|
|
2050
|
-
...
|
|
2051
|
-
|
|
2052
|
-
def type_recast(self):
|
|
2053
|
-
"""Return a new instance, this is needed because types
|
|
2054
|
-
such as textures can be changed at runtime.
|
|
2055
|
-
|
|
2056
|
-
:return: a new instance of this object with the type initialized again.
|
|
2057
|
-
"""
|
|
2058
|
-
...
|
|
2059
|
-
|
|
2060
|
-
def values(self):
|
|
2061
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
2062
|
-
dictionary function of the same name).
|
|
2063
|
-
|
|
2064
|
-
:return: custom property values.
|
|
2065
|
-
"""
|
|
2066
|
-
...
|
|
2067
|
-
|
|
2068
|
-
class EEVEE_NEXT_MATERIAL_PT_settings_volume(
|
|
2069
|
-
MaterialButtonsPanel, bpy_types._GenericUI
|
|
2070
|
-
):
|
|
2071
|
-
COMPAT_ENGINES: typing.Any
|
|
2072
|
-
bl_context: typing.Any
|
|
2073
|
-
bl_label: typing.Any
|
|
2074
|
-
bl_parent_id: typing.Any
|
|
2075
|
-
bl_region_type: typing.Any
|
|
2076
|
-
bl_rna: typing.Any
|
|
2077
|
-
bl_space_type: typing.Any
|
|
2078
|
-
id_data: typing.Any
|
|
2079
|
-
|
|
2080
|
-
def append(self, draw_func):
|
|
2081
|
-
"""Append a draw function to this menu,
|
|
2082
|
-
takes the same arguments as the menus draw function
|
|
2083
|
-
|
|
2084
|
-
:param draw_func:
|
|
2085
|
-
"""
|
|
2086
|
-
...
|
|
2087
|
-
|
|
2088
|
-
def as_pointer(self) -> int:
|
|
2089
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
2090
|
-
|
|
2091
|
-
:return: int (memory address).
|
|
2092
|
-
:rtype: int
|
|
2093
|
-
"""
|
|
2094
|
-
...
|
|
2095
|
-
|
|
2096
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
2097
|
-
"""
|
|
2098
|
-
|
|
2099
|
-
:return: The RNA type or default when not found.
|
|
2100
|
-
:rtype: bpy.types.Struct
|
|
2101
|
-
"""
|
|
2102
|
-
...
|
|
2103
|
-
|
|
2104
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
2105
|
-
"""
|
|
2106
|
-
|
|
2107
|
-
:return: The class or default when not found.
|
|
2108
|
-
:rtype: typing.Any
|
|
2109
|
-
"""
|
|
2110
|
-
...
|
|
2111
|
-
|
|
2112
|
-
def draw(self, context):
|
|
2113
|
-
"""
|
|
2114
|
-
|
|
2115
|
-
:param context:
|
|
2116
|
-
"""
|
|
2117
|
-
...
|
|
2118
|
-
|
|
2119
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
2120
|
-
"""Adds driver(s) to the given property
|
|
2121
|
-
|
|
2122
|
-
:return: The driver(s) added.
|
|
2123
|
-
:rtype: bpy.types.FCurve
|
|
2124
|
-
"""
|
|
2125
|
-
...
|
|
2126
|
-
|
|
2127
|
-
def driver_remove(self) -> bool:
|
|
2128
|
-
"""Remove driver(s) from the given property
|
|
2129
|
-
|
|
2130
|
-
:return: Success of driver removal.
|
|
2131
|
-
:rtype: bool
|
|
2132
|
-
"""
|
|
2133
|
-
...
|
|
2134
|
-
|
|
2135
|
-
def get(self):
|
|
2136
|
-
"""Returns the value of the custom property assigned to key or default
|
|
2137
|
-
when not found (matches Python's dictionary function of the same name).
|
|
2138
|
-
|
|
2139
|
-
"""
|
|
2140
|
-
...
|
|
2141
|
-
|
|
2142
|
-
def id_properties_clear(self):
|
|
2143
|
-
"""
|
|
2144
|
-
|
|
2145
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
2146
|
-
"""
|
|
2147
|
-
...
|
|
2148
|
-
|
|
2149
|
-
def id_properties_ensure(self):
|
|
2150
|
-
"""
|
|
2151
|
-
|
|
2152
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
2153
|
-
"""
|
|
2154
|
-
...
|
|
2155
|
-
|
|
2156
|
-
def id_properties_ui(self):
|
|
2157
|
-
"""
|
|
2158
|
-
|
|
2159
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
2160
|
-
"""
|
|
2161
|
-
...
|
|
2162
|
-
|
|
2163
|
-
def is_extended(self): ...
|
|
2164
|
-
def is_property_hidden(self) -> bool:
|
|
2165
|
-
"""Check if a property is hidden.
|
|
2166
|
-
|
|
2167
|
-
:return: True when the property is hidden.
|
|
2168
|
-
:rtype: bool
|
|
2169
|
-
"""
|
|
2170
|
-
...
|
|
2171
|
-
|
|
2172
|
-
def is_property_overridable_library(self) -> bool:
|
|
2173
|
-
"""Check if a property is overridable.
|
|
2174
|
-
|
|
2175
|
-
:return: True when the property is overridable.
|
|
2176
|
-
:rtype: bool
|
|
2177
|
-
"""
|
|
2178
|
-
...
|
|
2179
|
-
|
|
2180
|
-
def is_property_readonly(self) -> bool:
|
|
2181
|
-
"""Check if a property is readonly.
|
|
2182
|
-
|
|
2183
|
-
:return: True when the property is readonly (not writable).
|
|
2184
|
-
:rtype: bool
|
|
2185
|
-
"""
|
|
2186
|
-
...
|
|
2187
|
-
|
|
2188
|
-
def is_property_set(self) -> bool:
|
|
2189
|
-
"""Check if a property is set, use for testing operator properties.
|
|
2190
|
-
|
|
2191
|
-
:return: True when the property has been set.
|
|
2192
|
-
:rtype: bool
|
|
2193
|
-
"""
|
|
2194
|
-
...
|
|
2195
|
-
|
|
2196
|
-
def items(self):
|
|
2197
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
2198
|
-
dictionary function of the same name).
|
|
2199
|
-
|
|
2200
|
-
:return: custom property key, value pairs.
|
|
2201
|
-
"""
|
|
2202
|
-
...
|
|
2203
|
-
|
|
2204
|
-
def keyframe_delete(self) -> bool:
|
|
2205
|
-
"""Remove a keyframe from this properties fcurve.
|
|
2206
|
-
|
|
2207
|
-
:return: Success of keyframe deletion.
|
|
2208
|
-
:rtype: bool
|
|
2209
|
-
"""
|
|
2210
|
-
...
|
|
2211
|
-
|
|
2212
|
-
def keyframe_insert(self) -> bool:
|
|
2213
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
2214
|
-
|
|
2215
|
-
:return: Success of keyframe insertion.
|
|
2216
|
-
:rtype: bool
|
|
2217
|
-
"""
|
|
2218
|
-
...
|
|
2219
|
-
|
|
2220
|
-
def keys(self):
|
|
2221
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
2222
|
-
dictionary function of the same name).
|
|
2223
|
-
|
|
2224
|
-
:return: custom property keys.
|
|
2225
|
-
"""
|
|
2226
|
-
...
|
|
2227
|
-
|
|
2228
|
-
def path_from_id(self) -> str:
|
|
2229
|
-
"""Returns the data path from the ID to this object (string).
|
|
2230
|
-
|
|
2231
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
2232
|
-
to this struct and property (when given).
|
|
2233
|
-
:rtype: str
|
|
2234
|
-
"""
|
|
2235
|
-
...
|
|
2236
|
-
|
|
2237
|
-
def path_resolve(self):
|
|
2238
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
2239
|
-
...
|
|
2240
|
-
|
|
2241
|
-
def poll(self, context):
|
|
2242
|
-
"""
|
|
2243
|
-
|
|
2244
|
-
:param context:
|
|
2245
|
-
"""
|
|
2246
|
-
...
|
|
2247
|
-
|
|
2248
|
-
def pop(self):
|
|
2249
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
2250
|
-
when not found (matches Python's dictionary function of the same name).
|
|
2251
|
-
|
|
2252
|
-
"""
|
|
2253
|
-
...
|
|
2254
|
-
|
|
2255
|
-
def prepend(self, draw_func):
|
|
2256
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
2257
|
-
the menus draw function
|
|
2258
|
-
|
|
2259
|
-
:param draw_func:
|
|
2260
|
-
"""
|
|
2261
|
-
...
|
|
2262
|
-
|
|
2263
|
-
def property_overridable_library_set(self) -> bool:
|
|
2264
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
2265
|
-
|
|
2266
|
-
:return: True when the overridable status of the property was successfully set.
|
|
2267
|
-
:rtype: bool
|
|
2268
|
-
"""
|
|
2269
|
-
...
|
|
2270
|
-
|
|
2271
|
-
def property_unset(self):
|
|
2272
|
-
"""Unset a property, will use default value afterward."""
|
|
2273
|
-
...
|
|
2274
|
-
|
|
2275
|
-
def remove(self, draw_func):
|
|
2276
|
-
"""Remove a draw function that has been added to this menu
|
|
2277
|
-
|
|
2278
|
-
:param draw_func:
|
|
2279
|
-
"""
|
|
2280
|
-
...
|
|
2281
|
-
|
|
2282
|
-
def type_recast(self):
|
|
2283
|
-
"""Return a new instance, this is needed because types
|
|
2284
|
-
such as textures can be changed at runtime.
|
|
2285
|
-
|
|
2286
|
-
:return: a new instance of this object with the type initialized again.
|
|
2287
|
-
"""
|
|
2288
|
-
...
|
|
2289
|
-
|
|
2290
|
-
def values(self):
|
|
2291
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
2292
|
-
dictionary function of the same name).
|
|
2293
|
-
|
|
2294
|
-
:return: custom property values.
|
|
2295
|
-
"""
|
|
2296
|
-
...
|
|
2297
|
-
|
|
2298
|
-
class MATERIAL_MT_context_menu(bpy_types._GenericUI):
|
|
2299
|
-
bl_label: typing.Any
|
|
2300
|
-
bl_rna: typing.Any
|
|
2301
|
-
id_data: typing.Any
|
|
2302
|
-
|
|
2303
|
-
def append(self, draw_func):
|
|
2304
|
-
"""Append a draw function to this menu,
|
|
2305
|
-
takes the same arguments as the menus draw function
|
|
2306
|
-
|
|
2307
|
-
:param draw_func:
|
|
2308
|
-
"""
|
|
2309
|
-
...
|
|
2310
|
-
|
|
2311
|
-
def as_pointer(self) -> int:
|
|
2312
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
2313
|
-
|
|
2314
|
-
:return: int (memory address).
|
|
2315
|
-
:rtype: int
|
|
2316
|
-
"""
|
|
2317
|
-
...
|
|
2318
|
-
|
|
2319
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
2320
|
-
"""
|
|
2321
|
-
|
|
2322
|
-
:return: The RNA type or default when not found.
|
|
2323
|
-
:rtype: bpy.types.Struct
|
|
2324
|
-
"""
|
|
2325
|
-
...
|
|
2326
|
-
|
|
2327
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
2328
|
-
"""
|
|
2329
|
-
|
|
2330
|
-
:return: The class or default when not found.
|
|
2331
|
-
:rtype: typing.Any
|
|
2332
|
-
"""
|
|
2333
|
-
...
|
|
2334
|
-
|
|
2335
|
-
def draw(self, _context):
|
|
2336
|
-
"""
|
|
2337
|
-
|
|
2338
|
-
:param _context:
|
|
2339
|
-
"""
|
|
2340
|
-
...
|
|
2341
|
-
|
|
2342
|
-
def draw_collapsible(self, context, layout):
|
|
2343
|
-
"""
|
|
2344
|
-
|
|
2345
|
-
:param context:
|
|
2346
|
-
:param layout:
|
|
2347
|
-
"""
|
|
2348
|
-
...
|
|
2349
|
-
|
|
2350
|
-
def draw_preset(self, _context):
|
|
2351
|
-
"""Define these on the subclass:
|
|
2352
|
-
- preset_operator (string)
|
|
2353
|
-
- preset_subdir (string)Optionally:
|
|
2354
|
-
- preset_add_operator (string)
|
|
2355
|
-
- preset_extensions (set of strings)
|
|
2356
|
-
- preset_operator_defaults (dict of keyword args)
|
|
2357
|
-
|
|
2358
|
-
:param _context:
|
|
2359
|
-
"""
|
|
2360
|
-
...
|
|
2361
|
-
|
|
2362
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
2363
|
-
"""Adds driver(s) to the given property
|
|
2364
|
-
|
|
2365
|
-
:return: The driver(s) added.
|
|
2366
|
-
:rtype: bpy.types.FCurve
|
|
2367
|
-
"""
|
|
2368
|
-
...
|
|
2369
|
-
|
|
2370
|
-
def driver_remove(self) -> bool:
|
|
2371
|
-
"""Remove driver(s) from the given property
|
|
2372
|
-
|
|
2373
|
-
:return: Success of driver removal.
|
|
2374
|
-
:rtype: bool
|
|
2375
|
-
"""
|
|
2376
|
-
...
|
|
2377
|
-
|
|
2378
|
-
def get(self):
|
|
2379
|
-
"""Returns the value of the custom property assigned to key or default
|
|
2380
|
-
when not found (matches Python's dictionary function of the same name).
|
|
2381
|
-
|
|
2382
|
-
"""
|
|
2383
|
-
...
|
|
2384
|
-
|
|
2385
|
-
def id_properties_clear(self):
|
|
2386
|
-
"""
|
|
2387
|
-
|
|
2388
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
2389
|
-
"""
|
|
2390
|
-
...
|
|
2391
|
-
|
|
2392
|
-
def id_properties_ensure(self):
|
|
2393
|
-
"""
|
|
2394
|
-
|
|
2395
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
2396
|
-
"""
|
|
2397
|
-
...
|
|
2398
|
-
|
|
2399
|
-
def id_properties_ui(self):
|
|
2400
|
-
"""
|
|
2401
|
-
|
|
2402
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
2403
|
-
"""
|
|
2404
|
-
...
|
|
2405
|
-
|
|
2406
|
-
def is_extended(self): ...
|
|
2407
|
-
def is_property_hidden(self) -> bool:
|
|
2408
|
-
"""Check if a property is hidden.
|
|
2409
|
-
|
|
2410
|
-
:return: True when the property is hidden.
|
|
2411
|
-
:rtype: bool
|
|
2412
|
-
"""
|
|
2413
|
-
...
|
|
2414
|
-
|
|
2415
|
-
def is_property_overridable_library(self) -> bool:
|
|
2416
|
-
"""Check if a property is overridable.
|
|
2417
|
-
|
|
2418
|
-
:return: True when the property is overridable.
|
|
2419
|
-
:rtype: bool
|
|
2420
|
-
"""
|
|
2421
|
-
...
|
|
2422
|
-
|
|
2423
|
-
def is_property_readonly(self) -> bool:
|
|
2424
|
-
"""Check if a property is readonly.
|
|
2425
|
-
|
|
2426
|
-
:return: True when the property is readonly (not writable).
|
|
2427
|
-
:rtype: bool
|
|
2428
|
-
"""
|
|
2429
|
-
...
|
|
2430
|
-
|
|
2431
|
-
def is_property_set(self) -> bool:
|
|
2432
|
-
"""Check if a property is set, use for testing operator properties.
|
|
2433
|
-
|
|
2434
|
-
:return: True when the property has been set.
|
|
2435
|
-
:rtype: bool
|
|
2436
|
-
"""
|
|
2437
|
-
...
|
|
2438
|
-
|
|
2439
|
-
def items(self):
|
|
2440
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
2441
|
-
dictionary function of the same name).
|
|
2442
|
-
|
|
2443
|
-
:return: custom property key, value pairs.
|
|
2444
|
-
"""
|
|
2445
|
-
...
|
|
2446
|
-
|
|
2447
|
-
def keyframe_delete(self) -> bool:
|
|
2448
|
-
"""Remove a keyframe from this properties fcurve.
|
|
2449
|
-
|
|
2450
|
-
:return: Success of keyframe deletion.
|
|
2451
|
-
:rtype: bool
|
|
2452
|
-
"""
|
|
2453
|
-
...
|
|
2454
|
-
|
|
2455
|
-
def keyframe_insert(self) -> bool:
|
|
2456
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
2457
|
-
|
|
2458
|
-
:return: Success of keyframe insertion.
|
|
2459
|
-
:rtype: bool
|
|
2460
|
-
"""
|
|
2461
|
-
...
|
|
2462
|
-
|
|
2463
|
-
def keys(self):
|
|
2464
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
2465
|
-
dictionary function of the same name).
|
|
2466
|
-
|
|
2467
|
-
:return: custom property keys.
|
|
2468
|
-
"""
|
|
2469
|
-
...
|
|
2470
|
-
|
|
2471
|
-
def path_from_id(self) -> str:
|
|
2472
|
-
"""Returns the data path from the ID to this object (string).
|
|
2473
|
-
|
|
2474
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
2475
|
-
to this struct and property (when given).
|
|
2476
|
-
:rtype: str
|
|
2477
|
-
"""
|
|
2478
|
-
...
|
|
2479
|
-
|
|
2480
|
-
def path_menu(
|
|
2481
|
-
self,
|
|
2482
|
-
searchpaths: list[str],
|
|
2483
|
-
operator: str,
|
|
2484
|
-
*,
|
|
2485
|
-
props_default: dict = None,
|
|
2486
|
-
prop_filepath: str | None = "filepath",
|
|
2487
|
-
filter_ext: collections.abc.Callable | None = None,
|
|
2488
|
-
filter_path=None,
|
|
2489
|
-
display_name: collections.abc.Callable | None = None,
|
|
2490
|
-
add_operator=None,
|
|
2491
|
-
add_operator_props=None,
|
|
2492
|
-
):
|
|
2493
|
-
"""Populate a menu from a list of paths.
|
|
2494
|
-
|
|
2495
|
-
:param searchpaths: Paths to scan.
|
|
2496
|
-
:type searchpaths: list[str]
|
|
2497
|
-
:param operator: The operator id to use with each file.
|
|
2498
|
-
:type operator: str
|
|
2499
|
-
:param props_default: Properties to assign to each operator.
|
|
2500
|
-
:type props_default: dict
|
|
2501
|
-
:param prop_filepath: Optional operator filepath property (defaults to "filepath").
|
|
2502
|
-
:type prop_filepath: str | None
|
|
2503
|
-
:param filter_ext: Optional callback that takes the file extensions.
|
|
2504
|
-
|
|
2505
|
-
Returning false excludes the file from the list.
|
|
2506
|
-
:type filter_ext: collections.abc.Callable | None
|
|
2507
|
-
:param filter_path:
|
|
2508
|
-
:param display_name: Optional callback that takes the full path, returns the name to display.
|
|
2509
|
-
:type display_name: collections.abc.Callable | None
|
|
2510
|
-
:param add_operator:
|
|
2511
|
-
:param add_operator_props:
|
|
2512
|
-
"""
|
|
2513
|
-
...
|
|
2514
|
-
|
|
2515
|
-
def path_resolve(self):
|
|
2516
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
2517
|
-
...
|
|
2518
|
-
|
|
2519
|
-
def pop(self):
|
|
2520
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
2521
|
-
when not found (matches Python's dictionary function of the same name).
|
|
2522
|
-
|
|
2523
|
-
"""
|
|
2524
|
-
...
|
|
2525
|
-
|
|
2526
|
-
def prepend(self, draw_func):
|
|
2527
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
2528
|
-
the menus draw function
|
|
2529
|
-
|
|
2530
|
-
:param draw_func:
|
|
2531
|
-
"""
|
|
2532
|
-
...
|
|
2533
|
-
|
|
2534
|
-
def property_overridable_library_set(self) -> bool:
|
|
2535
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
2536
|
-
|
|
2537
|
-
:return: True when the overridable status of the property was successfully set.
|
|
2538
|
-
:rtype: bool
|
|
2539
|
-
"""
|
|
2540
|
-
...
|
|
2541
|
-
|
|
2542
|
-
def property_unset(self):
|
|
2543
|
-
"""Unset a property, will use default value afterward."""
|
|
2544
|
-
...
|
|
2545
|
-
|
|
2546
|
-
def remove(self, draw_func):
|
|
2547
|
-
"""Remove a draw function that has been added to this menu
|
|
2548
|
-
|
|
2549
|
-
:param draw_func:
|
|
2550
|
-
"""
|
|
2551
|
-
...
|
|
2552
|
-
|
|
2553
|
-
def type_recast(self):
|
|
2554
|
-
"""Return a new instance, this is needed because types
|
|
2555
|
-
such as textures can be changed at runtime.
|
|
2556
|
-
|
|
2557
|
-
:return: a new instance of this object with the type initialized again.
|
|
2558
|
-
"""
|
|
2559
|
-
...
|
|
2560
|
-
|
|
2561
|
-
def values(self):
|
|
2562
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
2563
|
-
dictionary function of the same name).
|
|
2564
|
-
|
|
2565
|
-
:return: custom property values.
|
|
2566
|
-
"""
|
|
2567
|
-
...
|
|
2568
|
-
|
|
2569
|
-
class MATERIAL_PT_custom_props(
|
|
2570
|
-
MaterialButtonsPanel, rna_prop_ui.PropertyPanel, bpy_types._GenericUI
|
|
2571
|
-
):
|
|
2572
|
-
"""The subclass should have its own poll function
|
|
2573
|
-
and the variable '_context_path' MUST be set.
|
|
2574
|
-
"""
|
|
2575
|
-
|
|
2576
|
-
COMPAT_ENGINES: typing.Any
|
|
2577
|
-
bl_context: typing.Any
|
|
2578
|
-
bl_label: typing.Any
|
|
2579
|
-
bl_options: typing.Any
|
|
2580
|
-
bl_order: typing.Any
|
|
2581
|
-
bl_region_type: typing.Any
|
|
2582
|
-
bl_rna: typing.Any
|
|
2583
|
-
bl_space_type: typing.Any
|
|
2584
|
-
id_data: typing.Any
|
|
2585
|
-
|
|
2586
|
-
def append(self, draw_func):
|
|
2587
|
-
"""Append a draw function to this menu,
|
|
2588
|
-
takes the same arguments as the menus draw function
|
|
2589
|
-
|
|
2590
|
-
:param draw_func:
|
|
2591
|
-
"""
|
|
2592
|
-
...
|
|
2593
|
-
|
|
2594
|
-
def as_pointer(self) -> int:
|
|
2595
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
2596
|
-
|
|
2597
|
-
:return: int (memory address).
|
|
2598
|
-
:rtype: int
|
|
2599
|
-
"""
|
|
2600
|
-
...
|
|
2601
|
-
|
|
2602
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
2603
|
-
"""
|
|
2604
|
-
|
|
2605
|
-
:return: The RNA type or default when not found.
|
|
2606
|
-
:rtype: bpy.types.Struct
|
|
2607
|
-
"""
|
|
2608
|
-
...
|
|
2609
|
-
|
|
2610
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
2611
|
-
"""
|
|
2612
|
-
|
|
2613
|
-
:return: The class or default when not found.
|
|
2614
|
-
:rtype: typing.Any
|
|
2615
|
-
"""
|
|
2616
|
-
...
|
|
2617
|
-
|
|
2618
|
-
def draw(self, context):
|
|
2619
|
-
"""
|
|
2620
|
-
|
|
2621
|
-
:param context:
|
|
2622
|
-
"""
|
|
2623
|
-
...
|
|
2624
|
-
|
|
2625
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
2626
|
-
"""Adds driver(s) to the given property
|
|
2627
|
-
|
|
2628
|
-
:return: The driver(s) added.
|
|
2629
|
-
:rtype: bpy.types.FCurve
|
|
2630
|
-
"""
|
|
2631
|
-
...
|
|
2632
|
-
|
|
2633
|
-
def driver_remove(self) -> bool:
|
|
2634
|
-
"""Remove driver(s) from the given property
|
|
2635
|
-
|
|
2636
|
-
:return: Success of driver removal.
|
|
2637
|
-
:rtype: bool
|
|
2638
|
-
"""
|
|
2639
|
-
...
|
|
2640
|
-
|
|
2641
|
-
def get(self):
|
|
2642
|
-
"""Returns the value of the custom property assigned to key or default
|
|
2643
|
-
when not found (matches Python's dictionary function of the same name).
|
|
2644
|
-
|
|
2645
|
-
"""
|
|
2646
|
-
...
|
|
2647
|
-
|
|
2648
|
-
def id_properties_clear(self):
|
|
2649
|
-
"""
|
|
2650
|
-
|
|
2651
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
2652
|
-
"""
|
|
2653
|
-
...
|
|
2654
|
-
|
|
2655
|
-
def id_properties_ensure(self):
|
|
2656
|
-
"""
|
|
2657
|
-
|
|
2658
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
2659
|
-
"""
|
|
2660
|
-
...
|
|
2661
|
-
|
|
2662
|
-
def id_properties_ui(self):
|
|
2663
|
-
"""
|
|
2664
|
-
|
|
2665
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
2666
|
-
"""
|
|
2667
|
-
...
|
|
2668
|
-
|
|
2669
|
-
def is_extended(self): ...
|
|
2670
|
-
def is_property_hidden(self) -> bool:
|
|
2671
|
-
"""Check if a property is hidden.
|
|
2672
|
-
|
|
2673
|
-
:return: True when the property is hidden.
|
|
2674
|
-
:rtype: bool
|
|
2675
|
-
"""
|
|
2676
|
-
...
|
|
2677
|
-
|
|
2678
|
-
def is_property_overridable_library(self) -> bool:
|
|
2679
|
-
"""Check if a property is overridable.
|
|
2680
|
-
|
|
2681
|
-
:return: True when the property is overridable.
|
|
2682
|
-
:rtype: bool
|
|
2683
|
-
"""
|
|
2684
|
-
...
|
|
2685
|
-
|
|
2686
|
-
def is_property_readonly(self) -> bool:
|
|
2687
|
-
"""Check if a property is readonly.
|
|
2688
|
-
|
|
2689
|
-
:return: True when the property is readonly (not writable).
|
|
2690
|
-
:rtype: bool
|
|
2691
|
-
"""
|
|
2692
|
-
...
|
|
2693
|
-
|
|
2694
|
-
def is_property_set(self) -> bool:
|
|
2695
|
-
"""Check if a property is set, use for testing operator properties.
|
|
2696
|
-
|
|
2697
|
-
:return: True when the property has been set.
|
|
2698
|
-
:rtype: bool
|
|
2699
|
-
"""
|
|
2700
|
-
...
|
|
2701
|
-
|
|
2702
|
-
def items(self):
|
|
2703
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
2704
|
-
dictionary function of the same name).
|
|
2705
|
-
|
|
2706
|
-
:return: custom property key, value pairs.
|
|
2707
|
-
"""
|
|
2708
|
-
...
|
|
2709
|
-
|
|
2710
|
-
def keyframe_delete(self) -> bool:
|
|
2711
|
-
"""Remove a keyframe from this properties fcurve.
|
|
2712
|
-
|
|
2713
|
-
:return: Success of keyframe deletion.
|
|
2714
|
-
:rtype: bool
|
|
2715
|
-
"""
|
|
2716
|
-
...
|
|
2717
|
-
|
|
2718
|
-
def keyframe_insert(self) -> bool:
|
|
2719
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
2720
|
-
|
|
2721
|
-
:return: Success of keyframe insertion.
|
|
2722
|
-
:rtype: bool
|
|
2723
|
-
"""
|
|
2724
|
-
...
|
|
2725
|
-
|
|
2726
|
-
def keys(self):
|
|
2727
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
2728
|
-
dictionary function of the same name).
|
|
2729
|
-
|
|
2730
|
-
:return: custom property keys.
|
|
2731
|
-
"""
|
|
2732
|
-
...
|
|
2733
|
-
|
|
2734
|
-
def path_from_id(self) -> str:
|
|
2735
|
-
"""Returns the data path from the ID to this object (string).
|
|
2736
|
-
|
|
2737
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
2738
|
-
to this struct and property (when given).
|
|
2739
|
-
:rtype: str
|
|
2740
|
-
"""
|
|
2741
|
-
...
|
|
2742
|
-
|
|
2743
|
-
def path_resolve(self):
|
|
2744
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
2745
|
-
...
|
|
2746
|
-
|
|
2747
|
-
def poll(self, context):
|
|
2748
|
-
"""
|
|
2749
|
-
|
|
2750
|
-
:param context:
|
|
2751
|
-
"""
|
|
2752
|
-
...
|
|
2753
|
-
|
|
2754
|
-
def pop(self):
|
|
2755
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
2756
|
-
when not found (matches Python's dictionary function of the same name).
|
|
2757
|
-
|
|
2758
|
-
"""
|
|
2759
|
-
...
|
|
2760
|
-
|
|
2761
|
-
def prepend(self, draw_func):
|
|
2762
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
2763
|
-
the menus draw function
|
|
2764
|
-
|
|
2765
|
-
:param draw_func:
|
|
2766
|
-
"""
|
|
2767
|
-
...
|
|
2768
|
-
|
|
2769
|
-
def property_overridable_library_set(self) -> bool:
|
|
2770
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
2771
|
-
|
|
2772
|
-
:return: True when the overridable status of the property was successfully set.
|
|
2773
|
-
:rtype: bool
|
|
2774
|
-
"""
|
|
2775
|
-
...
|
|
2776
|
-
|
|
2777
|
-
def property_unset(self):
|
|
2778
|
-
"""Unset a property, will use default value afterward."""
|
|
2779
|
-
...
|
|
2780
|
-
|
|
2781
|
-
def remove(self, draw_func):
|
|
2782
|
-
"""Remove a draw function that has been added to this menu
|
|
2783
|
-
|
|
2784
|
-
:param draw_func:
|
|
2785
|
-
"""
|
|
2786
|
-
...
|
|
2787
|
-
|
|
2788
|
-
def type_recast(self):
|
|
2789
|
-
"""Return a new instance, this is needed because types
|
|
2790
|
-
such as textures can be changed at runtime.
|
|
2791
|
-
|
|
2792
|
-
:return: a new instance of this object with the type initialized again.
|
|
2793
|
-
"""
|
|
2794
|
-
...
|
|
2795
|
-
|
|
2796
|
-
def values(self):
|
|
2797
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
2798
|
-
dictionary function of the same name).
|
|
2799
|
-
|
|
2800
|
-
:return: custom property values.
|
|
2801
|
-
"""
|
|
2802
|
-
...
|
|
2803
|
-
|
|
2804
|
-
class MATERIAL_PT_lineart(MaterialButtonsPanel, bpy_types._GenericUI):
|
|
2805
|
-
bl_context: typing.Any
|
|
2806
|
-
bl_label: typing.Any
|
|
2807
|
-
bl_options: typing.Any
|
|
2808
|
-
bl_order: typing.Any
|
|
2809
|
-
bl_region_type: typing.Any
|
|
2810
|
-
bl_rna: typing.Any
|
|
2811
|
-
bl_space_type: typing.Any
|
|
2812
|
-
id_data: typing.Any
|
|
2813
|
-
|
|
2814
|
-
def append(self, draw_func):
|
|
2815
|
-
"""Append a draw function to this menu,
|
|
2816
|
-
takes the same arguments as the menus draw function
|
|
2817
|
-
|
|
2818
|
-
:param draw_func:
|
|
2819
|
-
"""
|
|
2820
|
-
...
|
|
2821
|
-
|
|
2822
|
-
def as_pointer(self) -> int:
|
|
2823
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
2824
|
-
|
|
2825
|
-
:return: int (memory address).
|
|
2826
|
-
:rtype: int
|
|
2827
|
-
"""
|
|
2828
|
-
...
|
|
2829
|
-
|
|
2830
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
2831
|
-
"""
|
|
2832
|
-
|
|
2833
|
-
:return: The RNA type or default when not found.
|
|
2834
|
-
:rtype: bpy.types.Struct
|
|
2835
|
-
"""
|
|
2836
|
-
...
|
|
2837
|
-
|
|
2838
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
2839
|
-
"""
|
|
2840
|
-
|
|
2841
|
-
:return: The class or default when not found.
|
|
2842
|
-
:rtype: typing.Any
|
|
2843
|
-
"""
|
|
2844
|
-
...
|
|
2845
|
-
|
|
2846
|
-
def draw(self, context):
|
|
2847
|
-
"""
|
|
2848
|
-
|
|
2849
|
-
:param context:
|
|
2850
|
-
"""
|
|
2851
|
-
...
|
|
2852
|
-
|
|
2853
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
2854
|
-
"""Adds driver(s) to the given property
|
|
2855
|
-
|
|
2856
|
-
:return: The driver(s) added.
|
|
2857
|
-
:rtype: bpy.types.FCurve
|
|
2858
|
-
"""
|
|
2859
|
-
...
|
|
2860
|
-
|
|
2861
|
-
def driver_remove(self) -> bool:
|
|
2862
|
-
"""Remove driver(s) from the given property
|
|
2863
|
-
|
|
2864
|
-
:return: Success of driver removal.
|
|
2865
|
-
:rtype: bool
|
|
2866
|
-
"""
|
|
2867
|
-
...
|
|
2868
|
-
|
|
2869
|
-
def get(self):
|
|
2870
|
-
"""Returns the value of the custom property assigned to key or default
|
|
2871
|
-
when not found (matches Python's dictionary function of the same name).
|
|
2872
|
-
|
|
2873
|
-
"""
|
|
2874
|
-
...
|
|
2875
|
-
|
|
2876
|
-
def id_properties_clear(self):
|
|
2877
|
-
"""
|
|
2878
|
-
|
|
2879
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
2880
|
-
"""
|
|
2881
|
-
...
|
|
2882
|
-
|
|
2883
|
-
def id_properties_ensure(self):
|
|
2884
|
-
"""
|
|
2885
|
-
|
|
2886
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
2887
|
-
"""
|
|
2888
|
-
...
|
|
2889
|
-
|
|
2890
|
-
def id_properties_ui(self):
|
|
2891
|
-
"""
|
|
2892
|
-
|
|
2893
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
2894
|
-
"""
|
|
2895
|
-
...
|
|
2896
|
-
|
|
2897
|
-
def is_extended(self): ...
|
|
2898
|
-
def is_property_hidden(self) -> bool:
|
|
2899
|
-
"""Check if a property is hidden.
|
|
2900
|
-
|
|
2901
|
-
:return: True when the property is hidden.
|
|
2902
|
-
:rtype: bool
|
|
2903
|
-
"""
|
|
2904
|
-
...
|
|
2905
|
-
|
|
2906
|
-
def is_property_overridable_library(self) -> bool:
|
|
2907
|
-
"""Check if a property is overridable.
|
|
2908
|
-
|
|
2909
|
-
:return: True when the property is overridable.
|
|
2910
|
-
:rtype: bool
|
|
2911
|
-
"""
|
|
2912
|
-
...
|
|
2913
|
-
|
|
2914
|
-
def is_property_readonly(self) -> bool:
|
|
2915
|
-
"""Check if a property is readonly.
|
|
2916
|
-
|
|
2917
|
-
:return: True when the property is readonly (not writable).
|
|
2918
|
-
:rtype: bool
|
|
2919
|
-
"""
|
|
2920
|
-
...
|
|
2921
|
-
|
|
2922
|
-
def is_property_set(self) -> bool:
|
|
2923
|
-
"""Check if a property is set, use for testing operator properties.
|
|
2924
|
-
|
|
2925
|
-
:return: True when the property has been set.
|
|
2926
|
-
:rtype: bool
|
|
2927
|
-
"""
|
|
2928
|
-
...
|
|
2929
|
-
|
|
2930
|
-
def items(self):
|
|
2931
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
2932
|
-
dictionary function of the same name).
|
|
2933
|
-
|
|
2934
|
-
:return: custom property key, value pairs.
|
|
2935
|
-
"""
|
|
2936
|
-
...
|
|
2937
|
-
|
|
2938
|
-
def keyframe_delete(self) -> bool:
|
|
2939
|
-
"""Remove a keyframe from this properties fcurve.
|
|
2940
|
-
|
|
2941
|
-
:return: Success of keyframe deletion.
|
|
2942
|
-
:rtype: bool
|
|
2943
|
-
"""
|
|
2944
|
-
...
|
|
2945
|
-
|
|
2946
|
-
def keyframe_insert(self) -> bool:
|
|
2947
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
2948
|
-
|
|
2949
|
-
:return: Success of keyframe insertion.
|
|
2950
|
-
:rtype: bool
|
|
2951
|
-
"""
|
|
2952
|
-
...
|
|
2953
|
-
|
|
2954
|
-
def keys(self):
|
|
2955
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
2956
|
-
dictionary function of the same name).
|
|
2957
|
-
|
|
2958
|
-
:return: custom property keys.
|
|
2959
|
-
"""
|
|
2960
|
-
...
|
|
2961
|
-
|
|
2962
|
-
def path_from_id(self) -> str:
|
|
2963
|
-
"""Returns the data path from the ID to this object (string).
|
|
2964
|
-
|
|
2965
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
2966
|
-
to this struct and property (when given).
|
|
2967
|
-
:rtype: str
|
|
2968
|
-
"""
|
|
2969
|
-
...
|
|
2970
|
-
|
|
2971
|
-
def path_resolve(self):
|
|
2972
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
2973
|
-
...
|
|
2974
|
-
|
|
2975
|
-
@classmethod
|
|
2976
|
-
def poll(cls, context):
|
|
2977
|
-
"""
|
|
2978
|
-
|
|
2979
|
-
:param context:
|
|
2980
|
-
"""
|
|
2981
|
-
...
|
|
2982
|
-
|
|
2983
|
-
def pop(self):
|
|
2984
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
2985
|
-
when not found (matches Python's dictionary function of the same name).
|
|
2986
|
-
|
|
2987
|
-
"""
|
|
2988
|
-
...
|
|
2989
|
-
|
|
2990
|
-
def prepend(self, draw_func):
|
|
2991
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
2992
|
-
the menus draw function
|
|
2993
|
-
|
|
2994
|
-
:param draw_func:
|
|
2995
|
-
"""
|
|
2996
|
-
...
|
|
2997
|
-
|
|
2998
|
-
def property_overridable_library_set(self) -> bool:
|
|
2999
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
3000
|
-
|
|
3001
|
-
:return: True when the overridable status of the property was successfully set.
|
|
3002
|
-
:rtype: bool
|
|
3003
|
-
"""
|
|
3004
|
-
...
|
|
3005
|
-
|
|
3006
|
-
def property_unset(self):
|
|
3007
|
-
"""Unset a property, will use default value afterward."""
|
|
3008
|
-
...
|
|
3009
|
-
|
|
3010
|
-
def remove(self, draw_func):
|
|
3011
|
-
"""Remove a draw function that has been added to this menu
|
|
3012
|
-
|
|
3013
|
-
:param draw_func:
|
|
3014
|
-
"""
|
|
3015
|
-
...
|
|
3016
|
-
|
|
3017
|
-
def type_recast(self):
|
|
3018
|
-
"""Return a new instance, this is needed because types
|
|
3019
|
-
such as textures can be changed at runtime.
|
|
3020
|
-
|
|
3021
|
-
:return: a new instance of this object with the type initialized again.
|
|
3022
|
-
"""
|
|
3023
|
-
...
|
|
3024
|
-
|
|
3025
|
-
def values(self):
|
|
3026
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
3027
|
-
dictionary function of the same name).
|
|
3028
|
-
|
|
3029
|
-
:return: custom property values.
|
|
3030
|
-
"""
|
|
3031
|
-
...
|
|
3032
|
-
|
|
3033
|
-
class MATERIAL_PT_preview(MaterialButtonsPanel, bpy_types._GenericUI):
|
|
3034
|
-
COMPAT_ENGINES: typing.Any
|
|
3035
|
-
bl_context: typing.Any
|
|
3036
|
-
bl_label: typing.Any
|
|
3037
|
-
bl_options: typing.Any
|
|
3038
|
-
bl_region_type: typing.Any
|
|
3039
|
-
bl_rna: typing.Any
|
|
3040
|
-
bl_space_type: typing.Any
|
|
3041
|
-
id_data: typing.Any
|
|
3042
|
-
|
|
3043
|
-
def append(self, draw_func):
|
|
3044
|
-
"""Append a draw function to this menu,
|
|
3045
|
-
takes the same arguments as the menus draw function
|
|
3046
|
-
|
|
3047
|
-
:param draw_func:
|
|
3048
|
-
"""
|
|
3049
|
-
...
|
|
3050
|
-
|
|
3051
|
-
def as_pointer(self) -> int:
|
|
3052
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
3053
|
-
|
|
3054
|
-
:return: int (memory address).
|
|
3055
|
-
:rtype: int
|
|
3056
|
-
"""
|
|
3057
|
-
...
|
|
3058
|
-
|
|
3059
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
3060
|
-
"""
|
|
3061
|
-
|
|
3062
|
-
:return: The RNA type or default when not found.
|
|
3063
|
-
:rtype: bpy.types.Struct
|
|
3064
|
-
"""
|
|
3065
|
-
...
|
|
3066
|
-
|
|
3067
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
3068
|
-
"""
|
|
3069
|
-
|
|
3070
|
-
:return: The class or default when not found.
|
|
3071
|
-
:rtype: typing.Any
|
|
3072
|
-
"""
|
|
3073
|
-
...
|
|
3074
|
-
|
|
3075
|
-
def draw(self, context):
|
|
3076
|
-
"""
|
|
3077
|
-
|
|
3078
|
-
:param context:
|
|
3079
|
-
"""
|
|
3080
|
-
...
|
|
3081
|
-
|
|
3082
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
3083
|
-
"""Adds driver(s) to the given property
|
|
3084
|
-
|
|
3085
|
-
:return: The driver(s) added.
|
|
3086
|
-
:rtype: bpy.types.FCurve
|
|
3087
|
-
"""
|
|
3088
|
-
...
|
|
3089
|
-
|
|
3090
|
-
def driver_remove(self) -> bool:
|
|
3091
|
-
"""Remove driver(s) from the given property
|
|
3092
|
-
|
|
3093
|
-
:return: Success of driver removal.
|
|
3094
|
-
:rtype: bool
|
|
3095
|
-
"""
|
|
3096
|
-
...
|
|
3097
|
-
|
|
3098
|
-
def get(self):
|
|
3099
|
-
"""Returns the value of the custom property assigned to key or default
|
|
3100
|
-
when not found (matches Python's dictionary function of the same name).
|
|
3101
|
-
|
|
3102
|
-
"""
|
|
3103
|
-
...
|
|
3104
|
-
|
|
3105
|
-
def id_properties_clear(self):
|
|
3106
|
-
"""
|
|
3107
|
-
|
|
3108
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
3109
|
-
"""
|
|
3110
|
-
...
|
|
3111
|
-
|
|
3112
|
-
def id_properties_ensure(self):
|
|
3113
|
-
"""
|
|
3114
|
-
|
|
3115
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
3116
|
-
"""
|
|
3117
|
-
...
|
|
3118
|
-
|
|
3119
|
-
def id_properties_ui(self):
|
|
3120
|
-
"""
|
|
3121
|
-
|
|
3122
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
3123
|
-
"""
|
|
3124
|
-
...
|
|
3125
|
-
|
|
3126
|
-
def is_extended(self): ...
|
|
3127
|
-
def is_property_hidden(self) -> bool:
|
|
3128
|
-
"""Check if a property is hidden.
|
|
3129
|
-
|
|
3130
|
-
:return: True when the property is hidden.
|
|
3131
|
-
:rtype: bool
|
|
3132
|
-
"""
|
|
3133
|
-
...
|
|
3134
|
-
|
|
3135
|
-
def is_property_overridable_library(self) -> bool:
|
|
3136
|
-
"""Check if a property is overridable.
|
|
3137
|
-
|
|
3138
|
-
:return: True when the property is overridable.
|
|
3139
|
-
:rtype: bool
|
|
3140
|
-
"""
|
|
3141
|
-
...
|
|
3142
|
-
|
|
3143
|
-
def is_property_readonly(self) -> bool:
|
|
3144
|
-
"""Check if a property is readonly.
|
|
3145
|
-
|
|
3146
|
-
:return: True when the property is readonly (not writable).
|
|
3147
|
-
:rtype: bool
|
|
3148
|
-
"""
|
|
3149
|
-
...
|
|
3150
|
-
|
|
3151
|
-
def is_property_set(self) -> bool:
|
|
3152
|
-
"""Check if a property is set, use for testing operator properties.
|
|
3153
|
-
|
|
3154
|
-
:return: True when the property has been set.
|
|
3155
|
-
:rtype: bool
|
|
3156
|
-
"""
|
|
3157
|
-
...
|
|
3158
|
-
|
|
3159
|
-
def items(self):
|
|
3160
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
3161
|
-
dictionary function of the same name).
|
|
3162
|
-
|
|
3163
|
-
:return: custom property key, value pairs.
|
|
3164
|
-
"""
|
|
3165
|
-
...
|
|
3166
|
-
|
|
3167
|
-
def keyframe_delete(self) -> bool:
|
|
3168
|
-
"""Remove a keyframe from this properties fcurve.
|
|
3169
|
-
|
|
3170
|
-
:return: Success of keyframe deletion.
|
|
3171
|
-
:rtype: bool
|
|
3172
|
-
"""
|
|
3173
|
-
...
|
|
3174
|
-
|
|
3175
|
-
def keyframe_insert(self) -> bool:
|
|
3176
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
3177
|
-
|
|
3178
|
-
:return: Success of keyframe insertion.
|
|
3179
|
-
:rtype: bool
|
|
3180
|
-
"""
|
|
3181
|
-
...
|
|
3182
|
-
|
|
3183
|
-
def keys(self):
|
|
3184
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
3185
|
-
dictionary function of the same name).
|
|
3186
|
-
|
|
3187
|
-
:return: custom property keys.
|
|
3188
|
-
"""
|
|
3189
|
-
...
|
|
3190
|
-
|
|
3191
|
-
def path_from_id(self) -> str:
|
|
3192
|
-
"""Returns the data path from the ID to this object (string).
|
|
3193
|
-
|
|
3194
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
3195
|
-
to this struct and property (when given).
|
|
3196
|
-
:rtype: str
|
|
3197
|
-
"""
|
|
3198
|
-
...
|
|
3199
|
-
|
|
3200
|
-
def path_resolve(self):
|
|
3201
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
3202
|
-
...
|
|
3203
|
-
|
|
3204
|
-
def poll(self, context):
|
|
3205
|
-
"""
|
|
3206
|
-
|
|
3207
|
-
:param context:
|
|
3208
|
-
"""
|
|
3209
|
-
...
|
|
3210
|
-
|
|
3211
|
-
def pop(self):
|
|
3212
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
3213
|
-
when not found (matches Python's dictionary function of the same name).
|
|
3214
|
-
|
|
3215
|
-
"""
|
|
3216
|
-
...
|
|
3217
|
-
|
|
3218
|
-
def prepend(self, draw_func):
|
|
3219
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
3220
|
-
the menus draw function
|
|
3221
|
-
|
|
3222
|
-
:param draw_func:
|
|
3223
|
-
"""
|
|
3224
|
-
...
|
|
420
|
+
class MATERIAL_PT_custom_props(
|
|
421
|
+
bpy.types.Panel,
|
|
422
|
+
MaterialButtonsPanel,
|
|
423
|
+
rna_prop_ui.PropertyPanel,
|
|
424
|
+
bpy_types._GenericUI,
|
|
425
|
+
):
|
|
426
|
+
"""The subclass should have its own poll function
|
|
427
|
+
and the variable '_context_path' MUST be set.
|
|
428
|
+
"""
|
|
3225
429
|
|
|
3226
|
-
|
|
3227
|
-
|
|
430
|
+
COMPAT_ENGINES: typing.Any
|
|
431
|
+
bl_context: typing.Any
|
|
432
|
+
bl_label: typing.Any
|
|
433
|
+
bl_options: typing.Any
|
|
434
|
+
bl_order: typing.Any
|
|
435
|
+
bl_region_type: typing.Any
|
|
436
|
+
bl_rna: typing.Any
|
|
437
|
+
bl_space_type: typing.Any
|
|
438
|
+
id_data: typing.Any
|
|
3228
439
|
|
|
3229
|
-
|
|
3230
|
-
:rtype: bool
|
|
440
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
3231
441
|
"""
|
|
3232
|
-
...
|
|
3233
|
-
|
|
3234
|
-
def property_unset(self):
|
|
3235
|
-
"""Unset a property, will use default value afterward."""
|
|
3236
|
-
...
|
|
3237
|
-
|
|
3238
|
-
def remove(self, draw_func):
|
|
3239
|
-
"""Remove a draw function that has been added to this menu
|
|
3240
442
|
|
|
3241
|
-
:
|
|
443
|
+
:return: The RNA type or default when not found.
|
|
444
|
+
:rtype: bpy.types.Struct
|
|
3242
445
|
"""
|
|
3243
446
|
...
|
|
3244
447
|
|
|
3245
|
-
def
|
|
3246
|
-
"""Return a new instance, this is needed because types
|
|
3247
|
-
such as textures can be changed at runtime.
|
|
3248
|
-
|
|
3249
|
-
:return: a new instance of this object with the type initialized again.
|
|
448
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
3250
449
|
"""
|
|
3251
|
-
...
|
|
3252
|
-
|
|
3253
|
-
def values(self):
|
|
3254
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
3255
|
-
dictionary function of the same name).
|
|
3256
450
|
|
|
3257
|
-
|
|
451
|
+
:return: The class or default when not found.
|
|
452
|
+
:rtype: typing.Any
|
|
3258
453
|
"""
|
|
3259
454
|
...
|
|
3260
455
|
|
|
3261
|
-
class
|
|
456
|
+
class MATERIAL_PT_lineart(bpy.types.Panel, MaterialButtonsPanel, bpy_types._GenericUI):
|
|
3262
457
|
bl_context: typing.Any
|
|
3263
458
|
bl_label: typing.Any
|
|
3264
459
|
bl_options: typing.Any
|
|
@@ -3268,22 +463,6 @@ class MATERIAL_PT_viewport(MaterialButtonsPanel, bpy_types._GenericUI):
|
|
|
3268
463
|
bl_space_type: typing.Any
|
|
3269
464
|
id_data: typing.Any
|
|
3270
465
|
|
|
3271
|
-
def append(self, draw_func):
|
|
3272
|
-
"""Append a draw function to this menu,
|
|
3273
|
-
takes the same arguments as the menus draw function
|
|
3274
|
-
|
|
3275
|
-
:param draw_func:
|
|
3276
|
-
"""
|
|
3277
|
-
...
|
|
3278
|
-
|
|
3279
|
-
def as_pointer(self) -> int:
|
|
3280
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
3281
|
-
|
|
3282
|
-
:return: int (memory address).
|
|
3283
|
-
:rtype: int
|
|
3284
|
-
"""
|
|
3285
|
-
...
|
|
3286
|
-
|
|
3287
466
|
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
3288
467
|
"""
|
|
3289
468
|
|
|
@@ -3307,128 +486,80 @@ class MATERIAL_PT_viewport(MaterialButtonsPanel, bpy_types._GenericUI):
|
|
|
3307
486
|
"""
|
|
3308
487
|
...
|
|
3309
488
|
|
|
3310
|
-
|
|
3311
|
-
|
|
3312
|
-
|
|
3313
|
-
:return: The driver(s) added.
|
|
3314
|
-
:rtype: bpy.types.FCurve
|
|
3315
|
-
"""
|
|
3316
|
-
...
|
|
3317
|
-
|
|
3318
|
-
def driver_remove(self) -> bool:
|
|
3319
|
-
"""Remove driver(s) from the given property
|
|
3320
|
-
|
|
3321
|
-
:return: Success of driver removal.
|
|
3322
|
-
:rtype: bool
|
|
489
|
+
@classmethod
|
|
490
|
+
def poll(cls, context):
|
|
3323
491
|
"""
|
|
3324
|
-
...
|
|
3325
|
-
|
|
3326
|
-
def get(self):
|
|
3327
|
-
"""Returns the value of the custom property assigned to key or default
|
|
3328
|
-
when not found (matches Python's dictionary function of the same name).
|
|
3329
492
|
|
|
493
|
+
:param context:
|
|
3330
494
|
"""
|
|
3331
495
|
...
|
|
3332
496
|
|
|
3333
|
-
|
|
3334
|
-
|
|
3335
|
-
|
|
3336
|
-
|
|
3337
|
-
|
|
3338
|
-
|
|
497
|
+
class MATERIAL_PT_preview(bpy.types.Panel, MaterialButtonsPanel, bpy_types._GenericUI):
|
|
498
|
+
COMPAT_ENGINES: typing.Any
|
|
499
|
+
bl_context: typing.Any
|
|
500
|
+
bl_label: typing.Any
|
|
501
|
+
bl_options: typing.Any
|
|
502
|
+
bl_region_type: typing.Any
|
|
503
|
+
bl_rna: typing.Any
|
|
504
|
+
bl_space_type: typing.Any
|
|
505
|
+
id_data: typing.Any
|
|
3339
506
|
|
|
3340
|
-
def
|
|
507
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
3341
508
|
"""
|
|
3342
509
|
|
|
3343
|
-
:return:
|
|
510
|
+
:return: The RNA type or default when not found.
|
|
511
|
+
:rtype: bpy.types.Struct
|
|
3344
512
|
"""
|
|
3345
513
|
...
|
|
3346
514
|
|
|
3347
|
-
def
|
|
3348
|
-
"""
|
|
3349
|
-
|
|
3350
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
515
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
3351
516
|
"""
|
|
3352
|
-
...
|
|
3353
|
-
|
|
3354
|
-
def is_extended(self): ...
|
|
3355
|
-
def is_property_hidden(self) -> bool:
|
|
3356
|
-
"""Check if a property is hidden.
|
|
3357
517
|
|
|
3358
|
-
:return:
|
|
3359
|
-
:rtype:
|
|
518
|
+
:return: The class or default when not found.
|
|
519
|
+
:rtype: typing.Any
|
|
3360
520
|
"""
|
|
3361
521
|
...
|
|
3362
522
|
|
|
3363
|
-
def
|
|
3364
|
-
"""Check if a property is overridable.
|
|
3365
|
-
|
|
3366
|
-
:return: True when the property is overridable.
|
|
3367
|
-
:rtype: bool
|
|
523
|
+
def draw(self, context):
|
|
3368
524
|
"""
|
|
3369
|
-
...
|
|
3370
|
-
|
|
3371
|
-
def is_property_readonly(self) -> bool:
|
|
3372
|
-
"""Check if a property is readonly.
|
|
3373
525
|
|
|
3374
|
-
:
|
|
3375
|
-
:rtype: bool
|
|
526
|
+
:param context:
|
|
3376
527
|
"""
|
|
3377
528
|
...
|
|
3378
529
|
|
|
3379
|
-
|
|
3380
|
-
|
|
530
|
+
class MATERIAL_PT_viewport(bpy.types.Panel, MaterialButtonsPanel, bpy_types._GenericUI):
|
|
531
|
+
bl_context: typing.Any
|
|
532
|
+
bl_label: typing.Any
|
|
533
|
+
bl_options: typing.Any
|
|
534
|
+
bl_order: typing.Any
|
|
535
|
+
bl_region_type: typing.Any
|
|
536
|
+
bl_rna: typing.Any
|
|
537
|
+
bl_space_type: typing.Any
|
|
538
|
+
id_data: typing.Any
|
|
3381
539
|
|
|
3382
|
-
|
|
3383
|
-
:rtype: bool
|
|
540
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
3384
541
|
"""
|
|
3385
|
-
...
|
|
3386
|
-
|
|
3387
|
-
def items(self):
|
|
3388
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
3389
|
-
dictionary function of the same name).
|
|
3390
542
|
|
|
3391
|
-
|
|
543
|
+
:return: The RNA type or default when not found.
|
|
544
|
+
:rtype: bpy.types.Struct
|
|
3392
545
|
"""
|
|
3393
546
|
...
|
|
3394
547
|
|
|
3395
|
-
def
|
|
3396
|
-
"""Remove a keyframe from this properties fcurve.
|
|
3397
|
-
|
|
3398
|
-
:return: Success of keyframe deletion.
|
|
3399
|
-
:rtype: bool
|
|
548
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
3400
549
|
"""
|
|
3401
|
-
...
|
|
3402
|
-
|
|
3403
|
-
def keyframe_insert(self) -> bool:
|
|
3404
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
3405
550
|
|
|
3406
|
-
:return:
|
|
3407
|
-
:rtype:
|
|
551
|
+
:return: The class or default when not found.
|
|
552
|
+
:rtype: typing.Any
|
|
3408
553
|
"""
|
|
3409
554
|
...
|
|
3410
555
|
|
|
3411
|
-
def
|
|
3412
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
3413
|
-
dictionary function of the same name).
|
|
3414
|
-
|
|
3415
|
-
:return: custom property keys.
|
|
556
|
+
def draw(self, context):
|
|
3416
557
|
"""
|
|
3417
|
-
...
|
|
3418
|
-
|
|
3419
|
-
def path_from_id(self) -> str:
|
|
3420
|
-
"""Returns the data path from the ID to this object (string).
|
|
3421
558
|
|
|
3422
|
-
|
|
3423
|
-
to this struct and property (when given).
|
|
3424
|
-
:rtype: str
|
|
559
|
+
:param context:
|
|
3425
560
|
"""
|
|
3426
561
|
...
|
|
3427
562
|
|
|
3428
|
-
def path_resolve(self):
|
|
3429
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
3430
|
-
...
|
|
3431
|
-
|
|
3432
563
|
@classmethod
|
|
3433
564
|
def poll(cls, context):
|
|
3434
565
|
"""
|
|
@@ -3437,76 +568,10 @@ class MATERIAL_PT_viewport(MaterialButtonsPanel, bpy_types._GenericUI):
|
|
|
3437
568
|
"""
|
|
3438
569
|
...
|
|
3439
570
|
|
|
3440
|
-
|
|
3441
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
3442
|
-
when not found (matches Python's dictionary function of the same name).
|
|
3443
|
-
|
|
3444
|
-
"""
|
|
3445
|
-
...
|
|
3446
|
-
|
|
3447
|
-
def prepend(self, draw_func):
|
|
3448
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
3449
|
-
the menus draw function
|
|
3450
|
-
|
|
3451
|
-
:param draw_func:
|
|
3452
|
-
"""
|
|
3453
|
-
...
|
|
3454
|
-
|
|
3455
|
-
def property_overridable_library_set(self) -> bool:
|
|
3456
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
3457
|
-
|
|
3458
|
-
:return: True when the overridable status of the property was successfully set.
|
|
3459
|
-
:rtype: bool
|
|
3460
|
-
"""
|
|
3461
|
-
...
|
|
3462
|
-
|
|
3463
|
-
def property_unset(self):
|
|
3464
|
-
"""Unset a property, will use default value afterward."""
|
|
3465
|
-
...
|
|
3466
|
-
|
|
3467
|
-
def remove(self, draw_func):
|
|
3468
|
-
"""Remove a draw function that has been added to this menu
|
|
3469
|
-
|
|
3470
|
-
:param draw_func:
|
|
3471
|
-
"""
|
|
3472
|
-
...
|
|
3473
|
-
|
|
3474
|
-
def type_recast(self):
|
|
3475
|
-
"""Return a new instance, this is needed because types
|
|
3476
|
-
such as textures can be changed at runtime.
|
|
3477
|
-
|
|
3478
|
-
:return: a new instance of this object with the type initialized again.
|
|
3479
|
-
"""
|
|
3480
|
-
...
|
|
3481
|
-
|
|
3482
|
-
def values(self):
|
|
3483
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
3484
|
-
dictionary function of the same name).
|
|
3485
|
-
|
|
3486
|
-
:return: custom property values.
|
|
3487
|
-
"""
|
|
3488
|
-
...
|
|
3489
|
-
|
|
3490
|
-
class MATERIAL_UL_matslots(bpy_types._GenericUI):
|
|
571
|
+
class MATERIAL_UL_matslots(bpy.types.UIList, bpy_types._GenericUI):
|
|
3491
572
|
bl_rna: typing.Any
|
|
3492
573
|
id_data: typing.Any
|
|
3493
574
|
|
|
3494
|
-
def append(self, draw_func):
|
|
3495
|
-
"""Append a draw function to this menu,
|
|
3496
|
-
takes the same arguments as the menus draw function
|
|
3497
|
-
|
|
3498
|
-
:param draw_func:
|
|
3499
|
-
"""
|
|
3500
|
-
...
|
|
3501
|
-
|
|
3502
|
-
def as_pointer(self) -> int:
|
|
3503
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
3504
|
-
|
|
3505
|
-
:return: int (memory address).
|
|
3506
|
-
:rtype: int
|
|
3507
|
-
"""
|
|
3508
|
-
...
|
|
3509
|
-
|
|
3510
575
|
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
3511
576
|
"""
|
|
3512
577
|
|
|
@@ -3547,178 +612,6 @@ class MATERIAL_UL_matslots(bpy_types._GenericUI):
|
|
|
3547
612
|
"""
|
|
3548
613
|
...
|
|
3549
614
|
|
|
3550
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
3551
|
-
"""Adds driver(s) to the given property
|
|
3552
|
-
|
|
3553
|
-
:return: The driver(s) added.
|
|
3554
|
-
:rtype: bpy.types.FCurve
|
|
3555
|
-
"""
|
|
3556
|
-
...
|
|
3557
|
-
|
|
3558
|
-
def driver_remove(self) -> bool:
|
|
3559
|
-
"""Remove driver(s) from the given property
|
|
3560
|
-
|
|
3561
|
-
:return: Success of driver removal.
|
|
3562
|
-
:rtype: bool
|
|
3563
|
-
"""
|
|
3564
|
-
...
|
|
3565
|
-
|
|
3566
|
-
def get(self):
|
|
3567
|
-
"""Returns the value of the custom property assigned to key or default
|
|
3568
|
-
when not found (matches Python's dictionary function of the same name).
|
|
3569
|
-
|
|
3570
|
-
"""
|
|
3571
|
-
...
|
|
3572
|
-
|
|
3573
|
-
def id_properties_clear(self):
|
|
3574
|
-
"""
|
|
3575
|
-
|
|
3576
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
3577
|
-
"""
|
|
3578
|
-
...
|
|
3579
|
-
|
|
3580
|
-
def id_properties_ensure(self):
|
|
3581
|
-
"""
|
|
3582
|
-
|
|
3583
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
3584
|
-
"""
|
|
3585
|
-
...
|
|
3586
|
-
|
|
3587
|
-
def id_properties_ui(self):
|
|
3588
|
-
"""
|
|
3589
|
-
|
|
3590
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
3591
|
-
"""
|
|
3592
|
-
...
|
|
3593
|
-
|
|
3594
|
-
def is_extended(self): ...
|
|
3595
|
-
def is_property_hidden(self) -> bool:
|
|
3596
|
-
"""Check if a property is hidden.
|
|
3597
|
-
|
|
3598
|
-
:return: True when the property is hidden.
|
|
3599
|
-
:rtype: bool
|
|
3600
|
-
"""
|
|
3601
|
-
...
|
|
3602
|
-
|
|
3603
|
-
def is_property_overridable_library(self) -> bool:
|
|
3604
|
-
"""Check if a property is overridable.
|
|
3605
|
-
|
|
3606
|
-
:return: True when the property is overridable.
|
|
3607
|
-
:rtype: bool
|
|
3608
|
-
"""
|
|
3609
|
-
...
|
|
3610
|
-
|
|
3611
|
-
def is_property_readonly(self) -> bool:
|
|
3612
|
-
"""Check if a property is readonly.
|
|
3613
|
-
|
|
3614
|
-
:return: True when the property is readonly (not writable).
|
|
3615
|
-
:rtype: bool
|
|
3616
|
-
"""
|
|
3617
|
-
...
|
|
3618
|
-
|
|
3619
|
-
def is_property_set(self) -> bool:
|
|
3620
|
-
"""Check if a property is set, use for testing operator properties.
|
|
3621
|
-
|
|
3622
|
-
:return: True when the property has been set.
|
|
3623
|
-
:rtype: bool
|
|
3624
|
-
"""
|
|
3625
|
-
...
|
|
3626
|
-
|
|
3627
|
-
def items(self):
|
|
3628
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
3629
|
-
dictionary function of the same name).
|
|
3630
|
-
|
|
3631
|
-
:return: custom property key, value pairs.
|
|
3632
|
-
"""
|
|
3633
|
-
...
|
|
3634
|
-
|
|
3635
|
-
def keyframe_delete(self) -> bool:
|
|
3636
|
-
"""Remove a keyframe from this properties fcurve.
|
|
3637
|
-
|
|
3638
|
-
:return: Success of keyframe deletion.
|
|
3639
|
-
:rtype: bool
|
|
3640
|
-
"""
|
|
3641
|
-
...
|
|
3642
|
-
|
|
3643
|
-
def keyframe_insert(self) -> bool:
|
|
3644
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
3645
|
-
|
|
3646
|
-
:return: Success of keyframe insertion.
|
|
3647
|
-
:rtype: bool
|
|
3648
|
-
"""
|
|
3649
|
-
...
|
|
3650
|
-
|
|
3651
|
-
def keys(self):
|
|
3652
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
3653
|
-
dictionary function of the same name).
|
|
3654
|
-
|
|
3655
|
-
:return: custom property keys.
|
|
3656
|
-
"""
|
|
3657
|
-
...
|
|
3658
|
-
|
|
3659
|
-
def path_from_id(self) -> str:
|
|
3660
|
-
"""Returns the data path from the ID to this object (string).
|
|
3661
|
-
|
|
3662
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
3663
|
-
to this struct and property (when given).
|
|
3664
|
-
:rtype: str
|
|
3665
|
-
"""
|
|
3666
|
-
...
|
|
3667
|
-
|
|
3668
|
-
def path_resolve(self):
|
|
3669
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
3670
|
-
...
|
|
3671
|
-
|
|
3672
|
-
def pop(self):
|
|
3673
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
3674
|
-
when not found (matches Python's dictionary function of the same name).
|
|
3675
|
-
|
|
3676
|
-
"""
|
|
3677
|
-
...
|
|
3678
|
-
|
|
3679
|
-
def prepend(self, draw_func):
|
|
3680
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
3681
|
-
the menus draw function
|
|
3682
|
-
|
|
3683
|
-
:param draw_func:
|
|
3684
|
-
"""
|
|
3685
|
-
...
|
|
3686
|
-
|
|
3687
|
-
def property_overridable_library_set(self) -> bool:
|
|
3688
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
3689
|
-
|
|
3690
|
-
:return: True when the overridable status of the property was successfully set.
|
|
3691
|
-
:rtype: bool
|
|
3692
|
-
"""
|
|
3693
|
-
...
|
|
3694
|
-
|
|
3695
|
-
def property_unset(self):
|
|
3696
|
-
"""Unset a property, will use default value afterward."""
|
|
3697
|
-
...
|
|
3698
|
-
|
|
3699
|
-
def remove(self, draw_func):
|
|
3700
|
-
"""Remove a draw function that has been added to this menu
|
|
3701
|
-
|
|
3702
|
-
:param draw_func:
|
|
3703
|
-
"""
|
|
3704
|
-
...
|
|
3705
|
-
|
|
3706
|
-
def type_recast(self):
|
|
3707
|
-
"""Return a new instance, this is needed because types
|
|
3708
|
-
such as textures can be changed at runtime.
|
|
3709
|
-
|
|
3710
|
-
:return: a new instance of this object with the type initialized again.
|
|
3711
|
-
"""
|
|
3712
|
-
...
|
|
3713
|
-
|
|
3714
|
-
def values(self):
|
|
3715
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
3716
|
-
dictionary function of the same name).
|
|
3717
|
-
|
|
3718
|
-
:return: custom property values.
|
|
3719
|
-
"""
|
|
3720
|
-
...
|
|
3721
|
-
|
|
3722
615
|
class MaterialButtonsPanel:
|
|
3723
616
|
bl_context: typing.Any
|
|
3724
617
|
bl_region_type: typing.Any
|