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,7 @@ import rna_prop_ui
|
|
|
8
8
|
GenericType1 = typing.TypeVar("GenericType1")
|
|
9
9
|
GenericType2 = typing.TypeVar("GenericType2")
|
|
10
10
|
|
|
11
|
-
class DATA_PT_EEVEE_light(DataButtonsPanel, bpy_types._GenericUI):
|
|
11
|
+
class DATA_PT_EEVEE_light(bpy.types.Panel, DataButtonsPanel, bpy_types._GenericUI):
|
|
12
12
|
COMPAT_ENGINES: typing.Any
|
|
13
13
|
bl_context: typing.Any
|
|
14
14
|
bl_label: typing.Any
|
|
@@ -17,22 +17,6 @@ class DATA_PT_EEVEE_light(DataButtonsPanel, bpy_types._GenericUI):
|
|
|
17
17
|
bl_space_type: typing.Any
|
|
18
18
|
id_data: typing.Any
|
|
19
19
|
|
|
20
|
-
def append(self, draw_func):
|
|
21
|
-
"""Append a draw function to this menu,
|
|
22
|
-
takes the same arguments as the menus draw function
|
|
23
|
-
|
|
24
|
-
:param draw_func:
|
|
25
|
-
"""
|
|
26
|
-
...
|
|
27
|
-
|
|
28
|
-
def as_pointer(self) -> int:
|
|
29
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
30
|
-
|
|
31
|
-
:return: int (memory address).
|
|
32
|
-
:rtype: int
|
|
33
|
-
"""
|
|
34
|
-
...
|
|
35
|
-
|
|
36
20
|
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
37
21
|
"""
|
|
38
22
|
|
|
@@ -56,186 +40,187 @@ class DATA_PT_EEVEE_light(DataButtonsPanel, bpy_types._GenericUI):
|
|
|
56
40
|
"""
|
|
57
41
|
...
|
|
58
42
|
|
|
59
|
-
|
|
60
|
-
|
|
43
|
+
class DATA_PT_EEVEE_light_distance(
|
|
44
|
+
bpy.types.Panel, DataButtonsPanel, bpy_types._GenericUI
|
|
45
|
+
):
|
|
46
|
+
COMPAT_ENGINES: typing.Any
|
|
47
|
+
bl_context: typing.Any
|
|
48
|
+
bl_label: typing.Any
|
|
49
|
+
bl_options: typing.Any
|
|
50
|
+
bl_parent_id: typing.Any
|
|
51
|
+
bl_region_type: typing.Any
|
|
52
|
+
bl_rna: typing.Any
|
|
53
|
+
bl_space_type: typing.Any
|
|
54
|
+
id_data: typing.Any
|
|
61
55
|
|
|
62
|
-
|
|
63
|
-
:rtype: bpy.types.FCurve
|
|
56
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
64
57
|
"""
|
|
65
|
-
...
|
|
66
58
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
:return: Success of driver removal.
|
|
71
|
-
:rtype: bool
|
|
59
|
+
:return: The RNA type or default when not found.
|
|
60
|
+
:rtype: bpy.types.Struct
|
|
72
61
|
"""
|
|
73
62
|
...
|
|
74
63
|
|
|
75
|
-
def
|
|
76
|
-
"""
|
|
77
|
-
when not found (matches Python's dictionary function of the same name).
|
|
64
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
65
|
+
"""
|
|
78
66
|
|
|
67
|
+
:return: The class or default when not found.
|
|
68
|
+
:rtype: typing.Any
|
|
79
69
|
"""
|
|
80
70
|
...
|
|
81
71
|
|
|
82
|
-
def
|
|
72
|
+
def draw(self, context):
|
|
83
73
|
"""
|
|
84
74
|
|
|
85
|
-
:
|
|
75
|
+
:param context:
|
|
86
76
|
"""
|
|
87
77
|
...
|
|
88
78
|
|
|
89
|
-
def
|
|
79
|
+
def draw_header(self, context):
|
|
90
80
|
"""
|
|
91
81
|
|
|
92
|
-
:
|
|
82
|
+
:param context:
|
|
93
83
|
"""
|
|
94
84
|
...
|
|
95
85
|
|
|
96
|
-
|
|
86
|
+
@classmethod
|
|
87
|
+
def poll(cls, context):
|
|
97
88
|
"""
|
|
98
89
|
|
|
99
|
-
:
|
|
90
|
+
:param context:
|
|
100
91
|
"""
|
|
101
92
|
...
|
|
102
93
|
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
94
|
+
class DATA_PT_EEVEE_light_influence(
|
|
95
|
+
bpy.types.Panel, DataButtonsPanel, bpy_types._GenericUI
|
|
96
|
+
):
|
|
97
|
+
COMPAT_ENGINES: typing.Any
|
|
98
|
+
bl_context: typing.Any
|
|
99
|
+
bl_label: typing.Any
|
|
100
|
+
bl_options: typing.Any
|
|
101
|
+
bl_parent_id: typing.Any
|
|
102
|
+
bl_region_type: typing.Any
|
|
103
|
+
bl_rna: typing.Any
|
|
104
|
+
bl_space_type: typing.Any
|
|
105
|
+
id_data: typing.Any
|
|
106
106
|
|
|
107
|
-
|
|
108
|
-
:rtype: bool
|
|
107
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
109
108
|
"""
|
|
110
|
-
...
|
|
111
109
|
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
:return: True when the property is overridable.
|
|
116
|
-
:rtype: bool
|
|
110
|
+
:return: The RNA type or default when not found.
|
|
111
|
+
:rtype: bpy.types.Struct
|
|
117
112
|
"""
|
|
118
113
|
...
|
|
119
114
|
|
|
120
|
-
def
|
|
121
|
-
"""Check if a property is readonly.
|
|
122
|
-
|
|
123
|
-
:return: True when the property is readonly (not writable).
|
|
124
|
-
:rtype: bool
|
|
115
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
125
116
|
"""
|
|
126
|
-
...
|
|
127
117
|
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
:return: True when the property has been set.
|
|
132
|
-
:rtype: bool
|
|
118
|
+
:return: The class or default when not found.
|
|
119
|
+
:rtype: typing.Any
|
|
133
120
|
"""
|
|
134
121
|
...
|
|
135
122
|
|
|
136
|
-
def
|
|
137
|
-
"""
|
|
138
|
-
dictionary function of the same name).
|
|
123
|
+
def draw(self, context):
|
|
124
|
+
"""
|
|
139
125
|
|
|
140
|
-
|
|
126
|
+
:param context:
|
|
141
127
|
"""
|
|
142
128
|
...
|
|
143
129
|
|
|
144
|
-
|
|
145
|
-
|
|
130
|
+
class DATA_PT_EEVEE_light_shadow(
|
|
131
|
+
bpy.types.Panel, DataButtonsPanel, bpy_types._GenericUI
|
|
132
|
+
):
|
|
133
|
+
COMPAT_ENGINES: typing.Any
|
|
134
|
+
bl_context: typing.Any
|
|
135
|
+
bl_label: typing.Any
|
|
136
|
+
bl_options: typing.Any
|
|
137
|
+
bl_parent_id: typing.Any
|
|
138
|
+
bl_region_type: typing.Any
|
|
139
|
+
bl_rna: typing.Any
|
|
140
|
+
bl_space_type: typing.Any
|
|
141
|
+
id_data: typing.Any
|
|
146
142
|
|
|
147
|
-
|
|
148
|
-
:rtype: bool
|
|
143
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
149
144
|
"""
|
|
150
|
-
...
|
|
151
145
|
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
:return: Success of keyframe insertion.
|
|
156
|
-
:rtype: bool
|
|
146
|
+
:return: The RNA type or default when not found.
|
|
147
|
+
:rtype: bpy.types.Struct
|
|
157
148
|
"""
|
|
158
149
|
...
|
|
159
150
|
|
|
160
|
-
def
|
|
161
|
-
"""
|
|
162
|
-
dictionary function of the same name).
|
|
151
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
152
|
+
"""
|
|
163
153
|
|
|
164
|
-
|
|
154
|
+
:return: The class or default when not found.
|
|
155
|
+
:rtype: typing.Any
|
|
165
156
|
"""
|
|
166
157
|
...
|
|
167
158
|
|
|
168
|
-
def
|
|
169
|
-
"""Returns the data path from the ID to this object (string).
|
|
170
|
-
|
|
171
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
172
|
-
to this struct and property (when given).
|
|
173
|
-
:rtype: str
|
|
159
|
+
def draw(self, context):
|
|
174
160
|
"""
|
|
175
|
-
...
|
|
176
161
|
|
|
177
|
-
|
|
178
|
-
"""
|
|
162
|
+
:param context:
|
|
163
|
+
"""
|
|
179
164
|
...
|
|
180
165
|
|
|
181
|
-
def
|
|
166
|
+
def draw_header(self, context):
|
|
182
167
|
"""
|
|
183
168
|
|
|
184
169
|
:param context:
|
|
185
170
|
"""
|
|
186
171
|
...
|
|
187
172
|
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
173
|
+
class DATA_PT_EEVEE_shadow(bpy.types.Panel, DataButtonsPanel, bpy_types._GenericUI):
|
|
174
|
+
COMPAT_ENGINES: typing.Any
|
|
175
|
+
bl_context: typing.Any
|
|
176
|
+
bl_label: typing.Any
|
|
177
|
+
bl_options: typing.Any
|
|
178
|
+
bl_region_type: typing.Any
|
|
179
|
+
bl_rna: typing.Any
|
|
180
|
+
bl_space_type: typing.Any
|
|
181
|
+
id_data: typing.Any
|
|
191
182
|
|
|
183
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
192
184
|
"""
|
|
193
|
-
...
|
|
194
|
-
|
|
195
|
-
def prepend(self, draw_func):
|
|
196
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
197
|
-
the menus draw function
|
|
198
185
|
|
|
199
|
-
|
|
186
|
+
:return: The RNA type or default when not found.
|
|
187
|
+
:rtype: bpy.types.Struct
|
|
200
188
|
"""
|
|
201
189
|
...
|
|
202
190
|
|
|
203
|
-
def
|
|
204
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
205
|
-
|
|
206
|
-
:return: True when the overridable status of the property was successfully set.
|
|
207
|
-
:rtype: bool
|
|
191
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
208
192
|
"""
|
|
209
|
-
...
|
|
210
193
|
|
|
211
|
-
|
|
212
|
-
|
|
194
|
+
:return: The class or default when not found.
|
|
195
|
+
:rtype: typing.Any
|
|
196
|
+
"""
|
|
213
197
|
...
|
|
214
198
|
|
|
215
|
-
def
|
|
216
|
-
"""
|
|
199
|
+
def draw(self, context):
|
|
200
|
+
"""
|
|
217
201
|
|
|
218
|
-
:param
|
|
202
|
+
:param context:
|
|
219
203
|
"""
|
|
220
204
|
...
|
|
221
205
|
|
|
222
|
-
def
|
|
223
|
-
"""
|
|
224
|
-
such as textures can be changed at runtime.
|
|
206
|
+
def draw_header(self, context):
|
|
207
|
+
"""
|
|
225
208
|
|
|
226
|
-
|
|
209
|
+
:param context:
|
|
227
210
|
"""
|
|
228
211
|
...
|
|
229
212
|
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
213
|
+
@classmethod
|
|
214
|
+
def poll(cls, context):
|
|
215
|
+
"""
|
|
233
216
|
|
|
234
|
-
|
|
217
|
+
:param context:
|
|
235
218
|
"""
|
|
236
219
|
...
|
|
237
220
|
|
|
238
|
-
class
|
|
221
|
+
class DATA_PT_EEVEE_shadow_cascaded_shadow_map(
|
|
222
|
+
bpy.types.Panel, DataButtonsPanel, bpy_types._GenericUI
|
|
223
|
+
):
|
|
239
224
|
COMPAT_ENGINES: typing.Any
|
|
240
225
|
bl_context: typing.Any
|
|
241
226
|
bl_label: typing.Any
|
|
@@ -246,22 +231,6 @@ class DATA_PT_EEVEE_light_distance(DataButtonsPanel, bpy_types._GenericUI):
|
|
|
246
231
|
bl_space_type: typing.Any
|
|
247
232
|
id_data: typing.Any
|
|
248
233
|
|
|
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
234
|
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
266
235
|
"""
|
|
267
236
|
|
|
@@ -285,220 +254,172 @@ class DATA_PT_EEVEE_light_distance(DataButtonsPanel, bpy_types._GenericUI):
|
|
|
285
254
|
"""
|
|
286
255
|
...
|
|
287
256
|
|
|
288
|
-
|
|
257
|
+
@classmethod
|
|
258
|
+
def poll(cls, context):
|
|
289
259
|
"""
|
|
290
260
|
|
|
291
261
|
:param context:
|
|
292
262
|
"""
|
|
293
263
|
...
|
|
294
264
|
|
|
295
|
-
|
|
296
|
-
|
|
265
|
+
class DATA_PT_EEVEE_shadow_contact(
|
|
266
|
+
bpy.types.Panel, DataButtonsPanel, bpy_types._GenericUI
|
|
267
|
+
):
|
|
268
|
+
COMPAT_ENGINES: typing.Any
|
|
269
|
+
bl_context: typing.Any
|
|
270
|
+
bl_label: typing.Any
|
|
271
|
+
bl_parent_id: typing.Any
|
|
272
|
+
bl_region_type: typing.Any
|
|
273
|
+
bl_rna: typing.Any
|
|
274
|
+
bl_space_type: typing.Any
|
|
275
|
+
id_data: typing.Any
|
|
297
276
|
|
|
298
|
-
|
|
299
|
-
:rtype: bpy.types.FCurve
|
|
277
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
300
278
|
"""
|
|
301
|
-
...
|
|
302
|
-
|
|
303
|
-
def driver_remove(self) -> bool:
|
|
304
|
-
"""Remove driver(s) from the given property
|
|
305
279
|
|
|
306
|
-
:return:
|
|
307
|
-
:rtype:
|
|
280
|
+
:return: The RNA type or default when not found.
|
|
281
|
+
:rtype: bpy.types.Struct
|
|
308
282
|
"""
|
|
309
283
|
...
|
|
310
284
|
|
|
311
|
-
def
|
|
312
|
-
"""
|
|
313
|
-
when not found (matches Python's dictionary function of the same name).
|
|
285
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
286
|
+
"""
|
|
314
287
|
|
|
288
|
+
:return: The class or default when not found.
|
|
289
|
+
:rtype: typing.Any
|
|
315
290
|
"""
|
|
316
291
|
...
|
|
317
292
|
|
|
318
|
-
def
|
|
293
|
+
def draw(self, context):
|
|
319
294
|
"""
|
|
320
295
|
|
|
321
|
-
:
|
|
296
|
+
:param context:
|
|
322
297
|
"""
|
|
323
298
|
...
|
|
324
299
|
|
|
325
|
-
def
|
|
300
|
+
def draw_header(self, context):
|
|
326
301
|
"""
|
|
327
302
|
|
|
328
|
-
:
|
|
303
|
+
:param context:
|
|
329
304
|
"""
|
|
330
305
|
...
|
|
331
306
|
|
|
332
|
-
|
|
307
|
+
@classmethod
|
|
308
|
+
def poll(cls, context):
|
|
333
309
|
"""
|
|
334
310
|
|
|
335
|
-
:
|
|
311
|
+
:param context:
|
|
336
312
|
"""
|
|
337
313
|
...
|
|
338
314
|
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
315
|
+
class DATA_PT_context_light(bpy.types.Panel, DataButtonsPanel, bpy_types._GenericUI):
|
|
316
|
+
COMPAT_ENGINES: typing.Any
|
|
317
|
+
bl_context: typing.Any
|
|
318
|
+
bl_label: typing.Any
|
|
319
|
+
bl_options: typing.Any
|
|
320
|
+
bl_region_type: typing.Any
|
|
321
|
+
bl_rna: typing.Any
|
|
322
|
+
bl_space_type: typing.Any
|
|
323
|
+
id_data: typing.Any
|
|
342
324
|
|
|
343
|
-
|
|
344
|
-
:rtype: bool
|
|
325
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
345
326
|
"""
|
|
346
|
-
...
|
|
347
|
-
|
|
348
|
-
def is_property_overridable_library(self) -> bool:
|
|
349
|
-
"""Check if a property is overridable.
|
|
350
327
|
|
|
351
|
-
:return:
|
|
352
|
-
:rtype:
|
|
328
|
+
:return: The RNA type or default when not found.
|
|
329
|
+
:rtype: bpy.types.Struct
|
|
353
330
|
"""
|
|
354
331
|
...
|
|
355
332
|
|
|
356
|
-
def
|
|
357
|
-
"""Check if a property is readonly.
|
|
358
|
-
|
|
359
|
-
:return: True when the property is readonly (not writable).
|
|
360
|
-
:rtype: bool
|
|
333
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
361
334
|
"""
|
|
362
|
-
...
|
|
363
|
-
|
|
364
|
-
def is_property_set(self) -> bool:
|
|
365
|
-
"""Check if a property is set, use for testing operator properties.
|
|
366
335
|
|
|
367
|
-
:return:
|
|
368
|
-
:rtype:
|
|
336
|
+
:return: The class or default when not found.
|
|
337
|
+
:rtype: typing.Any
|
|
369
338
|
"""
|
|
370
339
|
...
|
|
371
340
|
|
|
372
|
-
def
|
|
373
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
374
|
-
dictionary function of the same name).
|
|
375
|
-
|
|
376
|
-
:return: custom property key, value pairs.
|
|
341
|
+
def draw(self, context):
|
|
377
342
|
"""
|
|
378
|
-
...
|
|
379
|
-
|
|
380
|
-
def keyframe_delete(self) -> bool:
|
|
381
|
-
"""Remove a keyframe from this properties fcurve.
|
|
382
343
|
|
|
383
|
-
:
|
|
384
|
-
:rtype: bool
|
|
344
|
+
:param context:
|
|
385
345
|
"""
|
|
386
346
|
...
|
|
387
347
|
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
...
|
|
348
|
+
class DATA_PT_custom_props_light(
|
|
349
|
+
bpy.types.Panel, DataButtonsPanel, rna_prop_ui.PropertyPanel, bpy_types._GenericUI
|
|
350
|
+
):
|
|
351
|
+
"""The subclass should have its own poll function
|
|
352
|
+
and the variable '_context_path' MUST be set.
|
|
353
|
+
"""
|
|
395
354
|
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
355
|
+
COMPAT_ENGINES: typing.Any
|
|
356
|
+
bl_context: typing.Any
|
|
357
|
+
bl_label: typing.Any
|
|
358
|
+
bl_options: typing.Any
|
|
359
|
+
bl_order: typing.Any
|
|
360
|
+
bl_region_type: typing.Any
|
|
361
|
+
bl_rna: typing.Any
|
|
362
|
+
bl_space_type: typing.Any
|
|
363
|
+
id_data: typing.Any
|
|
399
364
|
|
|
400
|
-
|
|
365
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
401
366
|
"""
|
|
402
|
-
...
|
|
403
367
|
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
408
|
-
to this struct and property (when given).
|
|
409
|
-
:rtype: str
|
|
368
|
+
:return: The RNA type or default when not found.
|
|
369
|
+
:rtype: bpy.types.Struct
|
|
410
370
|
"""
|
|
411
371
|
...
|
|
412
372
|
|
|
413
|
-
def
|
|
414
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
415
|
-
...
|
|
416
|
-
|
|
417
|
-
@classmethod
|
|
418
|
-
def poll(cls, context):
|
|
373
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
419
374
|
"""
|
|
420
375
|
|
|
421
|
-
:
|
|
376
|
+
:return: The class or default when not found.
|
|
377
|
+
:rtype: typing.Any
|
|
422
378
|
"""
|
|
423
379
|
...
|
|
424
380
|
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
381
|
+
class DATA_PT_light(bpy.types.Panel, DataButtonsPanel, bpy_types._GenericUI):
|
|
382
|
+
COMPAT_ENGINES: typing.Any
|
|
383
|
+
bl_context: typing.Any
|
|
384
|
+
bl_label: typing.Any
|
|
385
|
+
bl_region_type: typing.Any
|
|
386
|
+
bl_rna: typing.Any
|
|
387
|
+
bl_space_type: typing.Any
|
|
388
|
+
id_data: typing.Any
|
|
428
389
|
|
|
390
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
429
391
|
"""
|
|
430
|
-
...
|
|
431
392
|
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
the menus draw function
|
|
435
|
-
|
|
436
|
-
:param draw_func:
|
|
393
|
+
:return: The RNA type or default when not found.
|
|
394
|
+
:rtype: bpy.types.Struct
|
|
437
395
|
"""
|
|
438
396
|
...
|
|
439
397
|
|
|
440
|
-
def
|
|
441
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
442
|
-
|
|
443
|
-
:return: True when the overridable status of the property was successfully set.
|
|
444
|
-
:rtype: bool
|
|
398
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
445
399
|
"""
|
|
446
|
-
...
|
|
447
|
-
|
|
448
|
-
def property_unset(self):
|
|
449
|
-
"""Unset a property, will use default value afterward."""
|
|
450
|
-
...
|
|
451
400
|
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
:param draw_func:
|
|
401
|
+
:return: The class or default when not found.
|
|
402
|
+
:rtype: typing.Any
|
|
456
403
|
"""
|
|
457
404
|
...
|
|
458
405
|
|
|
459
|
-
def
|
|
460
|
-
"""Return a new instance, this is needed because types
|
|
461
|
-
such as textures can be changed at runtime.
|
|
462
|
-
|
|
463
|
-
:return: a new instance of this object with the type initialized again.
|
|
406
|
+
def draw(self, context):
|
|
464
407
|
"""
|
|
465
|
-
...
|
|
466
408
|
|
|
467
|
-
|
|
468
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
469
|
-
dictionary function of the same name).
|
|
470
|
-
|
|
471
|
-
:return: custom property values.
|
|
409
|
+
:param context:
|
|
472
410
|
"""
|
|
473
411
|
...
|
|
474
412
|
|
|
475
|
-
class
|
|
413
|
+
class DATA_PT_preview(bpy.types.Panel, DataButtonsPanel, bpy_types._GenericUI):
|
|
476
414
|
COMPAT_ENGINES: typing.Any
|
|
477
415
|
bl_context: typing.Any
|
|
478
416
|
bl_label: typing.Any
|
|
479
417
|
bl_options: typing.Any
|
|
480
|
-
bl_parent_id: typing.Any
|
|
481
418
|
bl_region_type: typing.Any
|
|
482
419
|
bl_rna: typing.Any
|
|
483
420
|
bl_space_type: typing.Any
|
|
484
421
|
id_data: typing.Any
|
|
485
422
|
|
|
486
|
-
def append(self, draw_func):
|
|
487
|
-
"""Append a draw function to this menu,
|
|
488
|
-
takes the same arguments as the menus draw function
|
|
489
|
-
|
|
490
|
-
:param draw_func:
|
|
491
|
-
"""
|
|
492
|
-
...
|
|
493
|
-
|
|
494
|
-
def as_pointer(self) -> int:
|
|
495
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
496
|
-
|
|
497
|
-
:return: int (memory address).
|
|
498
|
-
:rtype: int
|
|
499
|
-
"""
|
|
500
|
-
...
|
|
501
|
-
|
|
502
423
|
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
503
424
|
"""
|
|
504
425
|
|
|
@@ -522,2212 +443,39 @@ class DATA_PT_EEVEE_light_influence(DataButtonsPanel, bpy_types._GenericUI):
|
|
|
522
443
|
"""
|
|
523
444
|
...
|
|
524
445
|
|
|
525
|
-
|
|
526
|
-
|
|
446
|
+
class DATA_PT_spot(bpy.types.Panel, DataButtonsPanel, bpy_types._GenericUI):
|
|
447
|
+
COMPAT_ENGINES: typing.Any
|
|
448
|
+
bl_context: typing.Any
|
|
449
|
+
bl_label: typing.Any
|
|
450
|
+
bl_parent_id: typing.Any
|
|
451
|
+
bl_region_type: typing.Any
|
|
452
|
+
bl_rna: typing.Any
|
|
453
|
+
bl_space_type: typing.Any
|
|
454
|
+
id_data: typing.Any
|
|
527
455
|
|
|
528
|
-
|
|
529
|
-
:rtype: bpy.types.FCurve
|
|
456
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
530
457
|
"""
|
|
531
|
-
...
|
|
532
|
-
|
|
533
|
-
def driver_remove(self) -> bool:
|
|
534
|
-
"""Remove driver(s) from the given property
|
|
535
458
|
|
|
536
|
-
:return:
|
|
537
|
-
:rtype:
|
|
459
|
+
:return: The RNA type or default when not found.
|
|
460
|
+
:rtype: bpy.types.Struct
|
|
538
461
|
"""
|
|
539
462
|
...
|
|
540
463
|
|
|
541
|
-
def
|
|
542
|
-
"""
|
|
543
|
-
when not found (matches Python's dictionary function of the same name).
|
|
464
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
465
|
+
"""
|
|
544
466
|
|
|
467
|
+
:return: The class or default when not found.
|
|
468
|
+
:rtype: typing.Any
|
|
545
469
|
"""
|
|
546
470
|
...
|
|
547
471
|
|
|
548
|
-
def
|
|
472
|
+
def draw(self, context):
|
|
549
473
|
"""
|
|
550
474
|
|
|
551
|
-
:
|
|
475
|
+
:param context:
|
|
552
476
|
"""
|
|
553
477
|
...
|
|
554
478
|
|
|
555
|
-
def id_properties_ensure(self):
|
|
556
|
-
"""
|
|
557
|
-
|
|
558
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
559
|
-
"""
|
|
560
|
-
...
|
|
561
|
-
|
|
562
|
-
def id_properties_ui(self):
|
|
563
|
-
"""
|
|
564
|
-
|
|
565
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
566
|
-
"""
|
|
567
|
-
...
|
|
568
|
-
|
|
569
|
-
def is_extended(self): ...
|
|
570
|
-
def is_property_hidden(self) -> bool:
|
|
571
|
-
"""Check if a property is hidden.
|
|
572
|
-
|
|
573
|
-
:return: True when the property is hidden.
|
|
574
|
-
:rtype: bool
|
|
575
|
-
"""
|
|
576
|
-
...
|
|
577
|
-
|
|
578
|
-
def is_property_overridable_library(self) -> bool:
|
|
579
|
-
"""Check if a property is overridable.
|
|
580
|
-
|
|
581
|
-
:return: True when the property is overridable.
|
|
582
|
-
:rtype: bool
|
|
583
|
-
"""
|
|
584
|
-
...
|
|
585
|
-
|
|
586
|
-
def is_property_readonly(self) -> bool:
|
|
587
|
-
"""Check if a property is readonly.
|
|
588
|
-
|
|
589
|
-
:return: True when the property is readonly (not writable).
|
|
590
|
-
:rtype: bool
|
|
591
|
-
"""
|
|
592
|
-
...
|
|
593
|
-
|
|
594
|
-
def is_property_set(self) -> bool:
|
|
595
|
-
"""Check if a property is set, use for testing operator properties.
|
|
596
|
-
|
|
597
|
-
:return: True when the property has been set.
|
|
598
|
-
:rtype: bool
|
|
599
|
-
"""
|
|
600
|
-
...
|
|
601
|
-
|
|
602
|
-
def items(self):
|
|
603
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
604
|
-
dictionary function of the same name).
|
|
605
|
-
|
|
606
|
-
:return: custom property key, value pairs.
|
|
607
|
-
"""
|
|
608
|
-
...
|
|
609
|
-
|
|
610
|
-
def keyframe_delete(self) -> bool:
|
|
611
|
-
"""Remove a keyframe from this properties fcurve.
|
|
612
|
-
|
|
613
|
-
:return: Success of keyframe deletion.
|
|
614
|
-
:rtype: bool
|
|
615
|
-
"""
|
|
616
|
-
...
|
|
617
|
-
|
|
618
|
-
def keyframe_insert(self) -> bool:
|
|
619
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
620
|
-
|
|
621
|
-
:return: Success of keyframe insertion.
|
|
622
|
-
:rtype: bool
|
|
623
|
-
"""
|
|
624
|
-
...
|
|
625
|
-
|
|
626
|
-
def keys(self):
|
|
627
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
628
|
-
dictionary function of the same name).
|
|
629
|
-
|
|
630
|
-
:return: custom property keys.
|
|
631
|
-
"""
|
|
632
|
-
...
|
|
633
|
-
|
|
634
|
-
def path_from_id(self) -> str:
|
|
635
|
-
"""Returns the data path from the ID to this object (string).
|
|
636
|
-
|
|
637
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
638
|
-
to this struct and property (when given).
|
|
639
|
-
:rtype: str
|
|
640
|
-
"""
|
|
641
|
-
...
|
|
642
|
-
|
|
643
|
-
def path_resolve(self):
|
|
644
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
645
|
-
...
|
|
646
|
-
|
|
647
|
-
def poll(self, context):
|
|
648
|
-
"""
|
|
649
|
-
|
|
650
|
-
:param context:
|
|
651
|
-
"""
|
|
652
|
-
...
|
|
653
|
-
|
|
654
|
-
def pop(self):
|
|
655
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
656
|
-
when not found (matches Python's dictionary function of the same name).
|
|
657
|
-
|
|
658
|
-
"""
|
|
659
|
-
...
|
|
660
|
-
|
|
661
|
-
def prepend(self, draw_func):
|
|
662
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
663
|
-
the menus draw function
|
|
664
|
-
|
|
665
|
-
:param draw_func:
|
|
666
|
-
"""
|
|
667
|
-
...
|
|
668
|
-
|
|
669
|
-
def property_overridable_library_set(self) -> bool:
|
|
670
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
671
|
-
|
|
672
|
-
:return: True when the overridable status of the property was successfully set.
|
|
673
|
-
:rtype: bool
|
|
674
|
-
"""
|
|
675
|
-
...
|
|
676
|
-
|
|
677
|
-
def property_unset(self):
|
|
678
|
-
"""Unset a property, will use default value afterward."""
|
|
679
|
-
...
|
|
680
|
-
|
|
681
|
-
def remove(self, draw_func):
|
|
682
|
-
"""Remove a draw function that has been added to this menu
|
|
683
|
-
|
|
684
|
-
:param draw_func:
|
|
685
|
-
"""
|
|
686
|
-
...
|
|
687
|
-
|
|
688
|
-
def type_recast(self):
|
|
689
|
-
"""Return a new instance, this is needed because types
|
|
690
|
-
such as textures can be changed at runtime.
|
|
691
|
-
|
|
692
|
-
:return: a new instance of this object with the type initialized again.
|
|
693
|
-
"""
|
|
694
|
-
...
|
|
695
|
-
|
|
696
|
-
def values(self):
|
|
697
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
698
|
-
dictionary function of the same name).
|
|
699
|
-
|
|
700
|
-
:return: custom property values.
|
|
701
|
-
"""
|
|
702
|
-
...
|
|
703
|
-
|
|
704
|
-
class DATA_PT_EEVEE_light_shadow(DataButtonsPanel, bpy_types._GenericUI):
|
|
705
|
-
COMPAT_ENGINES: typing.Any
|
|
706
|
-
bl_context: typing.Any
|
|
707
|
-
bl_label: typing.Any
|
|
708
|
-
bl_options: typing.Any
|
|
709
|
-
bl_parent_id: typing.Any
|
|
710
|
-
bl_region_type: typing.Any
|
|
711
|
-
bl_rna: typing.Any
|
|
712
|
-
bl_space_type: typing.Any
|
|
713
|
-
id_data: typing.Any
|
|
714
|
-
|
|
715
|
-
def append(self, draw_func):
|
|
716
|
-
"""Append a draw function to this menu,
|
|
717
|
-
takes the same arguments as the menus draw function
|
|
718
|
-
|
|
719
|
-
:param draw_func:
|
|
720
|
-
"""
|
|
721
|
-
...
|
|
722
|
-
|
|
723
|
-
def as_pointer(self) -> int:
|
|
724
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
725
|
-
|
|
726
|
-
:return: int (memory address).
|
|
727
|
-
:rtype: int
|
|
728
|
-
"""
|
|
729
|
-
...
|
|
730
|
-
|
|
731
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
732
|
-
"""
|
|
733
|
-
|
|
734
|
-
:return: The RNA type or default when not found.
|
|
735
|
-
:rtype: bpy.types.Struct
|
|
736
|
-
"""
|
|
737
|
-
...
|
|
738
|
-
|
|
739
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
740
|
-
"""
|
|
741
|
-
|
|
742
|
-
:return: The class or default when not found.
|
|
743
|
-
:rtype: typing.Any
|
|
744
|
-
"""
|
|
745
|
-
...
|
|
746
|
-
|
|
747
|
-
def draw(self, context):
|
|
748
|
-
"""
|
|
749
|
-
|
|
750
|
-
:param context:
|
|
751
|
-
"""
|
|
752
|
-
...
|
|
753
|
-
|
|
754
|
-
def draw_header(self, context):
|
|
755
|
-
"""
|
|
756
|
-
|
|
757
|
-
:param context:
|
|
758
|
-
"""
|
|
759
|
-
...
|
|
760
|
-
|
|
761
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
762
|
-
"""Adds driver(s) to the given property
|
|
763
|
-
|
|
764
|
-
:return: The driver(s) added.
|
|
765
|
-
:rtype: bpy.types.FCurve
|
|
766
|
-
"""
|
|
767
|
-
...
|
|
768
|
-
|
|
769
|
-
def driver_remove(self) -> bool:
|
|
770
|
-
"""Remove driver(s) from the given property
|
|
771
|
-
|
|
772
|
-
:return: Success of driver removal.
|
|
773
|
-
:rtype: bool
|
|
774
|
-
"""
|
|
775
|
-
...
|
|
776
|
-
|
|
777
|
-
def get(self):
|
|
778
|
-
"""Returns the value of the custom property assigned to key or default
|
|
779
|
-
when not found (matches Python's dictionary function of the same name).
|
|
780
|
-
|
|
781
|
-
"""
|
|
782
|
-
...
|
|
783
|
-
|
|
784
|
-
def id_properties_clear(self):
|
|
785
|
-
"""
|
|
786
|
-
|
|
787
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
788
|
-
"""
|
|
789
|
-
...
|
|
790
|
-
|
|
791
|
-
def id_properties_ensure(self):
|
|
792
|
-
"""
|
|
793
|
-
|
|
794
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
795
|
-
"""
|
|
796
|
-
...
|
|
797
|
-
|
|
798
|
-
def id_properties_ui(self):
|
|
799
|
-
"""
|
|
800
|
-
|
|
801
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
802
|
-
"""
|
|
803
|
-
...
|
|
804
|
-
|
|
805
|
-
def is_extended(self): ...
|
|
806
|
-
def is_property_hidden(self) -> bool:
|
|
807
|
-
"""Check if a property is hidden.
|
|
808
|
-
|
|
809
|
-
:return: True when the property is hidden.
|
|
810
|
-
:rtype: bool
|
|
811
|
-
"""
|
|
812
|
-
...
|
|
813
|
-
|
|
814
|
-
def is_property_overridable_library(self) -> bool:
|
|
815
|
-
"""Check if a property is overridable.
|
|
816
|
-
|
|
817
|
-
:return: True when the property is overridable.
|
|
818
|
-
:rtype: bool
|
|
819
|
-
"""
|
|
820
|
-
...
|
|
821
|
-
|
|
822
|
-
def is_property_readonly(self) -> bool:
|
|
823
|
-
"""Check if a property is readonly.
|
|
824
|
-
|
|
825
|
-
:return: True when the property is readonly (not writable).
|
|
826
|
-
:rtype: bool
|
|
827
|
-
"""
|
|
828
|
-
...
|
|
829
|
-
|
|
830
|
-
def is_property_set(self) -> bool:
|
|
831
|
-
"""Check if a property is set, use for testing operator properties.
|
|
832
|
-
|
|
833
|
-
:return: True when the property has been set.
|
|
834
|
-
:rtype: bool
|
|
835
|
-
"""
|
|
836
|
-
...
|
|
837
|
-
|
|
838
|
-
def items(self):
|
|
839
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
840
|
-
dictionary function of the same name).
|
|
841
|
-
|
|
842
|
-
:return: custom property key, value pairs.
|
|
843
|
-
"""
|
|
844
|
-
...
|
|
845
|
-
|
|
846
|
-
def keyframe_delete(self) -> bool:
|
|
847
|
-
"""Remove a keyframe from this properties fcurve.
|
|
848
|
-
|
|
849
|
-
:return: Success of keyframe deletion.
|
|
850
|
-
:rtype: bool
|
|
851
|
-
"""
|
|
852
|
-
...
|
|
853
|
-
|
|
854
|
-
def keyframe_insert(self) -> bool:
|
|
855
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
856
|
-
|
|
857
|
-
:return: Success of keyframe insertion.
|
|
858
|
-
:rtype: bool
|
|
859
|
-
"""
|
|
860
|
-
...
|
|
861
|
-
|
|
862
|
-
def keys(self):
|
|
863
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
864
|
-
dictionary function of the same name).
|
|
865
|
-
|
|
866
|
-
:return: custom property keys.
|
|
867
|
-
"""
|
|
868
|
-
...
|
|
869
|
-
|
|
870
|
-
def path_from_id(self) -> str:
|
|
871
|
-
"""Returns the data path from the ID to this object (string).
|
|
872
|
-
|
|
873
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
874
|
-
to this struct and property (when given).
|
|
875
|
-
:rtype: str
|
|
876
|
-
"""
|
|
877
|
-
...
|
|
878
|
-
|
|
879
|
-
def path_resolve(self):
|
|
880
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
881
|
-
...
|
|
882
|
-
|
|
883
|
-
def poll(self, context):
|
|
884
|
-
"""
|
|
885
|
-
|
|
886
|
-
:param context:
|
|
887
|
-
"""
|
|
888
|
-
...
|
|
889
|
-
|
|
890
|
-
def pop(self):
|
|
891
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
892
|
-
when not found (matches Python's dictionary function of the same name).
|
|
893
|
-
|
|
894
|
-
"""
|
|
895
|
-
...
|
|
896
|
-
|
|
897
|
-
def prepend(self, draw_func):
|
|
898
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
899
|
-
the menus draw function
|
|
900
|
-
|
|
901
|
-
:param draw_func:
|
|
902
|
-
"""
|
|
903
|
-
...
|
|
904
|
-
|
|
905
|
-
def property_overridable_library_set(self) -> bool:
|
|
906
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
907
|
-
|
|
908
|
-
:return: True when the overridable status of the property was successfully set.
|
|
909
|
-
:rtype: bool
|
|
910
|
-
"""
|
|
911
|
-
...
|
|
912
|
-
|
|
913
|
-
def property_unset(self):
|
|
914
|
-
"""Unset a property, will use default value afterward."""
|
|
915
|
-
...
|
|
916
|
-
|
|
917
|
-
def remove(self, draw_func):
|
|
918
|
-
"""Remove a draw function that has been added to this menu
|
|
919
|
-
|
|
920
|
-
:param draw_func:
|
|
921
|
-
"""
|
|
922
|
-
...
|
|
923
|
-
|
|
924
|
-
def type_recast(self):
|
|
925
|
-
"""Return a new instance, this is needed because types
|
|
926
|
-
such as textures can be changed at runtime.
|
|
927
|
-
|
|
928
|
-
:return: a new instance of this object with the type initialized again.
|
|
929
|
-
"""
|
|
930
|
-
...
|
|
931
|
-
|
|
932
|
-
def values(self):
|
|
933
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
934
|
-
dictionary function of the same name).
|
|
935
|
-
|
|
936
|
-
:return: custom property values.
|
|
937
|
-
"""
|
|
938
|
-
...
|
|
939
|
-
|
|
940
|
-
class DATA_PT_EEVEE_shadow(DataButtonsPanel, bpy_types._GenericUI):
|
|
941
|
-
COMPAT_ENGINES: typing.Any
|
|
942
|
-
bl_context: typing.Any
|
|
943
|
-
bl_label: typing.Any
|
|
944
|
-
bl_options: typing.Any
|
|
945
|
-
bl_region_type: typing.Any
|
|
946
|
-
bl_rna: typing.Any
|
|
947
|
-
bl_space_type: typing.Any
|
|
948
|
-
id_data: typing.Any
|
|
949
|
-
|
|
950
|
-
def append(self, draw_func):
|
|
951
|
-
"""Append a draw function to this menu,
|
|
952
|
-
takes the same arguments as the menus draw function
|
|
953
|
-
|
|
954
|
-
:param draw_func:
|
|
955
|
-
"""
|
|
956
|
-
...
|
|
957
|
-
|
|
958
|
-
def as_pointer(self) -> int:
|
|
959
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
960
|
-
|
|
961
|
-
:return: int (memory address).
|
|
962
|
-
:rtype: int
|
|
963
|
-
"""
|
|
964
|
-
...
|
|
965
|
-
|
|
966
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
967
|
-
"""
|
|
968
|
-
|
|
969
|
-
:return: The RNA type or default when not found.
|
|
970
|
-
:rtype: bpy.types.Struct
|
|
971
|
-
"""
|
|
972
|
-
...
|
|
973
|
-
|
|
974
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
975
|
-
"""
|
|
976
|
-
|
|
977
|
-
:return: The class or default when not found.
|
|
978
|
-
:rtype: typing.Any
|
|
979
|
-
"""
|
|
980
|
-
...
|
|
981
|
-
|
|
982
|
-
def draw(self, context):
|
|
983
|
-
"""
|
|
984
|
-
|
|
985
|
-
:param context:
|
|
986
|
-
"""
|
|
987
|
-
...
|
|
988
|
-
|
|
989
|
-
def draw_header(self, context):
|
|
990
|
-
"""
|
|
991
|
-
|
|
992
|
-
:param context:
|
|
993
|
-
"""
|
|
994
|
-
...
|
|
995
|
-
|
|
996
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
997
|
-
"""Adds driver(s) to the given property
|
|
998
|
-
|
|
999
|
-
:return: The driver(s) added.
|
|
1000
|
-
:rtype: bpy.types.FCurve
|
|
1001
|
-
"""
|
|
1002
|
-
...
|
|
1003
|
-
|
|
1004
|
-
def driver_remove(self) -> bool:
|
|
1005
|
-
"""Remove driver(s) from the given property
|
|
1006
|
-
|
|
1007
|
-
:return: Success of driver removal.
|
|
1008
|
-
:rtype: bool
|
|
1009
|
-
"""
|
|
1010
|
-
...
|
|
1011
|
-
|
|
1012
|
-
def get(self):
|
|
1013
|
-
"""Returns the value of the custom property assigned to key or default
|
|
1014
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1015
|
-
|
|
1016
|
-
"""
|
|
1017
|
-
...
|
|
1018
|
-
|
|
1019
|
-
def id_properties_clear(self):
|
|
1020
|
-
"""
|
|
1021
|
-
|
|
1022
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
1023
|
-
"""
|
|
1024
|
-
...
|
|
1025
|
-
|
|
1026
|
-
def id_properties_ensure(self):
|
|
1027
|
-
"""
|
|
1028
|
-
|
|
1029
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
1030
|
-
"""
|
|
1031
|
-
...
|
|
1032
|
-
|
|
1033
|
-
def id_properties_ui(self):
|
|
1034
|
-
"""
|
|
1035
|
-
|
|
1036
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
1037
|
-
"""
|
|
1038
|
-
...
|
|
1039
|
-
|
|
1040
|
-
def is_extended(self): ...
|
|
1041
|
-
def is_property_hidden(self) -> bool:
|
|
1042
|
-
"""Check if a property is hidden.
|
|
1043
|
-
|
|
1044
|
-
:return: True when the property is hidden.
|
|
1045
|
-
:rtype: bool
|
|
1046
|
-
"""
|
|
1047
|
-
...
|
|
1048
|
-
|
|
1049
|
-
def is_property_overridable_library(self) -> bool:
|
|
1050
|
-
"""Check if a property is overridable.
|
|
1051
|
-
|
|
1052
|
-
:return: True when the property is overridable.
|
|
1053
|
-
:rtype: bool
|
|
1054
|
-
"""
|
|
1055
|
-
...
|
|
1056
|
-
|
|
1057
|
-
def is_property_readonly(self) -> bool:
|
|
1058
|
-
"""Check if a property is readonly.
|
|
1059
|
-
|
|
1060
|
-
:return: True when the property is readonly (not writable).
|
|
1061
|
-
:rtype: bool
|
|
1062
|
-
"""
|
|
1063
|
-
...
|
|
1064
|
-
|
|
1065
|
-
def is_property_set(self) -> bool:
|
|
1066
|
-
"""Check if a property is set, use for testing operator properties.
|
|
1067
|
-
|
|
1068
|
-
:return: True when the property has been set.
|
|
1069
|
-
:rtype: bool
|
|
1070
|
-
"""
|
|
1071
|
-
...
|
|
1072
|
-
|
|
1073
|
-
def items(self):
|
|
1074
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
1075
|
-
dictionary function of the same name).
|
|
1076
|
-
|
|
1077
|
-
:return: custom property key, value pairs.
|
|
1078
|
-
"""
|
|
1079
|
-
...
|
|
1080
|
-
|
|
1081
|
-
def keyframe_delete(self) -> bool:
|
|
1082
|
-
"""Remove a keyframe from this properties fcurve.
|
|
1083
|
-
|
|
1084
|
-
:return: Success of keyframe deletion.
|
|
1085
|
-
:rtype: bool
|
|
1086
|
-
"""
|
|
1087
|
-
...
|
|
1088
|
-
|
|
1089
|
-
def keyframe_insert(self) -> bool:
|
|
1090
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
1091
|
-
|
|
1092
|
-
:return: Success of keyframe insertion.
|
|
1093
|
-
:rtype: bool
|
|
1094
|
-
"""
|
|
1095
|
-
...
|
|
1096
|
-
|
|
1097
|
-
def keys(self):
|
|
1098
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
1099
|
-
dictionary function of the same name).
|
|
1100
|
-
|
|
1101
|
-
:return: custom property keys.
|
|
1102
|
-
"""
|
|
1103
|
-
...
|
|
1104
|
-
|
|
1105
|
-
def path_from_id(self) -> str:
|
|
1106
|
-
"""Returns the data path from the ID to this object (string).
|
|
1107
|
-
|
|
1108
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
1109
|
-
to this struct and property (when given).
|
|
1110
|
-
:rtype: str
|
|
1111
|
-
"""
|
|
1112
|
-
...
|
|
1113
|
-
|
|
1114
|
-
def path_resolve(self):
|
|
1115
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
1116
|
-
...
|
|
1117
|
-
|
|
1118
|
-
@classmethod
|
|
1119
|
-
def poll(cls, context):
|
|
1120
|
-
"""
|
|
1121
|
-
|
|
1122
|
-
:param context:
|
|
1123
|
-
"""
|
|
1124
|
-
...
|
|
1125
|
-
|
|
1126
|
-
def pop(self):
|
|
1127
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
1128
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1129
|
-
|
|
1130
|
-
"""
|
|
1131
|
-
...
|
|
1132
|
-
|
|
1133
|
-
def prepend(self, draw_func):
|
|
1134
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
1135
|
-
the menus draw function
|
|
1136
|
-
|
|
1137
|
-
:param draw_func:
|
|
1138
|
-
"""
|
|
1139
|
-
...
|
|
1140
|
-
|
|
1141
|
-
def property_overridable_library_set(self) -> bool:
|
|
1142
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
1143
|
-
|
|
1144
|
-
:return: True when the overridable status of the property was successfully set.
|
|
1145
|
-
:rtype: bool
|
|
1146
|
-
"""
|
|
1147
|
-
...
|
|
1148
|
-
|
|
1149
|
-
def property_unset(self):
|
|
1150
|
-
"""Unset a property, will use default value afterward."""
|
|
1151
|
-
...
|
|
1152
|
-
|
|
1153
|
-
def remove(self, draw_func):
|
|
1154
|
-
"""Remove a draw function that has been added to this menu
|
|
1155
|
-
|
|
1156
|
-
:param draw_func:
|
|
1157
|
-
"""
|
|
1158
|
-
...
|
|
1159
|
-
|
|
1160
|
-
def type_recast(self):
|
|
1161
|
-
"""Return a new instance, this is needed because types
|
|
1162
|
-
such as textures can be changed at runtime.
|
|
1163
|
-
|
|
1164
|
-
:return: a new instance of this object with the type initialized again.
|
|
1165
|
-
"""
|
|
1166
|
-
...
|
|
1167
|
-
|
|
1168
|
-
def values(self):
|
|
1169
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
1170
|
-
dictionary function of the same name).
|
|
1171
|
-
|
|
1172
|
-
:return: custom property values.
|
|
1173
|
-
"""
|
|
1174
|
-
...
|
|
1175
|
-
|
|
1176
|
-
class DATA_PT_EEVEE_shadow_cascaded_shadow_map(DataButtonsPanel, bpy_types._GenericUI):
|
|
1177
|
-
COMPAT_ENGINES: typing.Any
|
|
1178
|
-
bl_context: typing.Any
|
|
1179
|
-
bl_label: typing.Any
|
|
1180
|
-
bl_options: typing.Any
|
|
1181
|
-
bl_parent_id: typing.Any
|
|
1182
|
-
bl_region_type: typing.Any
|
|
1183
|
-
bl_rna: typing.Any
|
|
1184
|
-
bl_space_type: typing.Any
|
|
1185
|
-
id_data: typing.Any
|
|
1186
|
-
|
|
1187
|
-
def append(self, draw_func):
|
|
1188
|
-
"""Append a draw function to this menu,
|
|
1189
|
-
takes the same arguments as the menus draw function
|
|
1190
|
-
|
|
1191
|
-
:param draw_func:
|
|
1192
|
-
"""
|
|
1193
|
-
...
|
|
1194
|
-
|
|
1195
|
-
def as_pointer(self) -> int:
|
|
1196
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
1197
|
-
|
|
1198
|
-
:return: int (memory address).
|
|
1199
|
-
:rtype: int
|
|
1200
|
-
"""
|
|
1201
|
-
...
|
|
1202
|
-
|
|
1203
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
1204
|
-
"""
|
|
1205
|
-
|
|
1206
|
-
:return: The RNA type or default when not found.
|
|
1207
|
-
:rtype: bpy.types.Struct
|
|
1208
|
-
"""
|
|
1209
|
-
...
|
|
1210
|
-
|
|
1211
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
1212
|
-
"""
|
|
1213
|
-
|
|
1214
|
-
:return: The class or default when not found.
|
|
1215
|
-
:rtype: typing.Any
|
|
1216
|
-
"""
|
|
1217
|
-
...
|
|
1218
|
-
|
|
1219
|
-
def draw(self, context):
|
|
1220
|
-
"""
|
|
1221
|
-
|
|
1222
|
-
:param context:
|
|
1223
|
-
"""
|
|
1224
|
-
...
|
|
1225
|
-
|
|
1226
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
1227
|
-
"""Adds driver(s) to the given property
|
|
1228
|
-
|
|
1229
|
-
:return: The driver(s) added.
|
|
1230
|
-
:rtype: bpy.types.FCurve
|
|
1231
|
-
"""
|
|
1232
|
-
...
|
|
1233
|
-
|
|
1234
|
-
def driver_remove(self) -> bool:
|
|
1235
|
-
"""Remove driver(s) from the given property
|
|
1236
|
-
|
|
1237
|
-
:return: Success of driver removal.
|
|
1238
|
-
:rtype: bool
|
|
1239
|
-
"""
|
|
1240
|
-
...
|
|
1241
|
-
|
|
1242
|
-
def get(self):
|
|
1243
|
-
"""Returns the value of the custom property assigned to key or default
|
|
1244
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1245
|
-
|
|
1246
|
-
"""
|
|
1247
|
-
...
|
|
1248
|
-
|
|
1249
|
-
def id_properties_clear(self):
|
|
1250
|
-
"""
|
|
1251
|
-
|
|
1252
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
1253
|
-
"""
|
|
1254
|
-
...
|
|
1255
|
-
|
|
1256
|
-
def id_properties_ensure(self):
|
|
1257
|
-
"""
|
|
1258
|
-
|
|
1259
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
1260
|
-
"""
|
|
1261
|
-
...
|
|
1262
|
-
|
|
1263
|
-
def id_properties_ui(self):
|
|
1264
|
-
"""
|
|
1265
|
-
|
|
1266
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
1267
|
-
"""
|
|
1268
|
-
...
|
|
1269
|
-
|
|
1270
|
-
def is_extended(self): ...
|
|
1271
|
-
def is_property_hidden(self) -> bool:
|
|
1272
|
-
"""Check if a property is hidden.
|
|
1273
|
-
|
|
1274
|
-
:return: True when the property is hidden.
|
|
1275
|
-
:rtype: bool
|
|
1276
|
-
"""
|
|
1277
|
-
...
|
|
1278
|
-
|
|
1279
|
-
def is_property_overridable_library(self) -> bool:
|
|
1280
|
-
"""Check if a property is overridable.
|
|
1281
|
-
|
|
1282
|
-
:return: True when the property is overridable.
|
|
1283
|
-
:rtype: bool
|
|
1284
|
-
"""
|
|
1285
|
-
...
|
|
1286
|
-
|
|
1287
|
-
def is_property_readonly(self) -> bool:
|
|
1288
|
-
"""Check if a property is readonly.
|
|
1289
|
-
|
|
1290
|
-
:return: True when the property is readonly (not writable).
|
|
1291
|
-
:rtype: bool
|
|
1292
|
-
"""
|
|
1293
|
-
...
|
|
1294
|
-
|
|
1295
|
-
def is_property_set(self) -> bool:
|
|
1296
|
-
"""Check if a property is set, use for testing operator properties.
|
|
1297
|
-
|
|
1298
|
-
:return: True when the property has been set.
|
|
1299
|
-
:rtype: bool
|
|
1300
|
-
"""
|
|
1301
|
-
...
|
|
1302
|
-
|
|
1303
|
-
def items(self):
|
|
1304
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
1305
|
-
dictionary function of the same name).
|
|
1306
|
-
|
|
1307
|
-
:return: custom property key, value pairs.
|
|
1308
|
-
"""
|
|
1309
|
-
...
|
|
1310
|
-
|
|
1311
|
-
def keyframe_delete(self) -> bool:
|
|
1312
|
-
"""Remove a keyframe from this properties fcurve.
|
|
1313
|
-
|
|
1314
|
-
:return: Success of keyframe deletion.
|
|
1315
|
-
:rtype: bool
|
|
1316
|
-
"""
|
|
1317
|
-
...
|
|
1318
|
-
|
|
1319
|
-
def keyframe_insert(self) -> bool:
|
|
1320
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
1321
|
-
|
|
1322
|
-
:return: Success of keyframe insertion.
|
|
1323
|
-
:rtype: bool
|
|
1324
|
-
"""
|
|
1325
|
-
...
|
|
1326
|
-
|
|
1327
|
-
def keys(self):
|
|
1328
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
1329
|
-
dictionary function of the same name).
|
|
1330
|
-
|
|
1331
|
-
:return: custom property keys.
|
|
1332
|
-
"""
|
|
1333
|
-
...
|
|
1334
|
-
|
|
1335
|
-
def path_from_id(self) -> str:
|
|
1336
|
-
"""Returns the data path from the ID to this object (string).
|
|
1337
|
-
|
|
1338
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
1339
|
-
to this struct and property (when given).
|
|
1340
|
-
:rtype: str
|
|
1341
|
-
"""
|
|
1342
|
-
...
|
|
1343
|
-
|
|
1344
|
-
def path_resolve(self):
|
|
1345
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
1346
|
-
...
|
|
1347
|
-
|
|
1348
|
-
@classmethod
|
|
1349
|
-
def poll(cls, context):
|
|
1350
|
-
"""
|
|
1351
|
-
|
|
1352
|
-
:param context:
|
|
1353
|
-
"""
|
|
1354
|
-
...
|
|
1355
|
-
|
|
1356
|
-
def pop(self):
|
|
1357
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
1358
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1359
|
-
|
|
1360
|
-
"""
|
|
1361
|
-
...
|
|
1362
|
-
|
|
1363
|
-
def prepend(self, draw_func):
|
|
1364
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
1365
|
-
the menus draw function
|
|
1366
|
-
|
|
1367
|
-
:param draw_func:
|
|
1368
|
-
"""
|
|
1369
|
-
...
|
|
1370
|
-
|
|
1371
|
-
def property_overridable_library_set(self) -> bool:
|
|
1372
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
1373
|
-
|
|
1374
|
-
:return: True when the overridable status of the property was successfully set.
|
|
1375
|
-
:rtype: bool
|
|
1376
|
-
"""
|
|
1377
|
-
...
|
|
1378
|
-
|
|
1379
|
-
def property_unset(self):
|
|
1380
|
-
"""Unset a property, will use default value afterward."""
|
|
1381
|
-
...
|
|
1382
|
-
|
|
1383
|
-
def remove(self, draw_func):
|
|
1384
|
-
"""Remove a draw function that has been added to this menu
|
|
1385
|
-
|
|
1386
|
-
:param draw_func:
|
|
1387
|
-
"""
|
|
1388
|
-
...
|
|
1389
|
-
|
|
1390
|
-
def type_recast(self):
|
|
1391
|
-
"""Return a new instance, this is needed because types
|
|
1392
|
-
such as textures can be changed at runtime.
|
|
1393
|
-
|
|
1394
|
-
:return: a new instance of this object with the type initialized again.
|
|
1395
|
-
"""
|
|
1396
|
-
...
|
|
1397
|
-
|
|
1398
|
-
def values(self):
|
|
1399
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
1400
|
-
dictionary function of the same name).
|
|
1401
|
-
|
|
1402
|
-
:return: custom property values.
|
|
1403
|
-
"""
|
|
1404
|
-
...
|
|
1405
|
-
|
|
1406
|
-
class DATA_PT_EEVEE_shadow_contact(DataButtonsPanel, bpy_types._GenericUI):
|
|
1407
|
-
COMPAT_ENGINES: typing.Any
|
|
1408
|
-
bl_context: typing.Any
|
|
1409
|
-
bl_label: typing.Any
|
|
1410
|
-
bl_parent_id: typing.Any
|
|
1411
|
-
bl_region_type: typing.Any
|
|
1412
|
-
bl_rna: typing.Any
|
|
1413
|
-
bl_space_type: typing.Any
|
|
1414
|
-
id_data: typing.Any
|
|
1415
|
-
|
|
1416
|
-
def append(self, draw_func):
|
|
1417
|
-
"""Append a draw function to this menu,
|
|
1418
|
-
takes the same arguments as the menus draw function
|
|
1419
|
-
|
|
1420
|
-
:param draw_func:
|
|
1421
|
-
"""
|
|
1422
|
-
...
|
|
1423
|
-
|
|
1424
|
-
def as_pointer(self) -> int:
|
|
1425
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
1426
|
-
|
|
1427
|
-
:return: int (memory address).
|
|
1428
|
-
:rtype: int
|
|
1429
|
-
"""
|
|
1430
|
-
...
|
|
1431
|
-
|
|
1432
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
1433
|
-
"""
|
|
1434
|
-
|
|
1435
|
-
:return: The RNA type or default when not found.
|
|
1436
|
-
:rtype: bpy.types.Struct
|
|
1437
|
-
"""
|
|
1438
|
-
...
|
|
1439
|
-
|
|
1440
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
1441
|
-
"""
|
|
1442
|
-
|
|
1443
|
-
:return: The class or default when not found.
|
|
1444
|
-
:rtype: typing.Any
|
|
1445
|
-
"""
|
|
1446
|
-
...
|
|
1447
|
-
|
|
1448
|
-
def draw(self, context):
|
|
1449
|
-
"""
|
|
1450
|
-
|
|
1451
|
-
:param context:
|
|
1452
|
-
"""
|
|
1453
|
-
...
|
|
1454
|
-
|
|
1455
|
-
def draw_header(self, context):
|
|
1456
|
-
"""
|
|
1457
|
-
|
|
1458
|
-
:param context:
|
|
1459
|
-
"""
|
|
1460
|
-
...
|
|
1461
|
-
|
|
1462
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
1463
|
-
"""Adds driver(s) to the given property
|
|
1464
|
-
|
|
1465
|
-
:return: The driver(s) added.
|
|
1466
|
-
:rtype: bpy.types.FCurve
|
|
1467
|
-
"""
|
|
1468
|
-
...
|
|
1469
|
-
|
|
1470
|
-
def driver_remove(self) -> bool:
|
|
1471
|
-
"""Remove driver(s) from the given property
|
|
1472
|
-
|
|
1473
|
-
:return: Success of driver removal.
|
|
1474
|
-
:rtype: bool
|
|
1475
|
-
"""
|
|
1476
|
-
...
|
|
1477
|
-
|
|
1478
|
-
def get(self):
|
|
1479
|
-
"""Returns the value of the custom property assigned to key or default
|
|
1480
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1481
|
-
|
|
1482
|
-
"""
|
|
1483
|
-
...
|
|
1484
|
-
|
|
1485
|
-
def id_properties_clear(self):
|
|
1486
|
-
"""
|
|
1487
|
-
|
|
1488
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
1489
|
-
"""
|
|
1490
|
-
...
|
|
1491
|
-
|
|
1492
|
-
def id_properties_ensure(self):
|
|
1493
|
-
"""
|
|
1494
|
-
|
|
1495
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
1496
|
-
"""
|
|
1497
|
-
...
|
|
1498
|
-
|
|
1499
|
-
def id_properties_ui(self):
|
|
1500
|
-
"""
|
|
1501
|
-
|
|
1502
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
1503
|
-
"""
|
|
1504
|
-
...
|
|
1505
|
-
|
|
1506
|
-
def is_extended(self): ...
|
|
1507
|
-
def is_property_hidden(self) -> bool:
|
|
1508
|
-
"""Check if a property is hidden.
|
|
1509
|
-
|
|
1510
|
-
:return: True when the property is hidden.
|
|
1511
|
-
:rtype: bool
|
|
1512
|
-
"""
|
|
1513
|
-
...
|
|
1514
|
-
|
|
1515
|
-
def is_property_overridable_library(self) -> bool:
|
|
1516
|
-
"""Check if a property is overridable.
|
|
1517
|
-
|
|
1518
|
-
:return: True when the property is overridable.
|
|
1519
|
-
:rtype: bool
|
|
1520
|
-
"""
|
|
1521
|
-
...
|
|
1522
|
-
|
|
1523
|
-
def is_property_readonly(self) -> bool:
|
|
1524
|
-
"""Check if a property is readonly.
|
|
1525
|
-
|
|
1526
|
-
:return: True when the property is readonly (not writable).
|
|
1527
|
-
:rtype: bool
|
|
1528
|
-
"""
|
|
1529
|
-
...
|
|
1530
|
-
|
|
1531
|
-
def is_property_set(self) -> bool:
|
|
1532
|
-
"""Check if a property is set, use for testing operator properties.
|
|
1533
|
-
|
|
1534
|
-
:return: True when the property has been set.
|
|
1535
|
-
:rtype: bool
|
|
1536
|
-
"""
|
|
1537
|
-
...
|
|
1538
|
-
|
|
1539
|
-
def items(self):
|
|
1540
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
1541
|
-
dictionary function of the same name).
|
|
1542
|
-
|
|
1543
|
-
:return: custom property key, value pairs.
|
|
1544
|
-
"""
|
|
1545
|
-
...
|
|
1546
|
-
|
|
1547
|
-
def keyframe_delete(self) -> bool:
|
|
1548
|
-
"""Remove a keyframe from this properties fcurve.
|
|
1549
|
-
|
|
1550
|
-
:return: Success of keyframe deletion.
|
|
1551
|
-
:rtype: bool
|
|
1552
|
-
"""
|
|
1553
|
-
...
|
|
1554
|
-
|
|
1555
|
-
def keyframe_insert(self) -> bool:
|
|
1556
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
1557
|
-
|
|
1558
|
-
:return: Success of keyframe insertion.
|
|
1559
|
-
:rtype: bool
|
|
1560
|
-
"""
|
|
1561
|
-
...
|
|
1562
|
-
|
|
1563
|
-
def keys(self):
|
|
1564
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
1565
|
-
dictionary function of the same name).
|
|
1566
|
-
|
|
1567
|
-
:return: custom property keys.
|
|
1568
|
-
"""
|
|
1569
|
-
...
|
|
1570
|
-
|
|
1571
|
-
def path_from_id(self) -> str:
|
|
1572
|
-
"""Returns the data path from the ID to this object (string).
|
|
1573
|
-
|
|
1574
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
1575
|
-
to this struct and property (when given).
|
|
1576
|
-
:rtype: str
|
|
1577
|
-
"""
|
|
1578
|
-
...
|
|
1579
|
-
|
|
1580
|
-
def path_resolve(self):
|
|
1581
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
1582
|
-
...
|
|
1583
|
-
|
|
1584
|
-
@classmethod
|
|
1585
|
-
def poll(cls, context):
|
|
1586
|
-
"""
|
|
1587
|
-
|
|
1588
|
-
:param context:
|
|
1589
|
-
"""
|
|
1590
|
-
...
|
|
1591
|
-
|
|
1592
|
-
def pop(self):
|
|
1593
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
1594
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1595
|
-
|
|
1596
|
-
"""
|
|
1597
|
-
...
|
|
1598
|
-
|
|
1599
|
-
def prepend(self, draw_func):
|
|
1600
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
1601
|
-
the menus draw function
|
|
1602
|
-
|
|
1603
|
-
:param draw_func:
|
|
1604
|
-
"""
|
|
1605
|
-
...
|
|
1606
|
-
|
|
1607
|
-
def property_overridable_library_set(self) -> bool:
|
|
1608
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
1609
|
-
|
|
1610
|
-
:return: True when the overridable status of the property was successfully set.
|
|
1611
|
-
:rtype: bool
|
|
1612
|
-
"""
|
|
1613
|
-
...
|
|
1614
|
-
|
|
1615
|
-
def property_unset(self):
|
|
1616
|
-
"""Unset a property, will use default value afterward."""
|
|
1617
|
-
...
|
|
1618
|
-
|
|
1619
|
-
def remove(self, draw_func):
|
|
1620
|
-
"""Remove a draw function that has been added to this menu
|
|
1621
|
-
|
|
1622
|
-
:param draw_func:
|
|
1623
|
-
"""
|
|
1624
|
-
...
|
|
1625
|
-
|
|
1626
|
-
def type_recast(self):
|
|
1627
|
-
"""Return a new instance, this is needed because types
|
|
1628
|
-
such as textures can be changed at runtime.
|
|
1629
|
-
|
|
1630
|
-
:return: a new instance of this object with the type initialized again.
|
|
1631
|
-
"""
|
|
1632
|
-
...
|
|
1633
|
-
|
|
1634
|
-
def values(self):
|
|
1635
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
1636
|
-
dictionary function of the same name).
|
|
1637
|
-
|
|
1638
|
-
:return: custom property values.
|
|
1639
|
-
"""
|
|
1640
|
-
...
|
|
1641
|
-
|
|
1642
|
-
class DATA_PT_context_light(DataButtonsPanel, bpy_types._GenericUI):
|
|
1643
|
-
COMPAT_ENGINES: typing.Any
|
|
1644
|
-
bl_context: typing.Any
|
|
1645
|
-
bl_label: typing.Any
|
|
1646
|
-
bl_options: typing.Any
|
|
1647
|
-
bl_region_type: typing.Any
|
|
1648
|
-
bl_rna: typing.Any
|
|
1649
|
-
bl_space_type: typing.Any
|
|
1650
|
-
id_data: typing.Any
|
|
1651
|
-
|
|
1652
|
-
def append(self, draw_func):
|
|
1653
|
-
"""Append a draw function to this menu,
|
|
1654
|
-
takes the same arguments as the menus draw function
|
|
1655
|
-
|
|
1656
|
-
:param draw_func:
|
|
1657
|
-
"""
|
|
1658
|
-
...
|
|
1659
|
-
|
|
1660
|
-
def as_pointer(self) -> int:
|
|
1661
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
1662
|
-
|
|
1663
|
-
:return: int (memory address).
|
|
1664
|
-
:rtype: int
|
|
1665
|
-
"""
|
|
1666
|
-
...
|
|
1667
|
-
|
|
1668
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
1669
|
-
"""
|
|
1670
|
-
|
|
1671
|
-
:return: The RNA type or default when not found.
|
|
1672
|
-
:rtype: bpy.types.Struct
|
|
1673
|
-
"""
|
|
1674
|
-
...
|
|
1675
|
-
|
|
1676
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
1677
|
-
"""
|
|
1678
|
-
|
|
1679
|
-
:return: The class or default when not found.
|
|
1680
|
-
:rtype: typing.Any
|
|
1681
|
-
"""
|
|
1682
|
-
...
|
|
1683
|
-
|
|
1684
|
-
def draw(self, context):
|
|
1685
|
-
"""
|
|
1686
|
-
|
|
1687
|
-
:param context:
|
|
1688
|
-
"""
|
|
1689
|
-
...
|
|
1690
|
-
|
|
1691
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
1692
|
-
"""Adds driver(s) to the given property
|
|
1693
|
-
|
|
1694
|
-
:return: The driver(s) added.
|
|
1695
|
-
:rtype: bpy.types.FCurve
|
|
1696
|
-
"""
|
|
1697
|
-
...
|
|
1698
|
-
|
|
1699
|
-
def driver_remove(self) -> bool:
|
|
1700
|
-
"""Remove driver(s) from the given property
|
|
1701
|
-
|
|
1702
|
-
:return: Success of driver removal.
|
|
1703
|
-
:rtype: bool
|
|
1704
|
-
"""
|
|
1705
|
-
...
|
|
1706
|
-
|
|
1707
|
-
def get(self):
|
|
1708
|
-
"""Returns the value of the custom property assigned to key or default
|
|
1709
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1710
|
-
|
|
1711
|
-
"""
|
|
1712
|
-
...
|
|
1713
|
-
|
|
1714
|
-
def id_properties_clear(self):
|
|
1715
|
-
"""
|
|
1716
|
-
|
|
1717
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
1718
|
-
"""
|
|
1719
|
-
...
|
|
1720
|
-
|
|
1721
|
-
def id_properties_ensure(self):
|
|
1722
|
-
"""
|
|
1723
|
-
|
|
1724
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
1725
|
-
"""
|
|
1726
|
-
...
|
|
1727
|
-
|
|
1728
|
-
def id_properties_ui(self):
|
|
1729
|
-
"""
|
|
1730
|
-
|
|
1731
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
1732
|
-
"""
|
|
1733
|
-
...
|
|
1734
|
-
|
|
1735
|
-
def is_extended(self): ...
|
|
1736
|
-
def is_property_hidden(self) -> bool:
|
|
1737
|
-
"""Check if a property is hidden.
|
|
1738
|
-
|
|
1739
|
-
:return: True when the property is hidden.
|
|
1740
|
-
:rtype: bool
|
|
1741
|
-
"""
|
|
1742
|
-
...
|
|
1743
|
-
|
|
1744
|
-
def is_property_overridable_library(self) -> bool:
|
|
1745
|
-
"""Check if a property is overridable.
|
|
1746
|
-
|
|
1747
|
-
:return: True when the property is overridable.
|
|
1748
|
-
:rtype: bool
|
|
1749
|
-
"""
|
|
1750
|
-
...
|
|
1751
|
-
|
|
1752
|
-
def is_property_readonly(self) -> bool:
|
|
1753
|
-
"""Check if a property is readonly.
|
|
1754
|
-
|
|
1755
|
-
:return: True when the property is readonly (not writable).
|
|
1756
|
-
:rtype: bool
|
|
1757
|
-
"""
|
|
1758
|
-
...
|
|
1759
|
-
|
|
1760
|
-
def is_property_set(self) -> bool:
|
|
1761
|
-
"""Check if a property is set, use for testing operator properties.
|
|
1762
|
-
|
|
1763
|
-
:return: True when the property has been set.
|
|
1764
|
-
:rtype: bool
|
|
1765
|
-
"""
|
|
1766
|
-
...
|
|
1767
|
-
|
|
1768
|
-
def items(self):
|
|
1769
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
1770
|
-
dictionary function of the same name).
|
|
1771
|
-
|
|
1772
|
-
:return: custom property key, value pairs.
|
|
1773
|
-
"""
|
|
1774
|
-
...
|
|
1775
|
-
|
|
1776
|
-
def keyframe_delete(self) -> bool:
|
|
1777
|
-
"""Remove a keyframe from this properties fcurve.
|
|
1778
|
-
|
|
1779
|
-
:return: Success of keyframe deletion.
|
|
1780
|
-
:rtype: bool
|
|
1781
|
-
"""
|
|
1782
|
-
...
|
|
1783
|
-
|
|
1784
|
-
def keyframe_insert(self) -> bool:
|
|
1785
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
1786
|
-
|
|
1787
|
-
:return: Success of keyframe insertion.
|
|
1788
|
-
:rtype: bool
|
|
1789
|
-
"""
|
|
1790
|
-
...
|
|
1791
|
-
|
|
1792
|
-
def keys(self):
|
|
1793
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
1794
|
-
dictionary function of the same name).
|
|
1795
|
-
|
|
1796
|
-
:return: custom property keys.
|
|
1797
|
-
"""
|
|
1798
|
-
...
|
|
1799
|
-
|
|
1800
|
-
def path_from_id(self) -> str:
|
|
1801
|
-
"""Returns the data path from the ID to this object (string).
|
|
1802
|
-
|
|
1803
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
1804
|
-
to this struct and property (when given).
|
|
1805
|
-
:rtype: str
|
|
1806
|
-
"""
|
|
1807
|
-
...
|
|
1808
|
-
|
|
1809
|
-
def path_resolve(self):
|
|
1810
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
1811
|
-
...
|
|
1812
|
-
|
|
1813
|
-
def poll(self, context):
|
|
1814
|
-
"""
|
|
1815
|
-
|
|
1816
|
-
:param context:
|
|
1817
|
-
"""
|
|
1818
|
-
...
|
|
1819
|
-
|
|
1820
|
-
def pop(self):
|
|
1821
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
1822
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1823
|
-
|
|
1824
|
-
"""
|
|
1825
|
-
...
|
|
1826
|
-
|
|
1827
|
-
def prepend(self, draw_func):
|
|
1828
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
1829
|
-
the menus draw function
|
|
1830
|
-
|
|
1831
|
-
:param draw_func:
|
|
1832
|
-
"""
|
|
1833
|
-
...
|
|
1834
|
-
|
|
1835
|
-
def property_overridable_library_set(self) -> bool:
|
|
1836
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
1837
|
-
|
|
1838
|
-
:return: True when the overridable status of the property was successfully set.
|
|
1839
|
-
:rtype: bool
|
|
1840
|
-
"""
|
|
1841
|
-
...
|
|
1842
|
-
|
|
1843
|
-
def property_unset(self):
|
|
1844
|
-
"""Unset a property, will use default value afterward."""
|
|
1845
|
-
...
|
|
1846
|
-
|
|
1847
|
-
def remove(self, draw_func):
|
|
1848
|
-
"""Remove a draw function that has been added to this menu
|
|
1849
|
-
|
|
1850
|
-
:param draw_func:
|
|
1851
|
-
"""
|
|
1852
|
-
...
|
|
1853
|
-
|
|
1854
|
-
def type_recast(self):
|
|
1855
|
-
"""Return a new instance, this is needed because types
|
|
1856
|
-
such as textures can be changed at runtime.
|
|
1857
|
-
|
|
1858
|
-
:return: a new instance of this object with the type initialized again.
|
|
1859
|
-
"""
|
|
1860
|
-
...
|
|
1861
|
-
|
|
1862
|
-
def values(self):
|
|
1863
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
1864
|
-
dictionary function of the same name).
|
|
1865
|
-
|
|
1866
|
-
:return: custom property values.
|
|
1867
|
-
"""
|
|
1868
|
-
...
|
|
1869
|
-
|
|
1870
|
-
class DATA_PT_custom_props_light(
|
|
1871
|
-
DataButtonsPanel, rna_prop_ui.PropertyPanel, bpy_types._GenericUI
|
|
1872
|
-
):
|
|
1873
|
-
"""The subclass should have its own poll function
|
|
1874
|
-
and the variable '_context_path' MUST be set.
|
|
1875
|
-
"""
|
|
1876
|
-
|
|
1877
|
-
COMPAT_ENGINES: typing.Any
|
|
1878
|
-
bl_context: typing.Any
|
|
1879
|
-
bl_label: typing.Any
|
|
1880
|
-
bl_options: typing.Any
|
|
1881
|
-
bl_order: typing.Any
|
|
1882
|
-
bl_region_type: typing.Any
|
|
1883
|
-
bl_rna: typing.Any
|
|
1884
|
-
bl_space_type: typing.Any
|
|
1885
|
-
id_data: typing.Any
|
|
1886
|
-
|
|
1887
|
-
def append(self, draw_func):
|
|
1888
|
-
"""Append a draw function to this menu,
|
|
1889
|
-
takes the same arguments as the menus draw function
|
|
1890
|
-
|
|
1891
|
-
:param draw_func:
|
|
1892
|
-
"""
|
|
1893
|
-
...
|
|
1894
|
-
|
|
1895
|
-
def as_pointer(self) -> int:
|
|
1896
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
1897
|
-
|
|
1898
|
-
:return: int (memory address).
|
|
1899
|
-
:rtype: int
|
|
1900
|
-
"""
|
|
1901
|
-
...
|
|
1902
|
-
|
|
1903
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
1904
|
-
"""
|
|
1905
|
-
|
|
1906
|
-
:return: The RNA type or default when not found.
|
|
1907
|
-
:rtype: bpy.types.Struct
|
|
1908
|
-
"""
|
|
1909
|
-
...
|
|
1910
|
-
|
|
1911
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
1912
|
-
"""
|
|
1913
|
-
|
|
1914
|
-
:return: The class or default when not found.
|
|
1915
|
-
:rtype: typing.Any
|
|
1916
|
-
"""
|
|
1917
|
-
...
|
|
1918
|
-
|
|
1919
|
-
def draw(self, context):
|
|
1920
|
-
"""
|
|
1921
|
-
|
|
1922
|
-
:param context:
|
|
1923
|
-
"""
|
|
1924
|
-
...
|
|
1925
|
-
|
|
1926
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
1927
|
-
"""Adds driver(s) to the given property
|
|
1928
|
-
|
|
1929
|
-
:return: The driver(s) added.
|
|
1930
|
-
:rtype: bpy.types.FCurve
|
|
1931
|
-
"""
|
|
1932
|
-
...
|
|
1933
|
-
|
|
1934
|
-
def driver_remove(self) -> bool:
|
|
1935
|
-
"""Remove driver(s) from the given property
|
|
1936
|
-
|
|
1937
|
-
:return: Success of driver removal.
|
|
1938
|
-
:rtype: bool
|
|
1939
|
-
"""
|
|
1940
|
-
...
|
|
1941
|
-
|
|
1942
|
-
def get(self):
|
|
1943
|
-
"""Returns the value of the custom property assigned to key or default
|
|
1944
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1945
|
-
|
|
1946
|
-
"""
|
|
1947
|
-
...
|
|
1948
|
-
|
|
1949
|
-
def id_properties_clear(self):
|
|
1950
|
-
"""
|
|
1951
|
-
|
|
1952
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
1953
|
-
"""
|
|
1954
|
-
...
|
|
1955
|
-
|
|
1956
|
-
def id_properties_ensure(self):
|
|
1957
|
-
"""
|
|
1958
|
-
|
|
1959
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
1960
|
-
"""
|
|
1961
|
-
...
|
|
1962
|
-
|
|
1963
|
-
def id_properties_ui(self):
|
|
1964
|
-
"""
|
|
1965
|
-
|
|
1966
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
1967
|
-
"""
|
|
1968
|
-
...
|
|
1969
|
-
|
|
1970
|
-
def is_extended(self): ...
|
|
1971
|
-
def is_property_hidden(self) -> bool:
|
|
1972
|
-
"""Check if a property is hidden.
|
|
1973
|
-
|
|
1974
|
-
:return: True when the property is hidden.
|
|
1975
|
-
:rtype: bool
|
|
1976
|
-
"""
|
|
1977
|
-
...
|
|
1978
|
-
|
|
1979
|
-
def is_property_overridable_library(self) -> bool:
|
|
1980
|
-
"""Check if a property is overridable.
|
|
1981
|
-
|
|
1982
|
-
:return: True when the property is overridable.
|
|
1983
|
-
:rtype: bool
|
|
1984
|
-
"""
|
|
1985
|
-
...
|
|
1986
|
-
|
|
1987
|
-
def is_property_readonly(self) -> bool:
|
|
1988
|
-
"""Check if a property is readonly.
|
|
1989
|
-
|
|
1990
|
-
:return: True when the property is readonly (not writable).
|
|
1991
|
-
:rtype: bool
|
|
1992
|
-
"""
|
|
1993
|
-
...
|
|
1994
|
-
|
|
1995
|
-
def is_property_set(self) -> bool:
|
|
1996
|
-
"""Check if a property is set, use for testing operator properties.
|
|
1997
|
-
|
|
1998
|
-
:return: True when the property has been set.
|
|
1999
|
-
:rtype: bool
|
|
2000
|
-
"""
|
|
2001
|
-
...
|
|
2002
|
-
|
|
2003
|
-
def items(self):
|
|
2004
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
2005
|
-
dictionary function of the same name).
|
|
2006
|
-
|
|
2007
|
-
:return: custom property key, value pairs.
|
|
2008
|
-
"""
|
|
2009
|
-
...
|
|
2010
|
-
|
|
2011
|
-
def keyframe_delete(self) -> bool:
|
|
2012
|
-
"""Remove a keyframe from this properties fcurve.
|
|
2013
|
-
|
|
2014
|
-
:return: Success of keyframe deletion.
|
|
2015
|
-
:rtype: bool
|
|
2016
|
-
"""
|
|
2017
|
-
...
|
|
2018
|
-
|
|
2019
|
-
def keyframe_insert(self) -> bool:
|
|
2020
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
2021
|
-
|
|
2022
|
-
:return: Success of keyframe insertion.
|
|
2023
|
-
:rtype: bool
|
|
2024
|
-
"""
|
|
2025
|
-
...
|
|
2026
|
-
|
|
2027
|
-
def keys(self):
|
|
2028
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
2029
|
-
dictionary function of the same name).
|
|
2030
|
-
|
|
2031
|
-
:return: custom property keys.
|
|
2032
|
-
"""
|
|
2033
|
-
...
|
|
2034
|
-
|
|
2035
|
-
def path_from_id(self) -> str:
|
|
2036
|
-
"""Returns the data path from the ID to this object (string).
|
|
2037
|
-
|
|
2038
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
2039
|
-
to this struct and property (when given).
|
|
2040
|
-
:rtype: str
|
|
2041
|
-
"""
|
|
2042
|
-
...
|
|
2043
|
-
|
|
2044
|
-
def path_resolve(self):
|
|
2045
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
2046
|
-
...
|
|
2047
|
-
|
|
2048
|
-
def poll(self, context):
|
|
2049
|
-
"""
|
|
2050
|
-
|
|
2051
|
-
:param context:
|
|
2052
|
-
"""
|
|
2053
|
-
...
|
|
2054
|
-
|
|
2055
|
-
def pop(self):
|
|
2056
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
2057
|
-
when not found (matches Python's dictionary function of the same name).
|
|
2058
|
-
|
|
2059
|
-
"""
|
|
2060
|
-
...
|
|
2061
|
-
|
|
2062
|
-
def prepend(self, draw_func):
|
|
2063
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
2064
|
-
the menus draw function
|
|
2065
|
-
|
|
2066
|
-
:param draw_func:
|
|
2067
|
-
"""
|
|
2068
|
-
...
|
|
2069
|
-
|
|
2070
|
-
def property_overridable_library_set(self) -> bool:
|
|
2071
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
2072
|
-
|
|
2073
|
-
:return: True when the overridable status of the property was successfully set.
|
|
2074
|
-
:rtype: bool
|
|
2075
|
-
"""
|
|
2076
|
-
...
|
|
2077
|
-
|
|
2078
|
-
def property_unset(self):
|
|
2079
|
-
"""Unset a property, will use default value afterward."""
|
|
2080
|
-
...
|
|
2081
|
-
|
|
2082
|
-
def remove(self, draw_func):
|
|
2083
|
-
"""Remove a draw function that has been added to this menu
|
|
2084
|
-
|
|
2085
|
-
:param draw_func:
|
|
2086
|
-
"""
|
|
2087
|
-
...
|
|
2088
|
-
|
|
2089
|
-
def type_recast(self):
|
|
2090
|
-
"""Return a new instance, this is needed because types
|
|
2091
|
-
such as textures can be changed at runtime.
|
|
2092
|
-
|
|
2093
|
-
:return: a new instance of this object with the type initialized again.
|
|
2094
|
-
"""
|
|
2095
|
-
...
|
|
2096
|
-
|
|
2097
|
-
def values(self):
|
|
2098
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
2099
|
-
dictionary function of the same name).
|
|
2100
|
-
|
|
2101
|
-
:return: custom property values.
|
|
2102
|
-
"""
|
|
2103
|
-
...
|
|
2104
|
-
|
|
2105
|
-
class DATA_PT_light(DataButtonsPanel, bpy_types._GenericUI):
|
|
2106
|
-
COMPAT_ENGINES: typing.Any
|
|
2107
|
-
bl_context: typing.Any
|
|
2108
|
-
bl_label: typing.Any
|
|
2109
|
-
bl_region_type: typing.Any
|
|
2110
|
-
bl_rna: typing.Any
|
|
2111
|
-
bl_space_type: typing.Any
|
|
2112
|
-
id_data: typing.Any
|
|
2113
|
-
|
|
2114
|
-
def append(self, draw_func):
|
|
2115
|
-
"""Append a draw function to this menu,
|
|
2116
|
-
takes the same arguments as the menus draw function
|
|
2117
|
-
|
|
2118
|
-
:param draw_func:
|
|
2119
|
-
"""
|
|
2120
|
-
...
|
|
2121
|
-
|
|
2122
|
-
def as_pointer(self) -> int:
|
|
2123
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
2124
|
-
|
|
2125
|
-
:return: int (memory address).
|
|
2126
|
-
:rtype: int
|
|
2127
|
-
"""
|
|
2128
|
-
...
|
|
2129
|
-
|
|
2130
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
2131
|
-
"""
|
|
2132
|
-
|
|
2133
|
-
:return: The RNA type or default when not found.
|
|
2134
|
-
:rtype: bpy.types.Struct
|
|
2135
|
-
"""
|
|
2136
|
-
...
|
|
2137
|
-
|
|
2138
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
2139
|
-
"""
|
|
2140
|
-
|
|
2141
|
-
:return: The class or default when not found.
|
|
2142
|
-
:rtype: typing.Any
|
|
2143
|
-
"""
|
|
2144
|
-
...
|
|
2145
|
-
|
|
2146
|
-
def draw(self, context):
|
|
2147
|
-
"""
|
|
2148
|
-
|
|
2149
|
-
:param context:
|
|
2150
|
-
"""
|
|
2151
|
-
...
|
|
2152
|
-
|
|
2153
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
2154
|
-
"""Adds driver(s) to the given property
|
|
2155
|
-
|
|
2156
|
-
:return: The driver(s) added.
|
|
2157
|
-
:rtype: bpy.types.FCurve
|
|
2158
|
-
"""
|
|
2159
|
-
...
|
|
2160
|
-
|
|
2161
|
-
def driver_remove(self) -> bool:
|
|
2162
|
-
"""Remove driver(s) from the given property
|
|
2163
|
-
|
|
2164
|
-
:return: Success of driver removal.
|
|
2165
|
-
:rtype: bool
|
|
2166
|
-
"""
|
|
2167
|
-
...
|
|
2168
|
-
|
|
2169
|
-
def get(self):
|
|
2170
|
-
"""Returns the value of the custom property assigned to key or default
|
|
2171
|
-
when not found (matches Python's dictionary function of the same name).
|
|
2172
|
-
|
|
2173
|
-
"""
|
|
2174
|
-
...
|
|
2175
|
-
|
|
2176
|
-
def id_properties_clear(self):
|
|
2177
|
-
"""
|
|
2178
|
-
|
|
2179
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
2180
|
-
"""
|
|
2181
|
-
...
|
|
2182
|
-
|
|
2183
|
-
def id_properties_ensure(self):
|
|
2184
|
-
"""
|
|
2185
|
-
|
|
2186
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
2187
|
-
"""
|
|
2188
|
-
...
|
|
2189
|
-
|
|
2190
|
-
def id_properties_ui(self):
|
|
2191
|
-
"""
|
|
2192
|
-
|
|
2193
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
2194
|
-
"""
|
|
2195
|
-
...
|
|
2196
|
-
|
|
2197
|
-
def is_extended(self): ...
|
|
2198
|
-
def is_property_hidden(self) -> bool:
|
|
2199
|
-
"""Check if a property is hidden.
|
|
2200
|
-
|
|
2201
|
-
:return: True when the property is hidden.
|
|
2202
|
-
:rtype: bool
|
|
2203
|
-
"""
|
|
2204
|
-
...
|
|
2205
|
-
|
|
2206
|
-
def is_property_overridable_library(self) -> bool:
|
|
2207
|
-
"""Check if a property is overridable.
|
|
2208
|
-
|
|
2209
|
-
:return: True when the property is overridable.
|
|
2210
|
-
:rtype: bool
|
|
2211
|
-
"""
|
|
2212
|
-
...
|
|
2213
|
-
|
|
2214
|
-
def is_property_readonly(self) -> bool:
|
|
2215
|
-
"""Check if a property is readonly.
|
|
2216
|
-
|
|
2217
|
-
:return: True when the property is readonly (not writable).
|
|
2218
|
-
:rtype: bool
|
|
2219
|
-
"""
|
|
2220
|
-
...
|
|
2221
|
-
|
|
2222
|
-
def is_property_set(self) -> bool:
|
|
2223
|
-
"""Check if a property is set, use for testing operator properties.
|
|
2224
|
-
|
|
2225
|
-
:return: True when the property has been set.
|
|
2226
|
-
:rtype: bool
|
|
2227
|
-
"""
|
|
2228
|
-
...
|
|
2229
|
-
|
|
2230
|
-
def items(self):
|
|
2231
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
2232
|
-
dictionary function of the same name).
|
|
2233
|
-
|
|
2234
|
-
:return: custom property key, value pairs.
|
|
2235
|
-
"""
|
|
2236
|
-
...
|
|
2237
|
-
|
|
2238
|
-
def keyframe_delete(self) -> bool:
|
|
2239
|
-
"""Remove a keyframe from this properties fcurve.
|
|
2240
|
-
|
|
2241
|
-
:return: Success of keyframe deletion.
|
|
2242
|
-
:rtype: bool
|
|
2243
|
-
"""
|
|
2244
|
-
...
|
|
2245
|
-
|
|
2246
|
-
def keyframe_insert(self) -> bool:
|
|
2247
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
2248
|
-
|
|
2249
|
-
:return: Success of keyframe insertion.
|
|
2250
|
-
:rtype: bool
|
|
2251
|
-
"""
|
|
2252
|
-
...
|
|
2253
|
-
|
|
2254
|
-
def keys(self):
|
|
2255
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
2256
|
-
dictionary function of the same name).
|
|
2257
|
-
|
|
2258
|
-
:return: custom property keys.
|
|
2259
|
-
"""
|
|
2260
|
-
...
|
|
2261
|
-
|
|
2262
|
-
def path_from_id(self) -> str:
|
|
2263
|
-
"""Returns the data path from the ID to this object (string).
|
|
2264
|
-
|
|
2265
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
2266
|
-
to this struct and property (when given).
|
|
2267
|
-
:rtype: str
|
|
2268
|
-
"""
|
|
2269
|
-
...
|
|
2270
|
-
|
|
2271
|
-
def path_resolve(self):
|
|
2272
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
2273
|
-
...
|
|
2274
|
-
|
|
2275
|
-
def poll(self, context):
|
|
2276
|
-
"""
|
|
2277
|
-
|
|
2278
|
-
:param context:
|
|
2279
|
-
"""
|
|
2280
|
-
...
|
|
2281
|
-
|
|
2282
|
-
def pop(self):
|
|
2283
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
2284
|
-
when not found (matches Python's dictionary function of the same name).
|
|
2285
|
-
|
|
2286
|
-
"""
|
|
2287
|
-
...
|
|
2288
|
-
|
|
2289
|
-
def prepend(self, draw_func):
|
|
2290
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
2291
|
-
the menus draw function
|
|
2292
|
-
|
|
2293
|
-
:param draw_func:
|
|
2294
|
-
"""
|
|
2295
|
-
...
|
|
2296
|
-
|
|
2297
|
-
def property_overridable_library_set(self) -> bool:
|
|
2298
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
2299
|
-
|
|
2300
|
-
:return: True when the overridable status of the property was successfully set.
|
|
2301
|
-
:rtype: bool
|
|
2302
|
-
"""
|
|
2303
|
-
...
|
|
2304
|
-
|
|
2305
|
-
def property_unset(self):
|
|
2306
|
-
"""Unset a property, will use default value afterward."""
|
|
2307
|
-
...
|
|
2308
|
-
|
|
2309
|
-
def remove(self, draw_func):
|
|
2310
|
-
"""Remove a draw function that has been added to this menu
|
|
2311
|
-
|
|
2312
|
-
:param draw_func:
|
|
2313
|
-
"""
|
|
2314
|
-
...
|
|
2315
|
-
|
|
2316
|
-
def type_recast(self):
|
|
2317
|
-
"""Return a new instance, this is needed because types
|
|
2318
|
-
such as textures can be changed at runtime.
|
|
2319
|
-
|
|
2320
|
-
:return: a new instance of this object with the type initialized again.
|
|
2321
|
-
"""
|
|
2322
|
-
...
|
|
2323
|
-
|
|
2324
|
-
def values(self):
|
|
2325
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
2326
|
-
dictionary function of the same name).
|
|
2327
|
-
|
|
2328
|
-
:return: custom property values.
|
|
2329
|
-
"""
|
|
2330
|
-
...
|
|
2331
|
-
|
|
2332
|
-
class DATA_PT_preview(DataButtonsPanel, bpy_types._GenericUI):
|
|
2333
|
-
COMPAT_ENGINES: typing.Any
|
|
2334
|
-
bl_context: typing.Any
|
|
2335
|
-
bl_label: typing.Any
|
|
2336
|
-
bl_options: typing.Any
|
|
2337
|
-
bl_region_type: typing.Any
|
|
2338
|
-
bl_rna: typing.Any
|
|
2339
|
-
bl_space_type: typing.Any
|
|
2340
|
-
id_data: typing.Any
|
|
2341
|
-
|
|
2342
|
-
def append(self, draw_func):
|
|
2343
|
-
"""Append a draw function to this menu,
|
|
2344
|
-
takes the same arguments as the menus draw function
|
|
2345
|
-
|
|
2346
|
-
:param draw_func:
|
|
2347
|
-
"""
|
|
2348
|
-
...
|
|
2349
|
-
|
|
2350
|
-
def as_pointer(self) -> int:
|
|
2351
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
2352
|
-
|
|
2353
|
-
:return: int (memory address).
|
|
2354
|
-
:rtype: int
|
|
2355
|
-
"""
|
|
2356
|
-
...
|
|
2357
|
-
|
|
2358
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
2359
|
-
"""
|
|
2360
|
-
|
|
2361
|
-
:return: The RNA type or default when not found.
|
|
2362
|
-
:rtype: bpy.types.Struct
|
|
2363
|
-
"""
|
|
2364
|
-
...
|
|
2365
|
-
|
|
2366
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
2367
|
-
"""
|
|
2368
|
-
|
|
2369
|
-
:return: The class or default when not found.
|
|
2370
|
-
:rtype: typing.Any
|
|
2371
|
-
"""
|
|
2372
|
-
...
|
|
2373
|
-
|
|
2374
|
-
def draw(self, context):
|
|
2375
|
-
"""
|
|
2376
|
-
|
|
2377
|
-
:param context:
|
|
2378
|
-
"""
|
|
2379
|
-
...
|
|
2380
|
-
|
|
2381
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
2382
|
-
"""Adds driver(s) to the given property
|
|
2383
|
-
|
|
2384
|
-
:return: The driver(s) added.
|
|
2385
|
-
:rtype: bpy.types.FCurve
|
|
2386
|
-
"""
|
|
2387
|
-
...
|
|
2388
|
-
|
|
2389
|
-
def driver_remove(self) -> bool:
|
|
2390
|
-
"""Remove driver(s) from the given property
|
|
2391
|
-
|
|
2392
|
-
:return: Success of driver removal.
|
|
2393
|
-
:rtype: bool
|
|
2394
|
-
"""
|
|
2395
|
-
...
|
|
2396
|
-
|
|
2397
|
-
def get(self):
|
|
2398
|
-
"""Returns the value of the custom property assigned to key or default
|
|
2399
|
-
when not found (matches Python's dictionary function of the same name).
|
|
2400
|
-
|
|
2401
|
-
"""
|
|
2402
|
-
...
|
|
2403
|
-
|
|
2404
|
-
def id_properties_clear(self):
|
|
2405
|
-
"""
|
|
2406
|
-
|
|
2407
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
2408
|
-
"""
|
|
2409
|
-
...
|
|
2410
|
-
|
|
2411
|
-
def id_properties_ensure(self):
|
|
2412
|
-
"""
|
|
2413
|
-
|
|
2414
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
2415
|
-
"""
|
|
2416
|
-
...
|
|
2417
|
-
|
|
2418
|
-
def id_properties_ui(self):
|
|
2419
|
-
"""
|
|
2420
|
-
|
|
2421
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
2422
|
-
"""
|
|
2423
|
-
...
|
|
2424
|
-
|
|
2425
|
-
def is_extended(self): ...
|
|
2426
|
-
def is_property_hidden(self) -> bool:
|
|
2427
|
-
"""Check if a property is hidden.
|
|
2428
|
-
|
|
2429
|
-
:return: True when the property is hidden.
|
|
2430
|
-
:rtype: bool
|
|
2431
|
-
"""
|
|
2432
|
-
...
|
|
2433
|
-
|
|
2434
|
-
def is_property_overridable_library(self) -> bool:
|
|
2435
|
-
"""Check if a property is overridable.
|
|
2436
|
-
|
|
2437
|
-
:return: True when the property is overridable.
|
|
2438
|
-
:rtype: bool
|
|
2439
|
-
"""
|
|
2440
|
-
...
|
|
2441
|
-
|
|
2442
|
-
def is_property_readonly(self) -> bool:
|
|
2443
|
-
"""Check if a property is readonly.
|
|
2444
|
-
|
|
2445
|
-
:return: True when the property is readonly (not writable).
|
|
2446
|
-
:rtype: bool
|
|
2447
|
-
"""
|
|
2448
|
-
...
|
|
2449
|
-
|
|
2450
|
-
def is_property_set(self) -> bool:
|
|
2451
|
-
"""Check if a property is set, use for testing operator properties.
|
|
2452
|
-
|
|
2453
|
-
:return: True when the property has been set.
|
|
2454
|
-
:rtype: bool
|
|
2455
|
-
"""
|
|
2456
|
-
...
|
|
2457
|
-
|
|
2458
|
-
def items(self):
|
|
2459
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
2460
|
-
dictionary function of the same name).
|
|
2461
|
-
|
|
2462
|
-
:return: custom property key, value pairs.
|
|
2463
|
-
"""
|
|
2464
|
-
...
|
|
2465
|
-
|
|
2466
|
-
def keyframe_delete(self) -> bool:
|
|
2467
|
-
"""Remove a keyframe from this properties fcurve.
|
|
2468
|
-
|
|
2469
|
-
:return: Success of keyframe deletion.
|
|
2470
|
-
:rtype: bool
|
|
2471
|
-
"""
|
|
2472
|
-
...
|
|
2473
|
-
|
|
2474
|
-
def keyframe_insert(self) -> bool:
|
|
2475
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
2476
|
-
|
|
2477
|
-
:return: Success of keyframe insertion.
|
|
2478
|
-
:rtype: bool
|
|
2479
|
-
"""
|
|
2480
|
-
...
|
|
2481
|
-
|
|
2482
|
-
def keys(self):
|
|
2483
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
2484
|
-
dictionary function of the same name).
|
|
2485
|
-
|
|
2486
|
-
:return: custom property keys.
|
|
2487
|
-
"""
|
|
2488
|
-
...
|
|
2489
|
-
|
|
2490
|
-
def path_from_id(self) -> str:
|
|
2491
|
-
"""Returns the data path from the ID to this object (string).
|
|
2492
|
-
|
|
2493
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
2494
|
-
to this struct and property (when given).
|
|
2495
|
-
:rtype: str
|
|
2496
|
-
"""
|
|
2497
|
-
...
|
|
2498
|
-
|
|
2499
|
-
def path_resolve(self):
|
|
2500
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
2501
|
-
...
|
|
2502
|
-
|
|
2503
|
-
def poll(self, context):
|
|
2504
|
-
"""
|
|
2505
|
-
|
|
2506
|
-
:param context:
|
|
2507
|
-
"""
|
|
2508
|
-
...
|
|
2509
|
-
|
|
2510
|
-
def pop(self):
|
|
2511
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
2512
|
-
when not found (matches Python's dictionary function of the same name).
|
|
2513
|
-
|
|
2514
|
-
"""
|
|
2515
|
-
...
|
|
2516
|
-
|
|
2517
|
-
def prepend(self, draw_func):
|
|
2518
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
2519
|
-
the menus draw function
|
|
2520
|
-
|
|
2521
|
-
:param draw_func:
|
|
2522
|
-
"""
|
|
2523
|
-
...
|
|
2524
|
-
|
|
2525
|
-
def property_overridable_library_set(self) -> bool:
|
|
2526
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
2527
|
-
|
|
2528
|
-
:return: True when the overridable status of the property was successfully set.
|
|
2529
|
-
:rtype: bool
|
|
2530
|
-
"""
|
|
2531
|
-
...
|
|
2532
|
-
|
|
2533
|
-
def property_unset(self):
|
|
2534
|
-
"""Unset a property, will use default value afterward."""
|
|
2535
|
-
...
|
|
2536
|
-
|
|
2537
|
-
def remove(self, draw_func):
|
|
2538
|
-
"""Remove a draw function that has been added to this menu
|
|
2539
|
-
|
|
2540
|
-
:param draw_func:
|
|
2541
|
-
"""
|
|
2542
|
-
...
|
|
2543
|
-
|
|
2544
|
-
def type_recast(self):
|
|
2545
|
-
"""Return a new instance, this is needed because types
|
|
2546
|
-
such as textures can be changed at runtime.
|
|
2547
|
-
|
|
2548
|
-
:return: a new instance of this object with the type initialized again.
|
|
2549
|
-
"""
|
|
2550
|
-
...
|
|
2551
|
-
|
|
2552
|
-
def values(self):
|
|
2553
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
2554
|
-
dictionary function of the same name).
|
|
2555
|
-
|
|
2556
|
-
:return: custom property values.
|
|
2557
|
-
"""
|
|
2558
|
-
...
|
|
2559
|
-
|
|
2560
|
-
class DATA_PT_spot(DataButtonsPanel, bpy_types._GenericUI):
|
|
2561
|
-
COMPAT_ENGINES: typing.Any
|
|
2562
|
-
bl_context: typing.Any
|
|
2563
|
-
bl_label: typing.Any
|
|
2564
|
-
bl_parent_id: typing.Any
|
|
2565
|
-
bl_region_type: typing.Any
|
|
2566
|
-
bl_rna: typing.Any
|
|
2567
|
-
bl_space_type: typing.Any
|
|
2568
|
-
id_data: typing.Any
|
|
2569
|
-
|
|
2570
|
-
def append(self, draw_func):
|
|
2571
|
-
"""Append a draw function to this menu,
|
|
2572
|
-
takes the same arguments as the menus draw function
|
|
2573
|
-
|
|
2574
|
-
:param draw_func:
|
|
2575
|
-
"""
|
|
2576
|
-
...
|
|
2577
|
-
|
|
2578
|
-
def as_pointer(self) -> int:
|
|
2579
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
2580
|
-
|
|
2581
|
-
:return: int (memory address).
|
|
2582
|
-
:rtype: int
|
|
2583
|
-
"""
|
|
2584
|
-
...
|
|
2585
|
-
|
|
2586
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
2587
|
-
"""
|
|
2588
|
-
|
|
2589
|
-
:return: The RNA type or default when not found.
|
|
2590
|
-
:rtype: bpy.types.Struct
|
|
2591
|
-
"""
|
|
2592
|
-
...
|
|
2593
|
-
|
|
2594
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
2595
|
-
"""
|
|
2596
|
-
|
|
2597
|
-
:return: The class or default when not found.
|
|
2598
|
-
:rtype: typing.Any
|
|
2599
|
-
"""
|
|
2600
|
-
...
|
|
2601
|
-
|
|
2602
|
-
def draw(self, context):
|
|
2603
|
-
"""
|
|
2604
|
-
|
|
2605
|
-
:param context:
|
|
2606
|
-
"""
|
|
2607
|
-
...
|
|
2608
|
-
|
|
2609
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
2610
|
-
"""Adds driver(s) to the given property
|
|
2611
|
-
|
|
2612
|
-
:return: The driver(s) added.
|
|
2613
|
-
:rtype: bpy.types.FCurve
|
|
2614
|
-
"""
|
|
2615
|
-
...
|
|
2616
|
-
|
|
2617
|
-
def driver_remove(self) -> bool:
|
|
2618
|
-
"""Remove driver(s) from the given property
|
|
2619
|
-
|
|
2620
|
-
:return: Success of driver removal.
|
|
2621
|
-
:rtype: bool
|
|
2622
|
-
"""
|
|
2623
|
-
...
|
|
2624
|
-
|
|
2625
|
-
def get(self):
|
|
2626
|
-
"""Returns the value of the custom property assigned to key or default
|
|
2627
|
-
when not found (matches Python's dictionary function of the same name).
|
|
2628
|
-
|
|
2629
|
-
"""
|
|
2630
|
-
...
|
|
2631
|
-
|
|
2632
|
-
def id_properties_clear(self):
|
|
2633
|
-
"""
|
|
2634
|
-
|
|
2635
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
2636
|
-
"""
|
|
2637
|
-
...
|
|
2638
|
-
|
|
2639
|
-
def id_properties_ensure(self):
|
|
2640
|
-
"""
|
|
2641
|
-
|
|
2642
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
2643
|
-
"""
|
|
2644
|
-
...
|
|
2645
|
-
|
|
2646
|
-
def id_properties_ui(self):
|
|
2647
|
-
"""
|
|
2648
|
-
|
|
2649
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
2650
|
-
"""
|
|
2651
|
-
...
|
|
2652
|
-
|
|
2653
|
-
def is_extended(self): ...
|
|
2654
|
-
def is_property_hidden(self) -> bool:
|
|
2655
|
-
"""Check if a property is hidden.
|
|
2656
|
-
|
|
2657
|
-
:return: True when the property is hidden.
|
|
2658
|
-
:rtype: bool
|
|
2659
|
-
"""
|
|
2660
|
-
...
|
|
2661
|
-
|
|
2662
|
-
def is_property_overridable_library(self) -> bool:
|
|
2663
|
-
"""Check if a property is overridable.
|
|
2664
|
-
|
|
2665
|
-
:return: True when the property is overridable.
|
|
2666
|
-
:rtype: bool
|
|
2667
|
-
"""
|
|
2668
|
-
...
|
|
2669
|
-
|
|
2670
|
-
def is_property_readonly(self) -> bool:
|
|
2671
|
-
"""Check if a property is readonly.
|
|
2672
|
-
|
|
2673
|
-
:return: True when the property is readonly (not writable).
|
|
2674
|
-
:rtype: bool
|
|
2675
|
-
"""
|
|
2676
|
-
...
|
|
2677
|
-
|
|
2678
|
-
def is_property_set(self) -> bool:
|
|
2679
|
-
"""Check if a property is set, use for testing operator properties.
|
|
2680
|
-
|
|
2681
|
-
:return: True when the property has been set.
|
|
2682
|
-
:rtype: bool
|
|
2683
|
-
"""
|
|
2684
|
-
...
|
|
2685
|
-
|
|
2686
|
-
def items(self):
|
|
2687
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
2688
|
-
dictionary function of the same name).
|
|
2689
|
-
|
|
2690
|
-
:return: custom property key, value pairs.
|
|
2691
|
-
"""
|
|
2692
|
-
...
|
|
2693
|
-
|
|
2694
|
-
def keyframe_delete(self) -> bool:
|
|
2695
|
-
"""Remove a keyframe from this properties fcurve.
|
|
2696
|
-
|
|
2697
|
-
:return: Success of keyframe deletion.
|
|
2698
|
-
:rtype: bool
|
|
2699
|
-
"""
|
|
2700
|
-
...
|
|
2701
|
-
|
|
2702
|
-
def keyframe_insert(self) -> bool:
|
|
2703
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
2704
|
-
|
|
2705
|
-
:return: Success of keyframe insertion.
|
|
2706
|
-
:rtype: bool
|
|
2707
|
-
"""
|
|
2708
|
-
...
|
|
2709
|
-
|
|
2710
|
-
def keys(self):
|
|
2711
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
2712
|
-
dictionary function of the same name).
|
|
2713
|
-
|
|
2714
|
-
:return: custom property keys.
|
|
2715
|
-
"""
|
|
2716
|
-
...
|
|
2717
|
-
|
|
2718
|
-
def path_from_id(self) -> str:
|
|
2719
|
-
"""Returns the data path from the ID to this object (string).
|
|
2720
|
-
|
|
2721
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
2722
|
-
to this struct and property (when given).
|
|
2723
|
-
:rtype: str
|
|
2724
|
-
"""
|
|
2725
|
-
...
|
|
2726
|
-
|
|
2727
|
-
def path_resolve(self):
|
|
2728
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
2729
|
-
...
|
|
2730
|
-
|
|
2731
479
|
@classmethod
|
|
2732
480
|
def poll(cls, context):
|
|
2733
481
|
"""
|
|
@@ -2736,56 +484,6 @@ class DATA_PT_spot(DataButtonsPanel, bpy_types._GenericUI):
|
|
|
2736
484
|
"""
|
|
2737
485
|
...
|
|
2738
486
|
|
|
2739
|
-
def pop(self):
|
|
2740
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
2741
|
-
when not found (matches Python's dictionary function of the same name).
|
|
2742
|
-
|
|
2743
|
-
"""
|
|
2744
|
-
...
|
|
2745
|
-
|
|
2746
|
-
def prepend(self, draw_func):
|
|
2747
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
2748
|
-
the menus draw function
|
|
2749
|
-
|
|
2750
|
-
:param draw_func:
|
|
2751
|
-
"""
|
|
2752
|
-
...
|
|
2753
|
-
|
|
2754
|
-
def property_overridable_library_set(self) -> bool:
|
|
2755
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
2756
|
-
|
|
2757
|
-
:return: True when the overridable status of the property was successfully set.
|
|
2758
|
-
:rtype: bool
|
|
2759
|
-
"""
|
|
2760
|
-
...
|
|
2761
|
-
|
|
2762
|
-
def property_unset(self):
|
|
2763
|
-
"""Unset a property, will use default value afterward."""
|
|
2764
|
-
...
|
|
2765
|
-
|
|
2766
|
-
def remove(self, draw_func):
|
|
2767
|
-
"""Remove a draw function that has been added to this menu
|
|
2768
|
-
|
|
2769
|
-
:param draw_func:
|
|
2770
|
-
"""
|
|
2771
|
-
...
|
|
2772
|
-
|
|
2773
|
-
def type_recast(self):
|
|
2774
|
-
"""Return a new instance, this is needed because types
|
|
2775
|
-
such as textures can be changed at runtime.
|
|
2776
|
-
|
|
2777
|
-
:return: a new instance of this object with the type initialized again.
|
|
2778
|
-
"""
|
|
2779
|
-
...
|
|
2780
|
-
|
|
2781
|
-
def values(self):
|
|
2782
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
2783
|
-
dictionary function of the same name).
|
|
2784
|
-
|
|
2785
|
-
:return: custom property values.
|
|
2786
|
-
"""
|
|
2787
|
-
...
|
|
2788
|
-
|
|
2789
487
|
class DataButtonsPanel:
|
|
2790
488
|
bl_context: typing.Any
|
|
2791
489
|
bl_region_type: typing.Any
|