fake-bpy-module 20240718__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/types/__init__.pyi +65 -1
- bpy_extras/node_shader_utils/__init__.pyi +0 -8
- {fake_bpy_module-20240718.dist-info → fake_bpy_module-20240719.dist-info}/METADATA +1 -1
- {fake_bpy_module-20240718.dist-info → fake_bpy_module-20240719.dist-info}/RECORD +119 -119
- {fake_bpy_module-20240718.dist-info → fake_bpy_module-20240719.dist-info}/WHEEL +1 -1
- freestyle/utils/__init__.pyi +1 -1
- keyingsets_builtins/__init__.pyi +268 -4448
- nodeitems_builtins/__init__.pyi +1 -7
- {fake_bpy_module-20240718.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_WORLD_PT_lightprobe(
|
|
11
|
+
class EEVEE_WORLD_PT_lightprobe(
|
|
12
|
+
bpy.types.Panel, WorldButtonsPanel, 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_WORLD_PT_lightprobe(WorldButtonsPanel, bpy_types._GenericUI):
|
|
|
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,211 +43,134 @@ class EEVEE_WORLD_PT_lightprobe(WorldButtonsPanel, bpy_types._GenericUI):
|
|
|
57
43
|
"""
|
|
58
44
|
...
|
|
59
45
|
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
"""Remove driver(s) from the given property
|
|
70
|
-
|
|
71
|
-
:return: Success of driver removal.
|
|
72
|
-
:rtype: bool
|
|
73
|
-
"""
|
|
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
|
-
|
|
80
|
-
"""
|
|
81
|
-
...
|
|
46
|
+
class EEVEE_WORLD_PT_mist(bpy.types.Panel, WorldButtonsPanel, bpy_types._GenericUI):
|
|
47
|
+
COMPAT_ENGINES: typing.Any
|
|
48
|
+
bl_context: typing.Any
|
|
49
|
+
bl_label: typing.Any
|
|
50
|
+
bl_options: typing.Any
|
|
51
|
+
bl_region_type: typing.Any
|
|
52
|
+
bl_rna: typing.Any
|
|
53
|
+
bl_space_type: typing.Any
|
|
54
|
+
id_data: typing.Any
|
|
82
55
|
|
|
83
|
-
def
|
|
56
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
84
57
|
"""
|
|
85
58
|
|
|
86
|
-
:return:
|
|
59
|
+
:return: The RNA type or default when not found.
|
|
60
|
+
:rtype: bpy.types.Struct
|
|
87
61
|
"""
|
|
88
62
|
...
|
|
89
63
|
|
|
90
|
-
def
|
|
64
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
91
65
|
"""
|
|
92
66
|
|
|
93
|
-
:return:
|
|
67
|
+
:return: The class or default when not found.
|
|
68
|
+
:rtype: typing.Any
|
|
94
69
|
"""
|
|
95
70
|
...
|
|
96
71
|
|
|
97
|
-
def
|
|
98
|
-
"""
|
|
99
|
-
|
|
100
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
72
|
+
def draw(self, context):
|
|
101
73
|
"""
|
|
102
|
-
...
|
|
103
74
|
|
|
104
|
-
|
|
105
|
-
def is_property_hidden(self) -> bool:
|
|
106
|
-
"""Check if a property is hidden.
|
|
107
|
-
|
|
108
|
-
:return: True when the property is hidden.
|
|
109
|
-
:rtype: bool
|
|
75
|
+
:param context:
|
|
110
76
|
"""
|
|
111
77
|
...
|
|
112
78
|
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
:return: True when the property is overridable.
|
|
117
|
-
:rtype: bool
|
|
79
|
+
@classmethod
|
|
80
|
+
def poll(cls, context):
|
|
118
81
|
"""
|
|
119
|
-
...
|
|
120
82
|
|
|
121
|
-
|
|
122
|
-
"""Check if a property is readonly.
|
|
123
|
-
|
|
124
|
-
:return: True when the property is readonly (not writable).
|
|
125
|
-
:rtype: bool
|
|
83
|
+
:param context:
|
|
126
84
|
"""
|
|
127
85
|
...
|
|
128
86
|
|
|
129
|
-
|
|
130
|
-
|
|
87
|
+
class EEVEE_WORLD_PT_settings(bpy.types.Panel, WorldButtonsPanel, bpy_types._GenericUI):
|
|
88
|
+
COMPAT_ENGINES: typing.Any
|
|
89
|
+
bl_context: typing.Any
|
|
90
|
+
bl_label: typing.Any
|
|
91
|
+
bl_options: typing.Any
|
|
92
|
+
bl_region_type: typing.Any
|
|
93
|
+
bl_rna: typing.Any
|
|
94
|
+
bl_space_type: typing.Any
|
|
95
|
+
id_data: typing.Any
|
|
131
96
|
|
|
132
|
-
|
|
133
|
-
:rtype: bool
|
|
97
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
134
98
|
"""
|
|
135
|
-
...
|
|
136
99
|
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
dictionary function of the same name).
|
|
140
|
-
|
|
141
|
-
:return: custom property key, value pairs.
|
|
100
|
+
:return: The RNA type or default when not found.
|
|
101
|
+
:rtype: bpy.types.Struct
|
|
142
102
|
"""
|
|
143
103
|
...
|
|
144
104
|
|
|
145
|
-
def
|
|
146
|
-
"""Remove a keyframe from this properties fcurve.
|
|
147
|
-
|
|
148
|
-
:return: Success of keyframe deletion.
|
|
149
|
-
:rtype: bool
|
|
105
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
150
106
|
"""
|
|
151
|
-
...
|
|
152
107
|
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
:return: Success of keyframe insertion.
|
|
157
|
-
:rtype: bool
|
|
108
|
+
:return: The class or default when not found.
|
|
109
|
+
:rtype: typing.Any
|
|
158
110
|
"""
|
|
159
111
|
...
|
|
160
112
|
|
|
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.
|
|
113
|
+
def draw(self, context):
|
|
166
114
|
"""
|
|
167
|
-
...
|
|
168
115
|
|
|
169
|
-
|
|
170
|
-
"""Returns the data path from the ID to this object (string).
|
|
171
|
-
|
|
172
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
173
|
-
to this struct and property (when given).
|
|
174
|
-
:rtype: str
|
|
116
|
+
:param context:
|
|
175
117
|
"""
|
|
176
118
|
...
|
|
177
119
|
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
...
|
|
181
|
-
|
|
182
|
-
def poll(self, context):
|
|
120
|
+
@classmethod
|
|
121
|
+
def poll(cls, context):
|
|
183
122
|
"""
|
|
184
123
|
|
|
185
124
|
:param context:
|
|
186
125
|
"""
|
|
187
126
|
...
|
|
188
127
|
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
128
|
+
class EEVEE_WORLD_PT_sun(bpy.types.Panel, WorldButtonsPanel, bpy_types._GenericUI):
|
|
129
|
+
COMPAT_ENGINES: typing.Any
|
|
130
|
+
bl_context: typing.Any
|
|
131
|
+
bl_label: typing.Any
|
|
132
|
+
bl_parent_id: typing.Any
|
|
133
|
+
bl_region_type: typing.Any
|
|
134
|
+
bl_rna: typing.Any
|
|
135
|
+
bl_space_type: typing.Any
|
|
136
|
+
id_data: typing.Any
|
|
192
137
|
|
|
138
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
193
139
|
"""
|
|
194
|
-
...
|
|
195
140
|
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
the menus draw function
|
|
199
|
-
|
|
200
|
-
:param draw_func:
|
|
141
|
+
:return: The RNA type or default when not found.
|
|
142
|
+
:rtype: bpy.types.Struct
|
|
201
143
|
"""
|
|
202
144
|
...
|
|
203
145
|
|
|
204
|
-
def
|
|
205
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
206
|
-
|
|
207
|
-
:return: True when the overridable status of the property was successfully set.
|
|
208
|
-
:rtype: bool
|
|
146
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
209
147
|
"""
|
|
210
|
-
...
|
|
211
|
-
|
|
212
|
-
def property_unset(self):
|
|
213
|
-
"""Unset a property, will use default value afterward."""
|
|
214
|
-
...
|
|
215
148
|
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
:param draw_func:
|
|
149
|
+
:return: The class or default when not found.
|
|
150
|
+
:rtype: typing.Any
|
|
220
151
|
"""
|
|
221
152
|
...
|
|
222
153
|
|
|
223
|
-
def
|
|
224
|
-
"""Return a new instance, this is needed because types
|
|
225
|
-
such as textures can be changed at runtime.
|
|
226
|
-
|
|
227
|
-
:return: a new instance of this object with the type initialized again.
|
|
154
|
+
def draw(self, context):
|
|
228
155
|
"""
|
|
229
|
-
...
|
|
230
156
|
|
|
231
|
-
|
|
232
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
233
|
-
dictionary function of the same name).
|
|
234
|
-
|
|
235
|
-
:return: custom property values.
|
|
157
|
+
:param context:
|
|
236
158
|
"""
|
|
237
159
|
...
|
|
238
160
|
|
|
239
|
-
class
|
|
161
|
+
class EEVEE_WORLD_PT_sun_shadow(
|
|
162
|
+
bpy.types.Panel, WorldButtonsPanel, bpy_types._GenericUI
|
|
163
|
+
):
|
|
240
164
|
COMPAT_ENGINES: typing.Any
|
|
241
165
|
bl_context: typing.Any
|
|
242
166
|
bl_label: typing.Any
|
|
243
167
|
bl_options: typing.Any
|
|
168
|
+
bl_parent_id: typing.Any
|
|
244
169
|
bl_region_type: typing.Any
|
|
245
170
|
bl_rna: typing.Any
|
|
246
171
|
bl_space_type: typing.Any
|
|
247
172
|
id_data: typing.Any
|
|
248
173
|
|
|
249
|
-
def append(self, draw_func):
|
|
250
|
-
"""Append a draw function to this menu,
|
|
251
|
-
takes the same arguments as the menus draw function
|
|
252
|
-
|
|
253
|
-
:param draw_func:
|
|
254
|
-
"""
|
|
255
|
-
...
|
|
256
|
-
|
|
257
|
-
def as_pointer(self) -> int:
|
|
258
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
259
|
-
|
|
260
|
-
:return: int (memory address).
|
|
261
|
-
:rtype: int
|
|
262
|
-
"""
|
|
263
|
-
...
|
|
264
|
-
|
|
265
174
|
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
266
175
|
"""
|
|
267
176
|
|
|
@@ -285,128 +194,87 @@ class EEVEE_WORLD_PT_mist(WorldButtonsPanel, bpy_types._GenericUI):
|
|
|
285
194
|
"""
|
|
286
195
|
...
|
|
287
196
|
|
|
288
|
-
def
|
|
289
|
-
"""Adds driver(s) to the given property
|
|
290
|
-
|
|
291
|
-
:return: The driver(s) added.
|
|
292
|
-
:rtype: bpy.types.FCurve
|
|
197
|
+
def draw_header(self, context):
|
|
293
198
|
"""
|
|
294
|
-
...
|
|
295
|
-
|
|
296
|
-
def driver_remove(self) -> bool:
|
|
297
|
-
"""Remove driver(s) from the given property
|
|
298
199
|
|
|
299
|
-
:
|
|
300
|
-
:rtype: bool
|
|
200
|
+
:param context:
|
|
301
201
|
"""
|
|
302
202
|
...
|
|
303
203
|
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
204
|
+
class EEVEE_WORLD_PT_surface(bpy.types.Panel, WorldButtonsPanel, bpy_types._GenericUI):
|
|
205
|
+
COMPAT_ENGINES: typing.Any
|
|
206
|
+
bl_context: typing.Any
|
|
207
|
+
bl_label: typing.Any
|
|
208
|
+
bl_region_type: typing.Any
|
|
209
|
+
bl_rna: typing.Any
|
|
210
|
+
bl_space_type: typing.Any
|
|
211
|
+
id_data: typing.Any
|
|
310
212
|
|
|
311
|
-
def
|
|
213
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
312
214
|
"""
|
|
313
215
|
|
|
314
|
-
:return:
|
|
216
|
+
:return: The RNA type or default when not found.
|
|
217
|
+
:rtype: bpy.types.Struct
|
|
315
218
|
"""
|
|
316
219
|
...
|
|
317
220
|
|
|
318
|
-
def
|
|
221
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
319
222
|
"""
|
|
320
223
|
|
|
321
|
-
:return:
|
|
224
|
+
:return: The class or default when not found.
|
|
225
|
+
:rtype: typing.Any
|
|
322
226
|
"""
|
|
323
227
|
...
|
|
324
228
|
|
|
325
|
-
def
|
|
326
|
-
"""
|
|
327
|
-
|
|
328
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
229
|
+
def draw(self, context):
|
|
329
230
|
"""
|
|
330
|
-
...
|
|
331
|
-
|
|
332
|
-
def is_extended(self): ...
|
|
333
|
-
def is_property_hidden(self) -> bool:
|
|
334
|
-
"""Check if a property is hidden.
|
|
335
231
|
|
|
336
|
-
:
|
|
337
|
-
:rtype: bool
|
|
232
|
+
:param context:
|
|
338
233
|
"""
|
|
339
234
|
...
|
|
340
235
|
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
:return: True when the property is overridable.
|
|
345
|
-
:rtype: bool
|
|
236
|
+
@classmethod
|
|
237
|
+
def poll(cls, context):
|
|
346
238
|
"""
|
|
347
|
-
...
|
|
348
|
-
|
|
349
|
-
def is_property_readonly(self) -> bool:
|
|
350
|
-
"""Check if a property is readonly.
|
|
351
239
|
|
|
352
|
-
:
|
|
353
|
-
:rtype: bool
|
|
240
|
+
:param context:
|
|
354
241
|
"""
|
|
355
242
|
...
|
|
356
243
|
|
|
357
|
-
|
|
358
|
-
|
|
244
|
+
class EEVEE_WORLD_PT_volume(bpy.types.Panel, WorldButtonsPanel, bpy_types._GenericUI):
|
|
245
|
+
COMPAT_ENGINES: typing.Any
|
|
246
|
+
bl_context: typing.Any
|
|
247
|
+
bl_label: typing.Any
|
|
248
|
+
bl_options: typing.Any
|
|
249
|
+
bl_region_type: typing.Any
|
|
250
|
+
bl_rna: typing.Any
|
|
251
|
+
bl_space_type: typing.Any
|
|
252
|
+
bl_translation_context: typing.Any
|
|
253
|
+
id_data: typing.Any
|
|
359
254
|
|
|
360
|
-
|
|
361
|
-
:rtype: bool
|
|
255
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
362
256
|
"""
|
|
363
|
-
...
|
|
364
257
|
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
dictionary function of the same name).
|
|
368
|
-
|
|
369
|
-
:return: custom property key, value pairs.
|
|
258
|
+
:return: The RNA type or default when not found.
|
|
259
|
+
:rtype: bpy.types.Struct
|
|
370
260
|
"""
|
|
371
261
|
...
|
|
372
262
|
|
|
373
|
-
def
|
|
374
|
-
"""Remove a keyframe from this properties fcurve.
|
|
375
|
-
|
|
376
|
-
:return: Success of keyframe deletion.
|
|
377
|
-
:rtype: bool
|
|
263
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
378
264
|
"""
|
|
379
|
-
...
|
|
380
265
|
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
:return: Success of keyframe insertion.
|
|
385
|
-
:rtype: bool
|
|
266
|
+
:return: The class or default when not found.
|
|
267
|
+
:rtype: typing.Any
|
|
386
268
|
"""
|
|
387
269
|
...
|
|
388
270
|
|
|
389
|
-
def
|
|
390
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
391
|
-
dictionary function of the same name).
|
|
392
|
-
|
|
393
|
-
:return: custom property keys.
|
|
271
|
+
def draw(self, context):
|
|
394
272
|
"""
|
|
395
|
-
...
|
|
396
273
|
|
|
397
|
-
|
|
398
|
-
"""Returns the data path from the ID to this object (string).
|
|
399
|
-
|
|
400
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
401
|
-
to this struct and property (when given).
|
|
402
|
-
:rtype: str
|
|
274
|
+
:param context:
|
|
403
275
|
"""
|
|
404
276
|
...
|
|
405
277
|
|
|
406
|
-
def path_resolve(self):
|
|
407
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
408
|
-
...
|
|
409
|
-
|
|
410
278
|
@classmethod
|
|
411
279
|
def poll(cls, context):
|
|
412
280
|
"""
|
|
@@ -415,57 +283,7 @@ class EEVEE_WORLD_PT_mist(WorldButtonsPanel, bpy_types._GenericUI):
|
|
|
415
283
|
"""
|
|
416
284
|
...
|
|
417
285
|
|
|
418
|
-
|
|
419
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
420
|
-
when not found (matches Python's dictionary function of the same name).
|
|
421
|
-
|
|
422
|
-
"""
|
|
423
|
-
...
|
|
424
|
-
|
|
425
|
-
def prepend(self, draw_func):
|
|
426
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
427
|
-
the menus draw function
|
|
428
|
-
|
|
429
|
-
:param draw_func:
|
|
430
|
-
"""
|
|
431
|
-
...
|
|
432
|
-
|
|
433
|
-
def property_overridable_library_set(self) -> bool:
|
|
434
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
435
|
-
|
|
436
|
-
:return: True when the overridable status of the property was successfully set.
|
|
437
|
-
:rtype: bool
|
|
438
|
-
"""
|
|
439
|
-
...
|
|
440
|
-
|
|
441
|
-
def property_unset(self):
|
|
442
|
-
"""Unset a property, will use default value afterward."""
|
|
443
|
-
...
|
|
444
|
-
|
|
445
|
-
def remove(self, draw_func):
|
|
446
|
-
"""Remove a draw function that has been added to this menu
|
|
447
|
-
|
|
448
|
-
:param draw_func:
|
|
449
|
-
"""
|
|
450
|
-
...
|
|
451
|
-
|
|
452
|
-
def type_recast(self):
|
|
453
|
-
"""Return a new instance, this is needed because types
|
|
454
|
-
such as textures can be changed at runtime.
|
|
455
|
-
|
|
456
|
-
:return: a new instance of this object with the type initialized again.
|
|
457
|
-
"""
|
|
458
|
-
...
|
|
459
|
-
|
|
460
|
-
def values(self):
|
|
461
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
462
|
-
dictionary function of the same name).
|
|
463
|
-
|
|
464
|
-
:return: custom property values.
|
|
465
|
-
"""
|
|
466
|
-
...
|
|
467
|
-
|
|
468
|
-
class EEVEE_WORLD_PT_settings(WorldButtonsPanel, bpy_types._GenericUI):
|
|
286
|
+
class WORLD_PT_context_world(bpy.types.Panel, WorldButtonsPanel, bpy_types._GenericUI):
|
|
469
287
|
COMPAT_ENGINES: typing.Any
|
|
470
288
|
bl_context: typing.Any
|
|
471
289
|
bl_label: typing.Any
|
|
@@ -475,22 +293,6 @@ class EEVEE_WORLD_PT_settings(WorldButtonsPanel, bpy_types._GenericUI):
|
|
|
475
293
|
bl_space_type: typing.Any
|
|
476
294
|
id_data: typing.Any
|
|
477
295
|
|
|
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
296
|
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
495
297
|
"""
|
|
496
298
|
|
|
@@ -514,1743 +316,82 @@ class EEVEE_WORLD_PT_settings(WorldButtonsPanel, bpy_types._GenericUI):
|
|
|
514
316
|
"""
|
|
515
317
|
...
|
|
516
318
|
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
:return: The driver(s) added.
|
|
521
|
-
:rtype: bpy.types.FCurve
|
|
319
|
+
@classmethod
|
|
320
|
+
def poll(cls, context):
|
|
522
321
|
"""
|
|
523
|
-
...
|
|
524
322
|
|
|
525
|
-
|
|
526
|
-
"""Remove driver(s) from the given property
|
|
527
|
-
|
|
528
|
-
:return: Success of driver removal.
|
|
529
|
-
:rtype: bool
|
|
323
|
+
:param context:
|
|
530
324
|
"""
|
|
531
325
|
...
|
|
532
326
|
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
327
|
+
class WORLD_PT_custom_props(
|
|
328
|
+
bpy.types.Panel, WorldButtonsPanel, rna_prop_ui.PropertyPanel, bpy_types._GenericUI
|
|
329
|
+
):
|
|
330
|
+
"""The subclass should have its own poll function
|
|
331
|
+
and the variable '_context_path' MUST be set.
|
|
332
|
+
"""
|
|
536
333
|
|
|
537
|
-
|
|
538
|
-
|
|
334
|
+
COMPAT_ENGINES: typing.Any
|
|
335
|
+
bl_context: typing.Any
|
|
336
|
+
bl_label: typing.Any
|
|
337
|
+
bl_options: typing.Any
|
|
338
|
+
bl_order: typing.Any
|
|
339
|
+
bl_region_type: typing.Any
|
|
340
|
+
bl_rna: typing.Any
|
|
341
|
+
bl_space_type: typing.Any
|
|
342
|
+
id_data: typing.Any
|
|
539
343
|
|
|
540
|
-
def
|
|
344
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
541
345
|
"""
|
|
542
346
|
|
|
543
|
-
:return:
|
|
347
|
+
:return: The RNA type or default when not found.
|
|
348
|
+
:rtype: bpy.types.Struct
|
|
544
349
|
"""
|
|
545
350
|
...
|
|
546
351
|
|
|
547
|
-
def
|
|
352
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
548
353
|
"""
|
|
549
354
|
|
|
550
|
-
:return:
|
|
355
|
+
:return: The class or default when not found.
|
|
356
|
+
:rtype: typing.Any
|
|
551
357
|
"""
|
|
552
358
|
...
|
|
553
359
|
|
|
554
|
-
|
|
555
|
-
|
|
360
|
+
class WORLD_PT_viewport_display(
|
|
361
|
+
bpy.types.Panel, WorldButtonsPanel, bpy_types._GenericUI
|
|
362
|
+
):
|
|
363
|
+
bl_context: typing.Any
|
|
364
|
+
bl_label: typing.Any
|
|
365
|
+
bl_options: typing.Any
|
|
366
|
+
bl_order: typing.Any
|
|
367
|
+
bl_region_type: typing.Any
|
|
368
|
+
bl_rna: typing.Any
|
|
369
|
+
bl_space_type: typing.Any
|
|
370
|
+
id_data: typing.Any
|
|
556
371
|
|
|
557
|
-
|
|
372
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
558
373
|
"""
|
|
559
|
-
...
|
|
560
374
|
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
"""Check if a property is hidden.
|
|
564
|
-
|
|
565
|
-
:return: True when the property is hidden.
|
|
566
|
-
:rtype: bool
|
|
375
|
+
:return: The RNA type or default when not found.
|
|
376
|
+
:rtype: bpy.types.Struct
|
|
567
377
|
"""
|
|
568
378
|
...
|
|
569
379
|
|
|
570
|
-
def
|
|
571
|
-
"""Check if a property is overridable.
|
|
572
|
-
|
|
573
|
-
:return: True when the property is overridable.
|
|
574
|
-
:rtype: bool
|
|
380
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
575
381
|
"""
|
|
576
|
-
...
|
|
577
382
|
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
:return: True when the property is readonly (not writable).
|
|
582
|
-
:rtype: bool
|
|
383
|
+
:return: The class or default when not found.
|
|
384
|
+
:rtype: typing.Any
|
|
583
385
|
"""
|
|
584
386
|
...
|
|
585
387
|
|
|
586
|
-
def
|
|
587
|
-
"""
|
|
388
|
+
def draw(self, context):
|
|
389
|
+
"""
|
|
588
390
|
|
|
589
|
-
:
|
|
590
|
-
:rtype: bool
|
|
391
|
+
:param context:
|
|
591
392
|
"""
|
|
592
393
|
...
|
|
593
394
|
|
|
594
|
-
def items(self):
|
|
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
|
-
@classmethod
|
|
640
|
-
def poll(cls, context):
|
|
641
|
-
"""
|
|
642
|
-
|
|
643
|
-
:param context:
|
|
644
|
-
"""
|
|
645
|
-
...
|
|
646
|
-
|
|
647
|
-
def pop(self):
|
|
648
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
649
|
-
when not found (matches Python's dictionary function of the same name).
|
|
650
|
-
|
|
651
|
-
"""
|
|
652
|
-
...
|
|
653
|
-
|
|
654
|
-
def prepend(self, draw_func):
|
|
655
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
656
|
-
the menus draw function
|
|
657
|
-
|
|
658
|
-
:param draw_func:
|
|
659
|
-
"""
|
|
660
|
-
...
|
|
661
|
-
|
|
662
|
-
def property_overridable_library_set(self) -> bool:
|
|
663
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
664
|
-
|
|
665
|
-
:return: True when the overridable status of the property was successfully set.
|
|
666
|
-
:rtype: bool
|
|
667
|
-
"""
|
|
668
|
-
...
|
|
669
|
-
|
|
670
|
-
def property_unset(self):
|
|
671
|
-
"""Unset a property, will use default value afterward."""
|
|
672
|
-
...
|
|
673
|
-
|
|
674
|
-
def remove(self, draw_func):
|
|
675
|
-
"""Remove a draw function that has been added to this menu
|
|
676
|
-
|
|
677
|
-
:param draw_func:
|
|
678
|
-
"""
|
|
679
|
-
...
|
|
680
|
-
|
|
681
|
-
def type_recast(self):
|
|
682
|
-
"""Return a new instance, this is needed because types
|
|
683
|
-
such as textures can be changed at runtime.
|
|
684
|
-
|
|
685
|
-
:return: a new instance of this object with the type initialized again.
|
|
686
|
-
"""
|
|
687
|
-
...
|
|
688
|
-
|
|
689
|
-
def values(self):
|
|
690
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
691
|
-
dictionary function of the same name).
|
|
692
|
-
|
|
693
|
-
:return: custom property values.
|
|
694
|
-
"""
|
|
695
|
-
...
|
|
696
|
-
|
|
697
|
-
class EEVEE_WORLD_PT_sun(WorldButtonsPanel, bpy_types._GenericUI):
|
|
698
|
-
COMPAT_ENGINES: typing.Any
|
|
699
|
-
bl_context: typing.Any
|
|
700
|
-
bl_label: typing.Any
|
|
701
|
-
bl_parent_id: typing.Any
|
|
702
|
-
bl_region_type: typing.Any
|
|
703
|
-
bl_rna: typing.Any
|
|
704
|
-
bl_space_type: typing.Any
|
|
705
|
-
id_data: typing.Any
|
|
706
|
-
|
|
707
|
-
def append(self, draw_func):
|
|
708
|
-
"""Append a draw function to this menu,
|
|
709
|
-
takes the same arguments as the menus draw function
|
|
710
|
-
|
|
711
|
-
:param draw_func:
|
|
712
|
-
"""
|
|
713
|
-
...
|
|
714
|
-
|
|
715
|
-
def as_pointer(self) -> int:
|
|
716
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
717
|
-
|
|
718
|
-
:return: int (memory address).
|
|
719
|
-
:rtype: int
|
|
720
|
-
"""
|
|
721
|
-
...
|
|
722
|
-
|
|
723
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
724
|
-
"""
|
|
725
|
-
|
|
726
|
-
:return: The RNA type or default when not found.
|
|
727
|
-
:rtype: bpy.types.Struct
|
|
728
|
-
"""
|
|
729
|
-
...
|
|
730
|
-
|
|
731
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
732
|
-
"""
|
|
733
|
-
|
|
734
|
-
:return: The class or default when not found.
|
|
735
|
-
:rtype: typing.Any
|
|
736
|
-
"""
|
|
737
|
-
...
|
|
738
|
-
|
|
739
|
-
def draw(self, context):
|
|
740
|
-
"""
|
|
741
|
-
|
|
742
|
-
:param context:
|
|
743
|
-
"""
|
|
744
|
-
...
|
|
745
|
-
|
|
746
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
747
|
-
"""Adds driver(s) to the given property
|
|
748
|
-
|
|
749
|
-
:return: The driver(s) added.
|
|
750
|
-
:rtype: bpy.types.FCurve
|
|
751
|
-
"""
|
|
752
|
-
...
|
|
753
|
-
|
|
754
|
-
def driver_remove(self) -> bool:
|
|
755
|
-
"""Remove driver(s) from the given property
|
|
756
|
-
|
|
757
|
-
:return: Success of driver removal.
|
|
758
|
-
:rtype: bool
|
|
759
|
-
"""
|
|
760
|
-
...
|
|
761
|
-
|
|
762
|
-
def get(self):
|
|
763
|
-
"""Returns the value of the custom property assigned to key or default
|
|
764
|
-
when not found (matches Python's dictionary function of the same name).
|
|
765
|
-
|
|
766
|
-
"""
|
|
767
|
-
...
|
|
768
|
-
|
|
769
|
-
def id_properties_clear(self):
|
|
770
|
-
"""
|
|
771
|
-
|
|
772
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
773
|
-
"""
|
|
774
|
-
...
|
|
775
|
-
|
|
776
|
-
def id_properties_ensure(self):
|
|
777
|
-
"""
|
|
778
|
-
|
|
779
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
780
|
-
"""
|
|
781
|
-
...
|
|
782
|
-
|
|
783
|
-
def id_properties_ui(self):
|
|
784
|
-
"""
|
|
785
|
-
|
|
786
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
787
|
-
"""
|
|
788
|
-
...
|
|
789
|
-
|
|
790
|
-
def is_extended(self): ...
|
|
791
|
-
def is_property_hidden(self) -> bool:
|
|
792
|
-
"""Check if a property is hidden.
|
|
793
|
-
|
|
794
|
-
:return: True when the property is hidden.
|
|
795
|
-
:rtype: bool
|
|
796
|
-
"""
|
|
797
|
-
...
|
|
798
|
-
|
|
799
|
-
def is_property_overridable_library(self) -> bool:
|
|
800
|
-
"""Check if a property is overridable.
|
|
801
|
-
|
|
802
|
-
:return: True when the property is overridable.
|
|
803
|
-
:rtype: bool
|
|
804
|
-
"""
|
|
805
|
-
...
|
|
806
|
-
|
|
807
|
-
def is_property_readonly(self) -> bool:
|
|
808
|
-
"""Check if a property is readonly.
|
|
809
|
-
|
|
810
|
-
:return: True when the property is readonly (not writable).
|
|
811
|
-
:rtype: bool
|
|
812
|
-
"""
|
|
813
|
-
...
|
|
814
|
-
|
|
815
|
-
def is_property_set(self) -> bool:
|
|
816
|
-
"""Check if a property is set, use for testing operator properties.
|
|
817
|
-
|
|
818
|
-
:return: True when the property has been set.
|
|
819
|
-
:rtype: bool
|
|
820
|
-
"""
|
|
821
|
-
...
|
|
822
|
-
|
|
823
|
-
def items(self):
|
|
824
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
825
|
-
dictionary function of the same name).
|
|
826
|
-
|
|
827
|
-
:return: custom property key, value pairs.
|
|
828
|
-
"""
|
|
829
|
-
...
|
|
830
|
-
|
|
831
|
-
def keyframe_delete(self) -> bool:
|
|
832
|
-
"""Remove a keyframe from this properties fcurve.
|
|
833
|
-
|
|
834
|
-
:return: Success of keyframe deletion.
|
|
835
|
-
:rtype: bool
|
|
836
|
-
"""
|
|
837
|
-
...
|
|
838
|
-
|
|
839
|
-
def keyframe_insert(self) -> bool:
|
|
840
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
841
|
-
|
|
842
|
-
:return: Success of keyframe insertion.
|
|
843
|
-
:rtype: bool
|
|
844
|
-
"""
|
|
845
|
-
...
|
|
846
|
-
|
|
847
|
-
def keys(self):
|
|
848
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
849
|
-
dictionary function of the same name).
|
|
850
|
-
|
|
851
|
-
:return: custom property keys.
|
|
852
|
-
"""
|
|
853
|
-
...
|
|
854
|
-
|
|
855
|
-
def path_from_id(self) -> str:
|
|
856
|
-
"""Returns the data path from the ID to this object (string).
|
|
857
|
-
|
|
858
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
859
|
-
to this struct and property (when given).
|
|
860
|
-
:rtype: str
|
|
861
|
-
"""
|
|
862
|
-
...
|
|
863
|
-
|
|
864
|
-
def path_resolve(self):
|
|
865
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
866
|
-
...
|
|
867
|
-
|
|
868
|
-
def poll(self, context):
|
|
869
|
-
"""
|
|
870
|
-
|
|
871
|
-
:param context:
|
|
872
|
-
"""
|
|
873
|
-
...
|
|
874
|
-
|
|
875
|
-
def pop(self):
|
|
876
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
877
|
-
when not found (matches Python's dictionary function of the same name).
|
|
878
|
-
|
|
879
|
-
"""
|
|
880
|
-
...
|
|
881
|
-
|
|
882
|
-
def prepend(self, draw_func):
|
|
883
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
884
|
-
the menus draw function
|
|
885
|
-
|
|
886
|
-
:param draw_func:
|
|
887
|
-
"""
|
|
888
|
-
...
|
|
889
|
-
|
|
890
|
-
def property_overridable_library_set(self) -> bool:
|
|
891
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
892
|
-
|
|
893
|
-
:return: True when the overridable status of the property was successfully set.
|
|
894
|
-
:rtype: bool
|
|
895
|
-
"""
|
|
896
|
-
...
|
|
897
|
-
|
|
898
|
-
def property_unset(self):
|
|
899
|
-
"""Unset a property, will use default value afterward."""
|
|
900
|
-
...
|
|
901
|
-
|
|
902
|
-
def remove(self, draw_func):
|
|
903
|
-
"""Remove a draw function that has been added to this menu
|
|
904
|
-
|
|
905
|
-
:param draw_func:
|
|
906
|
-
"""
|
|
907
|
-
...
|
|
908
|
-
|
|
909
|
-
def type_recast(self):
|
|
910
|
-
"""Return a new instance, this is needed because types
|
|
911
|
-
such as textures can be changed at runtime.
|
|
912
|
-
|
|
913
|
-
:return: a new instance of this object with the type initialized again.
|
|
914
|
-
"""
|
|
915
|
-
...
|
|
916
|
-
|
|
917
|
-
def values(self):
|
|
918
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
919
|
-
dictionary function of the same name).
|
|
920
|
-
|
|
921
|
-
:return: custom property values.
|
|
922
|
-
"""
|
|
923
|
-
...
|
|
924
|
-
|
|
925
|
-
class EEVEE_WORLD_PT_sun_shadow(WorldButtonsPanel, bpy_types._GenericUI):
|
|
926
|
-
COMPAT_ENGINES: typing.Any
|
|
927
|
-
bl_context: typing.Any
|
|
928
|
-
bl_label: typing.Any
|
|
929
|
-
bl_options: typing.Any
|
|
930
|
-
bl_parent_id: typing.Any
|
|
931
|
-
bl_region_type: typing.Any
|
|
932
|
-
bl_rna: typing.Any
|
|
933
|
-
bl_space_type: typing.Any
|
|
934
|
-
id_data: typing.Any
|
|
935
|
-
|
|
936
|
-
def append(self, draw_func):
|
|
937
|
-
"""Append a draw function to this menu,
|
|
938
|
-
takes the same arguments as the menus draw function
|
|
939
|
-
|
|
940
|
-
:param draw_func:
|
|
941
|
-
"""
|
|
942
|
-
...
|
|
943
|
-
|
|
944
|
-
def as_pointer(self) -> int:
|
|
945
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
946
|
-
|
|
947
|
-
:return: int (memory address).
|
|
948
|
-
:rtype: int
|
|
949
|
-
"""
|
|
950
|
-
...
|
|
951
|
-
|
|
952
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
953
|
-
"""
|
|
954
|
-
|
|
955
|
-
:return: The RNA type or default when not found.
|
|
956
|
-
:rtype: bpy.types.Struct
|
|
957
|
-
"""
|
|
958
|
-
...
|
|
959
|
-
|
|
960
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
961
|
-
"""
|
|
962
|
-
|
|
963
|
-
:return: The class or default when not found.
|
|
964
|
-
:rtype: typing.Any
|
|
965
|
-
"""
|
|
966
|
-
...
|
|
967
|
-
|
|
968
|
-
def draw(self, context):
|
|
969
|
-
"""
|
|
970
|
-
|
|
971
|
-
:param context:
|
|
972
|
-
"""
|
|
973
|
-
...
|
|
974
|
-
|
|
975
|
-
def draw_header(self, context):
|
|
976
|
-
"""
|
|
977
|
-
|
|
978
|
-
:param context:
|
|
979
|
-
"""
|
|
980
|
-
...
|
|
981
|
-
|
|
982
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
983
|
-
"""Adds driver(s) to the given property
|
|
984
|
-
|
|
985
|
-
:return: The driver(s) added.
|
|
986
|
-
:rtype: bpy.types.FCurve
|
|
987
|
-
"""
|
|
988
|
-
...
|
|
989
|
-
|
|
990
|
-
def driver_remove(self) -> bool:
|
|
991
|
-
"""Remove driver(s) from the given property
|
|
992
|
-
|
|
993
|
-
:return: Success of driver removal.
|
|
994
|
-
:rtype: bool
|
|
995
|
-
"""
|
|
996
|
-
...
|
|
997
|
-
|
|
998
|
-
def get(self):
|
|
999
|
-
"""Returns the value of the custom property assigned to key or default
|
|
1000
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1001
|
-
|
|
1002
|
-
"""
|
|
1003
|
-
...
|
|
1004
|
-
|
|
1005
|
-
def id_properties_clear(self):
|
|
1006
|
-
"""
|
|
1007
|
-
|
|
1008
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
1009
|
-
"""
|
|
1010
|
-
...
|
|
1011
|
-
|
|
1012
|
-
def id_properties_ensure(self):
|
|
1013
|
-
"""
|
|
1014
|
-
|
|
1015
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
1016
|
-
"""
|
|
1017
|
-
...
|
|
1018
|
-
|
|
1019
|
-
def id_properties_ui(self):
|
|
1020
|
-
"""
|
|
1021
|
-
|
|
1022
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
1023
|
-
"""
|
|
1024
|
-
...
|
|
1025
|
-
|
|
1026
|
-
def is_extended(self): ...
|
|
1027
|
-
def is_property_hidden(self) -> bool:
|
|
1028
|
-
"""Check if a property is hidden.
|
|
1029
|
-
|
|
1030
|
-
:return: True when the property is hidden.
|
|
1031
|
-
:rtype: bool
|
|
1032
|
-
"""
|
|
1033
|
-
...
|
|
1034
|
-
|
|
1035
|
-
def is_property_overridable_library(self) -> bool:
|
|
1036
|
-
"""Check if a property is overridable.
|
|
1037
|
-
|
|
1038
|
-
:return: True when the property is overridable.
|
|
1039
|
-
:rtype: bool
|
|
1040
|
-
"""
|
|
1041
|
-
...
|
|
1042
|
-
|
|
1043
|
-
def is_property_readonly(self) -> bool:
|
|
1044
|
-
"""Check if a property is readonly.
|
|
1045
|
-
|
|
1046
|
-
:return: True when the property is readonly (not writable).
|
|
1047
|
-
:rtype: bool
|
|
1048
|
-
"""
|
|
1049
|
-
...
|
|
1050
|
-
|
|
1051
|
-
def is_property_set(self) -> bool:
|
|
1052
|
-
"""Check if a property is set, use for testing operator properties.
|
|
1053
|
-
|
|
1054
|
-
:return: True when the property has been set.
|
|
1055
|
-
:rtype: bool
|
|
1056
|
-
"""
|
|
1057
|
-
...
|
|
1058
|
-
|
|
1059
|
-
def items(self):
|
|
1060
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
1061
|
-
dictionary function of the same name).
|
|
1062
|
-
|
|
1063
|
-
:return: custom property key, value pairs.
|
|
1064
|
-
"""
|
|
1065
|
-
...
|
|
1066
|
-
|
|
1067
|
-
def keyframe_delete(self) -> bool:
|
|
1068
|
-
"""Remove a keyframe from this properties fcurve.
|
|
1069
|
-
|
|
1070
|
-
:return: Success of keyframe deletion.
|
|
1071
|
-
:rtype: bool
|
|
1072
|
-
"""
|
|
1073
|
-
...
|
|
1074
|
-
|
|
1075
|
-
def keyframe_insert(self) -> bool:
|
|
1076
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
1077
|
-
|
|
1078
|
-
:return: Success of keyframe insertion.
|
|
1079
|
-
:rtype: bool
|
|
1080
|
-
"""
|
|
1081
|
-
...
|
|
1082
|
-
|
|
1083
|
-
def keys(self):
|
|
1084
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
1085
|
-
dictionary function of the same name).
|
|
1086
|
-
|
|
1087
|
-
:return: custom property keys.
|
|
1088
|
-
"""
|
|
1089
|
-
...
|
|
1090
|
-
|
|
1091
|
-
def path_from_id(self) -> str:
|
|
1092
|
-
"""Returns the data path from the ID to this object (string).
|
|
1093
|
-
|
|
1094
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
1095
|
-
to this struct and property (when given).
|
|
1096
|
-
:rtype: str
|
|
1097
|
-
"""
|
|
1098
|
-
...
|
|
1099
|
-
|
|
1100
|
-
def path_resolve(self):
|
|
1101
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
1102
|
-
...
|
|
1103
|
-
|
|
1104
|
-
def poll(self, context):
|
|
1105
|
-
"""
|
|
1106
|
-
|
|
1107
|
-
:param context:
|
|
1108
|
-
"""
|
|
1109
|
-
...
|
|
1110
|
-
|
|
1111
|
-
def pop(self):
|
|
1112
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
1113
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1114
|
-
|
|
1115
|
-
"""
|
|
1116
|
-
...
|
|
1117
|
-
|
|
1118
|
-
def prepend(self, draw_func):
|
|
1119
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
1120
|
-
the menus draw function
|
|
1121
|
-
|
|
1122
|
-
:param draw_func:
|
|
1123
|
-
"""
|
|
1124
|
-
...
|
|
1125
|
-
|
|
1126
|
-
def property_overridable_library_set(self) -> bool:
|
|
1127
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
1128
|
-
|
|
1129
|
-
:return: True when the overridable status of the property was successfully set.
|
|
1130
|
-
:rtype: bool
|
|
1131
|
-
"""
|
|
1132
|
-
...
|
|
1133
|
-
|
|
1134
|
-
def property_unset(self):
|
|
1135
|
-
"""Unset a property, will use default value afterward."""
|
|
1136
|
-
...
|
|
1137
|
-
|
|
1138
|
-
def remove(self, draw_func):
|
|
1139
|
-
"""Remove a draw function that has been added to this menu
|
|
1140
|
-
|
|
1141
|
-
:param draw_func:
|
|
1142
|
-
"""
|
|
1143
|
-
...
|
|
1144
|
-
|
|
1145
|
-
def type_recast(self):
|
|
1146
|
-
"""Return a new instance, this is needed because types
|
|
1147
|
-
such as textures can be changed at runtime.
|
|
1148
|
-
|
|
1149
|
-
:return: a new instance of this object with the type initialized again.
|
|
1150
|
-
"""
|
|
1151
|
-
...
|
|
1152
|
-
|
|
1153
|
-
def values(self):
|
|
1154
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
1155
|
-
dictionary function of the same name).
|
|
1156
|
-
|
|
1157
|
-
:return: custom property values.
|
|
1158
|
-
"""
|
|
1159
|
-
...
|
|
1160
|
-
|
|
1161
|
-
class EEVEE_WORLD_PT_surface(WorldButtonsPanel, bpy_types._GenericUI):
|
|
1162
|
-
COMPAT_ENGINES: typing.Any
|
|
1163
|
-
bl_context: typing.Any
|
|
1164
|
-
bl_label: typing.Any
|
|
1165
|
-
bl_region_type: typing.Any
|
|
1166
|
-
bl_rna: typing.Any
|
|
1167
|
-
bl_space_type: typing.Any
|
|
1168
|
-
id_data: typing.Any
|
|
1169
|
-
|
|
1170
|
-
def append(self, draw_func):
|
|
1171
|
-
"""Append a draw function to this menu,
|
|
1172
|
-
takes the same arguments as the menus draw function
|
|
1173
|
-
|
|
1174
|
-
:param draw_func:
|
|
1175
|
-
"""
|
|
1176
|
-
...
|
|
1177
|
-
|
|
1178
|
-
def as_pointer(self) -> int:
|
|
1179
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
1180
|
-
|
|
1181
|
-
:return: int (memory address).
|
|
1182
|
-
:rtype: int
|
|
1183
|
-
"""
|
|
1184
|
-
...
|
|
1185
|
-
|
|
1186
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
1187
|
-
"""
|
|
1188
|
-
|
|
1189
|
-
:return: The RNA type or default when not found.
|
|
1190
|
-
:rtype: bpy.types.Struct
|
|
1191
|
-
"""
|
|
1192
|
-
...
|
|
1193
|
-
|
|
1194
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
1195
|
-
"""
|
|
1196
|
-
|
|
1197
|
-
:return: The class or default when not found.
|
|
1198
|
-
:rtype: typing.Any
|
|
1199
|
-
"""
|
|
1200
|
-
...
|
|
1201
|
-
|
|
1202
|
-
def draw(self, context):
|
|
1203
|
-
"""
|
|
1204
|
-
|
|
1205
|
-
:param context:
|
|
1206
|
-
"""
|
|
1207
|
-
...
|
|
1208
|
-
|
|
1209
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
1210
|
-
"""Adds driver(s) to the given property
|
|
1211
|
-
|
|
1212
|
-
:return: The driver(s) added.
|
|
1213
|
-
:rtype: bpy.types.FCurve
|
|
1214
|
-
"""
|
|
1215
|
-
...
|
|
1216
|
-
|
|
1217
|
-
def driver_remove(self) -> bool:
|
|
1218
|
-
"""Remove driver(s) from the given property
|
|
1219
|
-
|
|
1220
|
-
:return: Success of driver removal.
|
|
1221
|
-
:rtype: bool
|
|
1222
|
-
"""
|
|
1223
|
-
...
|
|
1224
|
-
|
|
1225
|
-
def get(self):
|
|
1226
|
-
"""Returns the value of the custom property assigned to key or default
|
|
1227
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1228
|
-
|
|
1229
|
-
"""
|
|
1230
|
-
...
|
|
1231
|
-
|
|
1232
|
-
def id_properties_clear(self):
|
|
1233
|
-
"""
|
|
1234
|
-
|
|
1235
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
1236
|
-
"""
|
|
1237
|
-
...
|
|
1238
|
-
|
|
1239
|
-
def id_properties_ensure(self):
|
|
1240
|
-
"""
|
|
1241
|
-
|
|
1242
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
1243
|
-
"""
|
|
1244
|
-
...
|
|
1245
|
-
|
|
1246
|
-
def id_properties_ui(self):
|
|
1247
|
-
"""
|
|
1248
|
-
|
|
1249
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
1250
|
-
"""
|
|
1251
|
-
...
|
|
1252
|
-
|
|
1253
|
-
def is_extended(self): ...
|
|
1254
|
-
def is_property_hidden(self) -> bool:
|
|
1255
|
-
"""Check if a property is hidden.
|
|
1256
|
-
|
|
1257
|
-
:return: True when the property is hidden.
|
|
1258
|
-
:rtype: bool
|
|
1259
|
-
"""
|
|
1260
|
-
...
|
|
1261
|
-
|
|
1262
|
-
def is_property_overridable_library(self) -> bool:
|
|
1263
|
-
"""Check if a property is overridable.
|
|
1264
|
-
|
|
1265
|
-
:return: True when the property is overridable.
|
|
1266
|
-
:rtype: bool
|
|
1267
|
-
"""
|
|
1268
|
-
...
|
|
1269
|
-
|
|
1270
|
-
def is_property_readonly(self) -> bool:
|
|
1271
|
-
"""Check if a property is readonly.
|
|
1272
|
-
|
|
1273
|
-
:return: True when the property is readonly (not writable).
|
|
1274
|
-
:rtype: bool
|
|
1275
|
-
"""
|
|
1276
|
-
...
|
|
1277
|
-
|
|
1278
|
-
def is_property_set(self) -> bool:
|
|
1279
|
-
"""Check if a property is set, use for testing operator properties.
|
|
1280
|
-
|
|
1281
|
-
:return: True when the property has been set.
|
|
1282
|
-
:rtype: bool
|
|
1283
|
-
"""
|
|
1284
|
-
...
|
|
1285
|
-
|
|
1286
|
-
def items(self):
|
|
1287
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
1288
|
-
dictionary function of the same name).
|
|
1289
|
-
|
|
1290
|
-
:return: custom property key, value pairs.
|
|
1291
|
-
"""
|
|
1292
|
-
...
|
|
1293
|
-
|
|
1294
|
-
def keyframe_delete(self) -> bool:
|
|
1295
|
-
"""Remove a keyframe from this properties fcurve.
|
|
1296
|
-
|
|
1297
|
-
:return: Success of keyframe deletion.
|
|
1298
|
-
:rtype: bool
|
|
1299
|
-
"""
|
|
1300
|
-
...
|
|
1301
|
-
|
|
1302
|
-
def keyframe_insert(self) -> bool:
|
|
1303
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
1304
|
-
|
|
1305
|
-
:return: Success of keyframe insertion.
|
|
1306
|
-
:rtype: bool
|
|
1307
|
-
"""
|
|
1308
|
-
...
|
|
1309
|
-
|
|
1310
|
-
def keys(self):
|
|
1311
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
1312
|
-
dictionary function of the same name).
|
|
1313
|
-
|
|
1314
|
-
:return: custom property keys.
|
|
1315
|
-
"""
|
|
1316
|
-
...
|
|
1317
|
-
|
|
1318
|
-
def path_from_id(self) -> str:
|
|
1319
|
-
"""Returns the data path from the ID to this object (string).
|
|
1320
|
-
|
|
1321
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
1322
|
-
to this struct and property (when given).
|
|
1323
|
-
:rtype: str
|
|
1324
|
-
"""
|
|
1325
|
-
...
|
|
1326
|
-
|
|
1327
|
-
def path_resolve(self):
|
|
1328
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
1329
|
-
...
|
|
1330
|
-
|
|
1331
|
-
@classmethod
|
|
1332
|
-
def poll(cls, context):
|
|
1333
|
-
"""
|
|
1334
|
-
|
|
1335
|
-
:param context:
|
|
1336
|
-
"""
|
|
1337
|
-
...
|
|
1338
|
-
|
|
1339
|
-
def pop(self):
|
|
1340
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
1341
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1342
|
-
|
|
1343
|
-
"""
|
|
1344
|
-
...
|
|
1345
|
-
|
|
1346
|
-
def prepend(self, draw_func):
|
|
1347
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
1348
|
-
the menus draw function
|
|
1349
|
-
|
|
1350
|
-
:param draw_func:
|
|
1351
|
-
"""
|
|
1352
|
-
...
|
|
1353
|
-
|
|
1354
|
-
def property_overridable_library_set(self) -> bool:
|
|
1355
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
1356
|
-
|
|
1357
|
-
:return: True when the overridable status of the property was successfully set.
|
|
1358
|
-
:rtype: bool
|
|
1359
|
-
"""
|
|
1360
|
-
...
|
|
1361
|
-
|
|
1362
|
-
def property_unset(self):
|
|
1363
|
-
"""Unset a property, will use default value afterward."""
|
|
1364
|
-
...
|
|
1365
|
-
|
|
1366
|
-
def remove(self, draw_func):
|
|
1367
|
-
"""Remove a draw function that has been added to this menu
|
|
1368
|
-
|
|
1369
|
-
:param draw_func:
|
|
1370
|
-
"""
|
|
1371
|
-
...
|
|
1372
|
-
|
|
1373
|
-
def type_recast(self):
|
|
1374
|
-
"""Return a new instance, this is needed because types
|
|
1375
|
-
such as textures can be changed at runtime.
|
|
1376
|
-
|
|
1377
|
-
:return: a new instance of this object with the type initialized again.
|
|
1378
|
-
"""
|
|
1379
|
-
...
|
|
1380
|
-
|
|
1381
|
-
def values(self):
|
|
1382
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
1383
|
-
dictionary function of the same name).
|
|
1384
|
-
|
|
1385
|
-
:return: custom property values.
|
|
1386
|
-
"""
|
|
1387
|
-
...
|
|
1388
|
-
|
|
1389
|
-
class EEVEE_WORLD_PT_volume(WorldButtonsPanel, bpy_types._GenericUI):
|
|
1390
|
-
COMPAT_ENGINES: typing.Any
|
|
1391
|
-
bl_context: typing.Any
|
|
1392
|
-
bl_label: typing.Any
|
|
1393
|
-
bl_options: typing.Any
|
|
1394
|
-
bl_region_type: typing.Any
|
|
1395
|
-
bl_rna: typing.Any
|
|
1396
|
-
bl_space_type: typing.Any
|
|
1397
|
-
bl_translation_context: typing.Any
|
|
1398
|
-
id_data: typing.Any
|
|
1399
|
-
|
|
1400
|
-
def append(self, draw_func):
|
|
1401
|
-
"""Append a draw function to this menu,
|
|
1402
|
-
takes the same arguments as the menus draw function
|
|
1403
|
-
|
|
1404
|
-
:param draw_func:
|
|
1405
|
-
"""
|
|
1406
|
-
...
|
|
1407
|
-
|
|
1408
|
-
def as_pointer(self) -> int:
|
|
1409
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
1410
|
-
|
|
1411
|
-
:return: int (memory address).
|
|
1412
|
-
:rtype: int
|
|
1413
|
-
"""
|
|
1414
|
-
...
|
|
1415
|
-
|
|
1416
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
1417
|
-
"""
|
|
1418
|
-
|
|
1419
|
-
:return: The RNA type or default when not found.
|
|
1420
|
-
:rtype: bpy.types.Struct
|
|
1421
|
-
"""
|
|
1422
|
-
...
|
|
1423
|
-
|
|
1424
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
1425
|
-
"""
|
|
1426
|
-
|
|
1427
|
-
:return: The class or default when not found.
|
|
1428
|
-
:rtype: typing.Any
|
|
1429
|
-
"""
|
|
1430
|
-
...
|
|
1431
|
-
|
|
1432
|
-
def draw(self, context):
|
|
1433
|
-
"""
|
|
1434
|
-
|
|
1435
|
-
:param context:
|
|
1436
|
-
"""
|
|
1437
|
-
...
|
|
1438
|
-
|
|
1439
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
1440
|
-
"""Adds driver(s) to the given property
|
|
1441
|
-
|
|
1442
|
-
:return: The driver(s) added.
|
|
1443
|
-
:rtype: bpy.types.FCurve
|
|
1444
|
-
"""
|
|
1445
|
-
...
|
|
1446
|
-
|
|
1447
|
-
def driver_remove(self) -> bool:
|
|
1448
|
-
"""Remove driver(s) from the given property
|
|
1449
|
-
|
|
1450
|
-
:return: Success of driver removal.
|
|
1451
|
-
:rtype: bool
|
|
1452
|
-
"""
|
|
1453
|
-
...
|
|
1454
|
-
|
|
1455
|
-
def get(self):
|
|
1456
|
-
"""Returns the value of the custom property assigned to key or default
|
|
1457
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1458
|
-
|
|
1459
|
-
"""
|
|
1460
|
-
...
|
|
1461
|
-
|
|
1462
|
-
def id_properties_clear(self):
|
|
1463
|
-
"""
|
|
1464
|
-
|
|
1465
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
1466
|
-
"""
|
|
1467
|
-
...
|
|
1468
|
-
|
|
1469
|
-
def id_properties_ensure(self):
|
|
1470
|
-
"""
|
|
1471
|
-
|
|
1472
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
1473
|
-
"""
|
|
1474
|
-
...
|
|
1475
|
-
|
|
1476
|
-
def id_properties_ui(self):
|
|
1477
|
-
"""
|
|
1478
|
-
|
|
1479
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
1480
|
-
"""
|
|
1481
|
-
...
|
|
1482
|
-
|
|
1483
|
-
def is_extended(self): ...
|
|
1484
|
-
def is_property_hidden(self) -> bool:
|
|
1485
|
-
"""Check if a property is hidden.
|
|
1486
|
-
|
|
1487
|
-
:return: True when the property is hidden.
|
|
1488
|
-
:rtype: bool
|
|
1489
|
-
"""
|
|
1490
|
-
...
|
|
1491
|
-
|
|
1492
|
-
def is_property_overridable_library(self) -> bool:
|
|
1493
|
-
"""Check if a property is overridable.
|
|
1494
|
-
|
|
1495
|
-
:return: True when the property is overridable.
|
|
1496
|
-
:rtype: bool
|
|
1497
|
-
"""
|
|
1498
|
-
...
|
|
1499
|
-
|
|
1500
|
-
def is_property_readonly(self) -> bool:
|
|
1501
|
-
"""Check if a property is readonly.
|
|
1502
|
-
|
|
1503
|
-
:return: True when the property is readonly (not writable).
|
|
1504
|
-
:rtype: bool
|
|
1505
|
-
"""
|
|
1506
|
-
...
|
|
1507
|
-
|
|
1508
|
-
def is_property_set(self) -> bool:
|
|
1509
|
-
"""Check if a property is set, use for testing operator properties.
|
|
1510
|
-
|
|
1511
|
-
:return: True when the property has been set.
|
|
1512
|
-
:rtype: bool
|
|
1513
|
-
"""
|
|
1514
|
-
...
|
|
1515
|
-
|
|
1516
|
-
def items(self):
|
|
1517
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
1518
|
-
dictionary function of the same name).
|
|
1519
|
-
|
|
1520
|
-
:return: custom property key, value pairs.
|
|
1521
|
-
"""
|
|
1522
|
-
...
|
|
1523
|
-
|
|
1524
|
-
def keyframe_delete(self) -> bool:
|
|
1525
|
-
"""Remove a keyframe from this properties fcurve.
|
|
1526
|
-
|
|
1527
|
-
:return: Success of keyframe deletion.
|
|
1528
|
-
:rtype: bool
|
|
1529
|
-
"""
|
|
1530
|
-
...
|
|
1531
|
-
|
|
1532
|
-
def keyframe_insert(self) -> bool:
|
|
1533
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
1534
|
-
|
|
1535
|
-
:return: Success of keyframe insertion.
|
|
1536
|
-
:rtype: bool
|
|
1537
|
-
"""
|
|
1538
|
-
...
|
|
1539
|
-
|
|
1540
|
-
def keys(self):
|
|
1541
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
1542
|
-
dictionary function of the same name).
|
|
1543
|
-
|
|
1544
|
-
:return: custom property keys.
|
|
1545
|
-
"""
|
|
1546
|
-
...
|
|
1547
|
-
|
|
1548
|
-
def path_from_id(self) -> str:
|
|
1549
|
-
"""Returns the data path from the ID to this object (string).
|
|
1550
|
-
|
|
1551
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
1552
|
-
to this struct and property (when given).
|
|
1553
|
-
:rtype: str
|
|
1554
|
-
"""
|
|
1555
|
-
...
|
|
1556
|
-
|
|
1557
|
-
def path_resolve(self):
|
|
1558
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
1559
|
-
...
|
|
1560
|
-
|
|
1561
|
-
@classmethod
|
|
1562
|
-
def poll(cls, context):
|
|
1563
|
-
"""
|
|
1564
|
-
|
|
1565
|
-
:param context:
|
|
1566
|
-
"""
|
|
1567
|
-
...
|
|
1568
|
-
|
|
1569
|
-
def pop(self):
|
|
1570
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
1571
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1572
|
-
|
|
1573
|
-
"""
|
|
1574
|
-
...
|
|
1575
|
-
|
|
1576
|
-
def prepend(self, draw_func):
|
|
1577
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
1578
|
-
the menus draw function
|
|
1579
|
-
|
|
1580
|
-
:param draw_func:
|
|
1581
|
-
"""
|
|
1582
|
-
...
|
|
1583
|
-
|
|
1584
|
-
def property_overridable_library_set(self) -> bool:
|
|
1585
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
1586
|
-
|
|
1587
|
-
:return: True when the overridable status of the property was successfully set.
|
|
1588
|
-
:rtype: bool
|
|
1589
|
-
"""
|
|
1590
|
-
...
|
|
1591
|
-
|
|
1592
|
-
def property_unset(self):
|
|
1593
|
-
"""Unset a property, will use default value afterward."""
|
|
1594
|
-
...
|
|
1595
|
-
|
|
1596
|
-
def remove(self, draw_func):
|
|
1597
|
-
"""Remove a draw function that has been added to this menu
|
|
1598
|
-
|
|
1599
|
-
:param draw_func:
|
|
1600
|
-
"""
|
|
1601
|
-
...
|
|
1602
|
-
|
|
1603
|
-
def type_recast(self):
|
|
1604
|
-
"""Return a new instance, this is needed because types
|
|
1605
|
-
such as textures can be changed at runtime.
|
|
1606
|
-
|
|
1607
|
-
:return: a new instance of this object with the type initialized again.
|
|
1608
|
-
"""
|
|
1609
|
-
...
|
|
1610
|
-
|
|
1611
|
-
def values(self):
|
|
1612
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
1613
|
-
dictionary function of the same name).
|
|
1614
|
-
|
|
1615
|
-
:return: custom property values.
|
|
1616
|
-
"""
|
|
1617
|
-
...
|
|
1618
|
-
|
|
1619
|
-
class WORLD_PT_context_world(WorldButtonsPanel, bpy_types._GenericUI):
|
|
1620
|
-
COMPAT_ENGINES: typing.Any
|
|
1621
|
-
bl_context: typing.Any
|
|
1622
|
-
bl_label: typing.Any
|
|
1623
|
-
bl_options: typing.Any
|
|
1624
|
-
bl_region_type: typing.Any
|
|
1625
|
-
bl_rna: typing.Any
|
|
1626
|
-
bl_space_type: typing.Any
|
|
1627
|
-
id_data: typing.Any
|
|
1628
|
-
|
|
1629
|
-
def append(self, draw_func):
|
|
1630
|
-
"""Append a draw function to this menu,
|
|
1631
|
-
takes the same arguments as the menus draw function
|
|
1632
|
-
|
|
1633
|
-
:param draw_func:
|
|
1634
|
-
"""
|
|
1635
|
-
...
|
|
1636
|
-
|
|
1637
|
-
def as_pointer(self) -> int:
|
|
1638
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
1639
|
-
|
|
1640
|
-
:return: int (memory address).
|
|
1641
|
-
:rtype: int
|
|
1642
|
-
"""
|
|
1643
|
-
...
|
|
1644
|
-
|
|
1645
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
1646
|
-
"""
|
|
1647
|
-
|
|
1648
|
-
:return: The RNA type or default when not found.
|
|
1649
|
-
:rtype: bpy.types.Struct
|
|
1650
|
-
"""
|
|
1651
|
-
...
|
|
1652
|
-
|
|
1653
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
1654
|
-
"""
|
|
1655
|
-
|
|
1656
|
-
:return: The class or default when not found.
|
|
1657
|
-
:rtype: typing.Any
|
|
1658
|
-
"""
|
|
1659
|
-
...
|
|
1660
|
-
|
|
1661
|
-
def draw(self, context):
|
|
1662
|
-
"""
|
|
1663
|
-
|
|
1664
|
-
:param context:
|
|
1665
|
-
"""
|
|
1666
|
-
...
|
|
1667
|
-
|
|
1668
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
1669
|
-
"""Adds driver(s) to the given property
|
|
1670
|
-
|
|
1671
|
-
:return: The driver(s) added.
|
|
1672
|
-
:rtype: bpy.types.FCurve
|
|
1673
|
-
"""
|
|
1674
|
-
...
|
|
1675
|
-
|
|
1676
|
-
def driver_remove(self) -> bool:
|
|
1677
|
-
"""Remove driver(s) from the given property
|
|
1678
|
-
|
|
1679
|
-
:return: Success of driver removal.
|
|
1680
|
-
:rtype: bool
|
|
1681
|
-
"""
|
|
1682
|
-
...
|
|
1683
|
-
|
|
1684
|
-
def get(self):
|
|
1685
|
-
"""Returns the value of the custom property assigned to key or default
|
|
1686
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1687
|
-
|
|
1688
|
-
"""
|
|
1689
|
-
...
|
|
1690
|
-
|
|
1691
|
-
def id_properties_clear(self):
|
|
1692
|
-
"""
|
|
1693
|
-
|
|
1694
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
1695
|
-
"""
|
|
1696
|
-
...
|
|
1697
|
-
|
|
1698
|
-
def id_properties_ensure(self):
|
|
1699
|
-
"""
|
|
1700
|
-
|
|
1701
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
1702
|
-
"""
|
|
1703
|
-
...
|
|
1704
|
-
|
|
1705
|
-
def id_properties_ui(self):
|
|
1706
|
-
"""
|
|
1707
|
-
|
|
1708
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
1709
|
-
"""
|
|
1710
|
-
...
|
|
1711
|
-
|
|
1712
|
-
def is_extended(self): ...
|
|
1713
|
-
def is_property_hidden(self) -> bool:
|
|
1714
|
-
"""Check if a property is hidden.
|
|
1715
|
-
|
|
1716
|
-
:return: True when the property is hidden.
|
|
1717
|
-
:rtype: bool
|
|
1718
|
-
"""
|
|
1719
|
-
...
|
|
1720
|
-
|
|
1721
|
-
def is_property_overridable_library(self) -> bool:
|
|
1722
|
-
"""Check if a property is overridable.
|
|
1723
|
-
|
|
1724
|
-
:return: True when the property is overridable.
|
|
1725
|
-
:rtype: bool
|
|
1726
|
-
"""
|
|
1727
|
-
...
|
|
1728
|
-
|
|
1729
|
-
def is_property_readonly(self) -> bool:
|
|
1730
|
-
"""Check if a property is readonly.
|
|
1731
|
-
|
|
1732
|
-
:return: True when the property is readonly (not writable).
|
|
1733
|
-
:rtype: bool
|
|
1734
|
-
"""
|
|
1735
|
-
...
|
|
1736
|
-
|
|
1737
|
-
def is_property_set(self) -> bool:
|
|
1738
|
-
"""Check if a property is set, use for testing operator properties.
|
|
1739
|
-
|
|
1740
|
-
:return: True when the property has been set.
|
|
1741
|
-
:rtype: bool
|
|
1742
|
-
"""
|
|
1743
|
-
...
|
|
1744
|
-
|
|
1745
|
-
def items(self):
|
|
1746
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
1747
|
-
dictionary function of the same name).
|
|
1748
|
-
|
|
1749
|
-
:return: custom property key, value pairs.
|
|
1750
|
-
"""
|
|
1751
|
-
...
|
|
1752
|
-
|
|
1753
|
-
def keyframe_delete(self) -> bool:
|
|
1754
|
-
"""Remove a keyframe from this properties fcurve.
|
|
1755
|
-
|
|
1756
|
-
:return: Success of keyframe deletion.
|
|
1757
|
-
:rtype: bool
|
|
1758
|
-
"""
|
|
1759
|
-
...
|
|
1760
|
-
|
|
1761
|
-
def keyframe_insert(self) -> bool:
|
|
1762
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
1763
|
-
|
|
1764
|
-
:return: Success of keyframe insertion.
|
|
1765
|
-
:rtype: bool
|
|
1766
|
-
"""
|
|
1767
|
-
...
|
|
1768
|
-
|
|
1769
|
-
def keys(self):
|
|
1770
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
1771
|
-
dictionary function of the same name).
|
|
1772
|
-
|
|
1773
|
-
:return: custom property keys.
|
|
1774
|
-
"""
|
|
1775
|
-
...
|
|
1776
|
-
|
|
1777
|
-
def path_from_id(self) -> str:
|
|
1778
|
-
"""Returns the data path from the ID to this object (string).
|
|
1779
|
-
|
|
1780
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
1781
|
-
to this struct and property (when given).
|
|
1782
|
-
:rtype: str
|
|
1783
|
-
"""
|
|
1784
|
-
...
|
|
1785
|
-
|
|
1786
|
-
def path_resolve(self):
|
|
1787
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
1788
|
-
...
|
|
1789
|
-
|
|
1790
|
-
@classmethod
|
|
1791
|
-
def poll(cls, context):
|
|
1792
|
-
"""
|
|
1793
|
-
|
|
1794
|
-
:param context:
|
|
1795
|
-
"""
|
|
1796
|
-
...
|
|
1797
|
-
|
|
1798
|
-
def pop(self):
|
|
1799
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
1800
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1801
|
-
|
|
1802
|
-
"""
|
|
1803
|
-
...
|
|
1804
|
-
|
|
1805
|
-
def prepend(self, draw_func):
|
|
1806
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
1807
|
-
the menus draw function
|
|
1808
|
-
|
|
1809
|
-
:param draw_func:
|
|
1810
|
-
"""
|
|
1811
|
-
...
|
|
1812
|
-
|
|
1813
|
-
def property_overridable_library_set(self) -> bool:
|
|
1814
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
1815
|
-
|
|
1816
|
-
:return: True when the overridable status of the property was successfully set.
|
|
1817
|
-
:rtype: bool
|
|
1818
|
-
"""
|
|
1819
|
-
...
|
|
1820
|
-
|
|
1821
|
-
def property_unset(self):
|
|
1822
|
-
"""Unset a property, will use default value afterward."""
|
|
1823
|
-
...
|
|
1824
|
-
|
|
1825
|
-
def remove(self, draw_func):
|
|
1826
|
-
"""Remove a draw function that has been added to this menu
|
|
1827
|
-
|
|
1828
|
-
:param draw_func:
|
|
1829
|
-
"""
|
|
1830
|
-
...
|
|
1831
|
-
|
|
1832
|
-
def type_recast(self):
|
|
1833
|
-
"""Return a new instance, this is needed because types
|
|
1834
|
-
such as textures can be changed at runtime.
|
|
1835
|
-
|
|
1836
|
-
:return: a new instance of this object with the type initialized again.
|
|
1837
|
-
"""
|
|
1838
|
-
...
|
|
1839
|
-
|
|
1840
|
-
def values(self):
|
|
1841
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
1842
|
-
dictionary function of the same name).
|
|
1843
|
-
|
|
1844
|
-
:return: custom property values.
|
|
1845
|
-
"""
|
|
1846
|
-
...
|
|
1847
|
-
|
|
1848
|
-
class WORLD_PT_custom_props(
|
|
1849
|
-
WorldButtonsPanel, rna_prop_ui.PropertyPanel, bpy_types._GenericUI
|
|
1850
|
-
):
|
|
1851
|
-
"""The subclass should have its own poll function
|
|
1852
|
-
and the variable '_context_path' MUST be set.
|
|
1853
|
-
"""
|
|
1854
|
-
|
|
1855
|
-
COMPAT_ENGINES: typing.Any
|
|
1856
|
-
bl_context: typing.Any
|
|
1857
|
-
bl_label: typing.Any
|
|
1858
|
-
bl_options: typing.Any
|
|
1859
|
-
bl_order: typing.Any
|
|
1860
|
-
bl_region_type: typing.Any
|
|
1861
|
-
bl_rna: typing.Any
|
|
1862
|
-
bl_space_type: typing.Any
|
|
1863
|
-
id_data: typing.Any
|
|
1864
|
-
|
|
1865
|
-
def append(self, draw_func):
|
|
1866
|
-
"""Append a draw function to this menu,
|
|
1867
|
-
takes the same arguments as the menus draw function
|
|
1868
|
-
|
|
1869
|
-
:param draw_func:
|
|
1870
|
-
"""
|
|
1871
|
-
...
|
|
1872
|
-
|
|
1873
|
-
def as_pointer(self) -> int:
|
|
1874
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
1875
|
-
|
|
1876
|
-
:return: int (memory address).
|
|
1877
|
-
:rtype: int
|
|
1878
|
-
"""
|
|
1879
|
-
...
|
|
1880
|
-
|
|
1881
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
1882
|
-
"""
|
|
1883
|
-
|
|
1884
|
-
:return: The RNA type or default when not found.
|
|
1885
|
-
:rtype: bpy.types.Struct
|
|
1886
|
-
"""
|
|
1887
|
-
...
|
|
1888
|
-
|
|
1889
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
1890
|
-
"""
|
|
1891
|
-
|
|
1892
|
-
:return: The class or default when not found.
|
|
1893
|
-
:rtype: typing.Any
|
|
1894
|
-
"""
|
|
1895
|
-
...
|
|
1896
|
-
|
|
1897
|
-
def draw(self, context):
|
|
1898
|
-
"""
|
|
1899
|
-
|
|
1900
|
-
:param context:
|
|
1901
|
-
"""
|
|
1902
|
-
...
|
|
1903
|
-
|
|
1904
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
1905
|
-
"""Adds driver(s) to the given property
|
|
1906
|
-
|
|
1907
|
-
:return: The driver(s) added.
|
|
1908
|
-
:rtype: bpy.types.FCurve
|
|
1909
|
-
"""
|
|
1910
|
-
...
|
|
1911
|
-
|
|
1912
|
-
def driver_remove(self) -> bool:
|
|
1913
|
-
"""Remove driver(s) from the given property
|
|
1914
|
-
|
|
1915
|
-
:return: Success of driver removal.
|
|
1916
|
-
:rtype: bool
|
|
1917
|
-
"""
|
|
1918
|
-
...
|
|
1919
|
-
|
|
1920
|
-
def get(self):
|
|
1921
|
-
"""Returns the value of the custom property assigned to key or default
|
|
1922
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1923
|
-
|
|
1924
|
-
"""
|
|
1925
|
-
...
|
|
1926
|
-
|
|
1927
|
-
def id_properties_clear(self):
|
|
1928
|
-
"""
|
|
1929
|
-
|
|
1930
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
1931
|
-
"""
|
|
1932
|
-
...
|
|
1933
|
-
|
|
1934
|
-
def id_properties_ensure(self):
|
|
1935
|
-
"""
|
|
1936
|
-
|
|
1937
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
1938
|
-
"""
|
|
1939
|
-
...
|
|
1940
|
-
|
|
1941
|
-
def id_properties_ui(self):
|
|
1942
|
-
"""
|
|
1943
|
-
|
|
1944
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
1945
|
-
"""
|
|
1946
|
-
...
|
|
1947
|
-
|
|
1948
|
-
def is_extended(self): ...
|
|
1949
|
-
def is_property_hidden(self) -> bool:
|
|
1950
|
-
"""Check if a property is hidden.
|
|
1951
|
-
|
|
1952
|
-
:return: True when the property is hidden.
|
|
1953
|
-
:rtype: bool
|
|
1954
|
-
"""
|
|
1955
|
-
...
|
|
1956
|
-
|
|
1957
|
-
def is_property_overridable_library(self) -> bool:
|
|
1958
|
-
"""Check if a property is overridable.
|
|
1959
|
-
|
|
1960
|
-
:return: True when the property is overridable.
|
|
1961
|
-
:rtype: bool
|
|
1962
|
-
"""
|
|
1963
|
-
...
|
|
1964
|
-
|
|
1965
|
-
def is_property_readonly(self) -> bool:
|
|
1966
|
-
"""Check if a property is readonly.
|
|
1967
|
-
|
|
1968
|
-
:return: True when the property is readonly (not writable).
|
|
1969
|
-
:rtype: bool
|
|
1970
|
-
"""
|
|
1971
|
-
...
|
|
1972
|
-
|
|
1973
|
-
def is_property_set(self) -> bool:
|
|
1974
|
-
"""Check if a property is set, use for testing operator properties.
|
|
1975
|
-
|
|
1976
|
-
:return: True when the property has been set.
|
|
1977
|
-
:rtype: bool
|
|
1978
|
-
"""
|
|
1979
|
-
...
|
|
1980
|
-
|
|
1981
|
-
def items(self):
|
|
1982
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
1983
|
-
dictionary function of the same name).
|
|
1984
|
-
|
|
1985
|
-
:return: custom property key, value pairs.
|
|
1986
|
-
"""
|
|
1987
|
-
...
|
|
1988
|
-
|
|
1989
|
-
def keyframe_delete(self) -> bool:
|
|
1990
|
-
"""Remove a keyframe from this properties fcurve.
|
|
1991
|
-
|
|
1992
|
-
:return: Success of keyframe deletion.
|
|
1993
|
-
:rtype: bool
|
|
1994
|
-
"""
|
|
1995
|
-
...
|
|
1996
|
-
|
|
1997
|
-
def keyframe_insert(self) -> bool:
|
|
1998
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
1999
|
-
|
|
2000
|
-
:return: Success of keyframe insertion.
|
|
2001
|
-
:rtype: bool
|
|
2002
|
-
"""
|
|
2003
|
-
...
|
|
2004
|
-
|
|
2005
|
-
def keys(self):
|
|
2006
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
2007
|
-
dictionary function of the same name).
|
|
2008
|
-
|
|
2009
|
-
:return: custom property keys.
|
|
2010
|
-
"""
|
|
2011
|
-
...
|
|
2012
|
-
|
|
2013
|
-
def path_from_id(self) -> str:
|
|
2014
|
-
"""Returns the data path from the ID to this object (string).
|
|
2015
|
-
|
|
2016
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
2017
|
-
to this struct and property (when given).
|
|
2018
|
-
:rtype: str
|
|
2019
|
-
"""
|
|
2020
|
-
...
|
|
2021
|
-
|
|
2022
|
-
def path_resolve(self):
|
|
2023
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
2024
|
-
...
|
|
2025
|
-
|
|
2026
|
-
def poll(self, context):
|
|
2027
|
-
"""
|
|
2028
|
-
|
|
2029
|
-
:param context:
|
|
2030
|
-
"""
|
|
2031
|
-
...
|
|
2032
|
-
|
|
2033
|
-
def pop(self):
|
|
2034
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
2035
|
-
when not found (matches Python's dictionary function of the same name).
|
|
2036
|
-
|
|
2037
|
-
"""
|
|
2038
|
-
...
|
|
2039
|
-
|
|
2040
|
-
def prepend(self, draw_func):
|
|
2041
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
2042
|
-
the menus draw function
|
|
2043
|
-
|
|
2044
|
-
:param draw_func:
|
|
2045
|
-
"""
|
|
2046
|
-
...
|
|
2047
|
-
|
|
2048
|
-
def property_overridable_library_set(self) -> bool:
|
|
2049
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
2050
|
-
|
|
2051
|
-
:return: True when the overridable status of the property was successfully set.
|
|
2052
|
-
:rtype: bool
|
|
2053
|
-
"""
|
|
2054
|
-
...
|
|
2055
|
-
|
|
2056
|
-
def property_unset(self):
|
|
2057
|
-
"""Unset a property, will use default value afterward."""
|
|
2058
|
-
...
|
|
2059
|
-
|
|
2060
|
-
def remove(self, draw_func):
|
|
2061
|
-
"""Remove a draw function that has been added to this menu
|
|
2062
|
-
|
|
2063
|
-
:param draw_func:
|
|
2064
|
-
"""
|
|
2065
|
-
...
|
|
2066
|
-
|
|
2067
|
-
def type_recast(self):
|
|
2068
|
-
"""Return a new instance, this is needed because types
|
|
2069
|
-
such as textures can be changed at runtime.
|
|
2070
|
-
|
|
2071
|
-
:return: a new instance of this object with the type initialized again.
|
|
2072
|
-
"""
|
|
2073
|
-
...
|
|
2074
|
-
|
|
2075
|
-
def values(self):
|
|
2076
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
2077
|
-
dictionary function of the same name).
|
|
2078
|
-
|
|
2079
|
-
:return: custom property values.
|
|
2080
|
-
"""
|
|
2081
|
-
...
|
|
2082
|
-
|
|
2083
|
-
class WORLD_PT_viewport_display(WorldButtonsPanel, bpy_types._GenericUI):
|
|
2084
|
-
bl_context: typing.Any
|
|
2085
|
-
bl_label: typing.Any
|
|
2086
|
-
bl_options: typing.Any
|
|
2087
|
-
bl_order: typing.Any
|
|
2088
|
-
bl_region_type: typing.Any
|
|
2089
|
-
bl_rna: typing.Any
|
|
2090
|
-
bl_space_type: typing.Any
|
|
2091
|
-
id_data: typing.Any
|
|
2092
|
-
|
|
2093
|
-
def append(self, draw_func):
|
|
2094
|
-
"""Append a draw function to this menu,
|
|
2095
|
-
takes the same arguments as the menus draw function
|
|
2096
|
-
|
|
2097
|
-
:param draw_func:
|
|
2098
|
-
"""
|
|
2099
|
-
...
|
|
2100
|
-
|
|
2101
|
-
def as_pointer(self) -> int:
|
|
2102
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
2103
|
-
|
|
2104
|
-
:return: int (memory address).
|
|
2105
|
-
:rtype: int
|
|
2106
|
-
"""
|
|
2107
|
-
...
|
|
2108
|
-
|
|
2109
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
2110
|
-
"""
|
|
2111
|
-
|
|
2112
|
-
:return: The RNA type or default when not found.
|
|
2113
|
-
:rtype: bpy.types.Struct
|
|
2114
|
-
"""
|
|
2115
|
-
...
|
|
2116
|
-
|
|
2117
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
2118
|
-
"""
|
|
2119
|
-
|
|
2120
|
-
:return: The class or default when not found.
|
|
2121
|
-
:rtype: typing.Any
|
|
2122
|
-
"""
|
|
2123
|
-
...
|
|
2124
|
-
|
|
2125
|
-
def draw(self, context):
|
|
2126
|
-
"""
|
|
2127
|
-
|
|
2128
|
-
:param context:
|
|
2129
|
-
"""
|
|
2130
|
-
...
|
|
2131
|
-
|
|
2132
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
2133
|
-
"""Adds driver(s) to the given property
|
|
2134
|
-
|
|
2135
|
-
:return: The driver(s) added.
|
|
2136
|
-
:rtype: bpy.types.FCurve
|
|
2137
|
-
"""
|
|
2138
|
-
...
|
|
2139
|
-
|
|
2140
|
-
def driver_remove(self) -> bool:
|
|
2141
|
-
"""Remove driver(s) from the given property
|
|
2142
|
-
|
|
2143
|
-
:return: Success of driver removal.
|
|
2144
|
-
:rtype: bool
|
|
2145
|
-
"""
|
|
2146
|
-
...
|
|
2147
|
-
|
|
2148
|
-
def get(self):
|
|
2149
|
-
"""Returns the value of the custom property assigned to key or default
|
|
2150
|
-
when not found (matches Python's dictionary function of the same name).
|
|
2151
|
-
|
|
2152
|
-
"""
|
|
2153
|
-
...
|
|
2154
|
-
|
|
2155
|
-
def id_properties_clear(self):
|
|
2156
|
-
"""
|
|
2157
|
-
|
|
2158
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
2159
|
-
"""
|
|
2160
|
-
...
|
|
2161
|
-
|
|
2162
|
-
def id_properties_ensure(self):
|
|
2163
|
-
"""
|
|
2164
|
-
|
|
2165
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
2166
|
-
"""
|
|
2167
|
-
...
|
|
2168
|
-
|
|
2169
|
-
def id_properties_ui(self):
|
|
2170
|
-
"""
|
|
2171
|
-
|
|
2172
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
2173
|
-
"""
|
|
2174
|
-
...
|
|
2175
|
-
|
|
2176
|
-
def is_extended(self): ...
|
|
2177
|
-
def is_property_hidden(self) -> bool:
|
|
2178
|
-
"""Check if a property is hidden.
|
|
2179
|
-
|
|
2180
|
-
:return: True when the property is hidden.
|
|
2181
|
-
:rtype: bool
|
|
2182
|
-
"""
|
|
2183
|
-
...
|
|
2184
|
-
|
|
2185
|
-
def is_property_overridable_library(self) -> bool:
|
|
2186
|
-
"""Check if a property is overridable.
|
|
2187
|
-
|
|
2188
|
-
:return: True when the property is overridable.
|
|
2189
|
-
:rtype: bool
|
|
2190
|
-
"""
|
|
2191
|
-
...
|
|
2192
|
-
|
|
2193
|
-
def is_property_readonly(self) -> bool:
|
|
2194
|
-
"""Check if a property is readonly.
|
|
2195
|
-
|
|
2196
|
-
:return: True when the property is readonly (not writable).
|
|
2197
|
-
:rtype: bool
|
|
2198
|
-
"""
|
|
2199
|
-
...
|
|
2200
|
-
|
|
2201
|
-
def is_property_set(self) -> bool:
|
|
2202
|
-
"""Check if a property is set, use for testing operator properties.
|
|
2203
|
-
|
|
2204
|
-
:return: True when the property has been set.
|
|
2205
|
-
:rtype: bool
|
|
2206
|
-
"""
|
|
2207
|
-
...
|
|
2208
|
-
|
|
2209
|
-
def items(self):
|
|
2210
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
2211
|
-
dictionary function of the same name).
|
|
2212
|
-
|
|
2213
|
-
:return: custom property key, value pairs.
|
|
2214
|
-
"""
|
|
2215
|
-
...
|
|
2216
|
-
|
|
2217
|
-
def keyframe_delete(self) -> bool:
|
|
2218
|
-
"""Remove a keyframe from this properties fcurve.
|
|
2219
|
-
|
|
2220
|
-
:return: Success of keyframe deletion.
|
|
2221
|
-
:rtype: bool
|
|
2222
|
-
"""
|
|
2223
|
-
...
|
|
2224
|
-
|
|
2225
|
-
def keyframe_insert(self) -> bool:
|
|
2226
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
2227
|
-
|
|
2228
|
-
:return: Success of keyframe insertion.
|
|
2229
|
-
:rtype: bool
|
|
2230
|
-
"""
|
|
2231
|
-
...
|
|
2232
|
-
|
|
2233
|
-
def keys(self):
|
|
2234
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
2235
|
-
dictionary function of the same name).
|
|
2236
|
-
|
|
2237
|
-
:return: custom property keys.
|
|
2238
|
-
"""
|
|
2239
|
-
...
|
|
2240
|
-
|
|
2241
|
-
def path_from_id(self) -> str:
|
|
2242
|
-
"""Returns the data path from the ID to this object (string).
|
|
2243
|
-
|
|
2244
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
2245
|
-
to this struct and property (when given).
|
|
2246
|
-
:rtype: str
|
|
2247
|
-
"""
|
|
2248
|
-
...
|
|
2249
|
-
|
|
2250
|
-
def path_resolve(self):
|
|
2251
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
2252
|
-
...
|
|
2253
|
-
|
|
2254
395
|
@classmethod
|
|
2255
396
|
def poll(cls, context):
|
|
2256
397
|
"""
|
|
@@ -2259,56 +400,6 @@ class WORLD_PT_viewport_display(WorldButtonsPanel, bpy_types._GenericUI):
|
|
|
2259
400
|
"""
|
|
2260
401
|
...
|
|
2261
402
|
|
|
2262
|
-
def pop(self):
|
|
2263
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
2264
|
-
when not found (matches Python's dictionary function of the same name).
|
|
2265
|
-
|
|
2266
|
-
"""
|
|
2267
|
-
...
|
|
2268
|
-
|
|
2269
|
-
def prepend(self, draw_func):
|
|
2270
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
2271
|
-
the menus draw function
|
|
2272
|
-
|
|
2273
|
-
:param draw_func:
|
|
2274
|
-
"""
|
|
2275
|
-
...
|
|
2276
|
-
|
|
2277
|
-
def property_overridable_library_set(self) -> bool:
|
|
2278
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
2279
|
-
|
|
2280
|
-
:return: True when the overridable status of the property was successfully set.
|
|
2281
|
-
:rtype: bool
|
|
2282
|
-
"""
|
|
2283
|
-
...
|
|
2284
|
-
|
|
2285
|
-
def property_unset(self):
|
|
2286
|
-
"""Unset a property, will use default value afterward."""
|
|
2287
|
-
...
|
|
2288
|
-
|
|
2289
|
-
def remove(self, draw_func):
|
|
2290
|
-
"""Remove a draw function that has been added to this menu
|
|
2291
|
-
|
|
2292
|
-
:param draw_func:
|
|
2293
|
-
"""
|
|
2294
|
-
...
|
|
2295
|
-
|
|
2296
|
-
def type_recast(self):
|
|
2297
|
-
"""Return a new instance, this is needed because types
|
|
2298
|
-
such as textures can be changed at runtime.
|
|
2299
|
-
|
|
2300
|
-
:return: a new instance of this object with the type initialized again.
|
|
2301
|
-
"""
|
|
2302
|
-
...
|
|
2303
|
-
|
|
2304
|
-
def values(self):
|
|
2305
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
2306
|
-
dictionary function of the same name).
|
|
2307
|
-
|
|
2308
|
-
:return: custom property values.
|
|
2309
|
-
"""
|
|
2310
|
-
...
|
|
2311
|
-
|
|
2312
403
|
class WorldButtonsPanel:
|
|
2313
404
|
bl_context: typing.Any
|
|
2314
405
|
bl_region_type: typing.Any
|