fake-bpy-module 20241103__py3-none-any.whl → 20241111__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.
- addon_utils/__init__.pyi +28 -13
- bl_console_utils/autocomplete/complete_calltip/__init__.pyi +1 -2
- bl_console_utils/autocomplete/complete_import/__init__.pyi +3 -6
- bl_console_utils/autocomplete/complete_namespace/__init__.pyi +1 -2
- bl_console_utils/autocomplete/intellisense/__init__.pyi +2 -6
- bl_operators/image_as_planes/__init__.pyi +12 -39
- bl_operators/uvcalc_transform/__init__.pyi +4 -42
- bl_operators/wm/__init__.pyi +8 -0
- bl_ui/generic_ui_list/__init__.pyi +2 -1
- bl_ui/properties_grease_pencil_common/__init__.pyi +0 -7
- bl_ui/space_userpref/__init__.pyi +2 -2
- blf/__init__.pyi +3 -5
- bmesh/types/__init__.pyi +22 -33
- bmesh/utils/__init__.pyi +6 -16
- bpy/app/icons/__init__.pyi +5 -11
- bpy/app/translations/__init__.pyi +7 -14
- bpy/msgbus/__init__.pyi +7 -8
- bpy/ops/curves/__init__.pyi +16 -0
- bpy/ops/nla/__init__.pyi +1 -1
- bpy/ops/sequencer/__init__.pyi +3 -0
- bpy/path/__init__.pyi +6 -16
- bpy/props/__init__.pyi +122 -135
- bpy/types/__init__.pyi +365 -604
- bpy/utils/__init__.pyi +30 -29
- bpy/utils/previews/__init__.pyi +1 -2
- bpy/utils/units/__init__.pyi +1 -2
- bpy_extras/anim_utils/__init__.pyi +5 -12
- bpy_extras/bmesh_utils/__init__.pyi +1 -2
- bpy_extras/image_utils/__init__.pyi +2 -5
- bpy_extras/io_utils/__init__.pyi +8 -14
- bpy_extras/mesh_utils/__init__.pyi +14 -29
- bpy_extras/object_utils/__init__.pyi +1 -1
- bpy_extras/view3d_utils/__init__.pyi +3 -10
- {fake_bpy_module-20241103.dist-info → fake_bpy_module-20241111.dist-info}/METADATA +1 -1
- {fake_bpy_module-20241103.dist-info → fake_bpy_module-20241111.dist-info}/RECORD +56 -56
- freestyle/chainingiterators/__init__.pyi +2 -7
- freestyle/functions/__init__.pyi +4 -16
- freestyle/types/__init__.pyi +29 -63
- freestyle/utils/ContextFunctions/__init__.pyi +2 -2
- freestyle/utils/__init__.pyi +1 -2
- gpu/__init__.pyi +19 -5
- gpu/matrix/__init__.pyi +2 -2
- gpu/state/__init__.pyi +16 -8
- gpu/types/__init__.pyi +14 -29
- gpu_extras/batch/__init__.pyi +9 -9
- gpu_extras/presets/__init__.pyi +4 -11
- idprop/types/__init__.pyi +1 -2
- imbuf/__init__.pyi +2 -4
- mathutils/__init__.pyi +30 -95
- mathutils/bvhtree/__init__.pyi +13 -17
- mathutils/geometry/__init__.pyi +26 -45
- mathutils/interpolate/__init__.pyi +2 -2
- mathutils/kdtree/__init__.pyi +13 -28
- rna_info/__init__.pyi +1 -2
- {fake_bpy_module-20241103.dist-info → fake_bpy_module-20241111.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20241103.dist-info → fake_bpy_module-20241111.dist-info}/top_level.txt +0 -0
bpy/types/__init__.pyi
CHANGED
|
@@ -10526,7 +10526,6 @@ The USDHookExample
|
|
|
10526
10526
|
|
|
10527
10527
|
--------------------
|
|
10528
10528
|
|
|
10529
|
-
* bpy.context.active_gpencil_frame
|
|
10530
10529
|
* GreasePencilv3.layers
|
|
10531
10530
|
* GreasePencilv3Layers.active
|
|
10532
10531
|
* GreasePencilv3Layers.move
|
|
@@ -35695,8 +35694,6 @@ Executing the operator will then print all values.
|
|
|
35695
35694
|
--------------------
|
|
35696
35695
|
|
|
35697
35696
|
* bpy.context.active_annotation_layer
|
|
35698
|
-
* bpy.context.active_gpencil_layer
|
|
35699
|
-
* bpy.context.visible_gpencil_layers
|
|
35700
35697
|
* GreasePencil.layers
|
|
35701
35698
|
* GreasePencilLayers.new
|
|
35702
35699
|
* GreasePencilLayers.remove
|
|
@@ -52833,7 +52830,6 @@ at its creation, all editing in the original image's buffer is 'lost' in its cop
|
|
|
52833
52830
|
|
|
52834
52831
|
* bpy.context.annotation_data
|
|
52835
52832
|
* bpy.context.gpencil
|
|
52836
|
-
* bpy.context.gpencil_data
|
|
52837
52833
|
* BlendData.grease_pencils
|
|
52838
52834
|
* BlendDataGreasePencils.new
|
|
52839
52835
|
* BlendDataGreasePencils.remove
|
|
@@ -73931,7 +73927,6 @@ Menu.poll function.
|
|
|
73931
73927
|
--------------------
|
|
73932
73928
|
|
|
73933
73929
|
* bpy.context.annotation_data_owner
|
|
73934
|
-
* bpy.context.gpencil_data_owner
|
|
73935
73930
|
* bpy.context.id
|
|
73936
73931
|
* bpy.context.selected_ids
|
|
73937
73932
|
* bpy.context.texture_user
|
|
@@ -102040,19 +102035,18 @@ class bpy_prop_collection[_GenericType1]:
|
|
|
102040
102035
|
:rtype: list[tuple[str, _GenericType1]]
|
|
102041
102036
|
"""
|
|
102042
102037
|
|
|
102043
|
-
def keys(self)
|
|
102038
|
+
def keys(self):
|
|
102044
102039
|
"""Return the identifiers of collection members
|
|
102045
102040
|
(matching Python's dict.keys() functionality).
|
|
102046
102041
|
|
|
102047
102042
|
:return: the identifiers for each member of this collection.
|
|
102048
|
-
:rtype: list[str]
|
|
102049
102043
|
"""
|
|
102050
102044
|
|
|
102051
102045
|
def values(self) -> list[_GenericType1 | None]:
|
|
102052
102046
|
"""Return the values of collection
|
|
102053
102047
|
(matching Python's dict.values() functionality).
|
|
102054
102048
|
|
|
102055
|
-
:return:
|
|
102049
|
+
:return: The members of this collection.
|
|
102056
102050
|
:rtype: list[_GenericType1 | None]
|
|
102057
102051
|
"""
|
|
102058
102052
|
|
|
@@ -102154,15 +102148,14 @@ class bpy_struct[_GenericType1]:
|
|
|
102154
102148
|
:rtype: int
|
|
102155
102149
|
"""
|
|
102156
102150
|
|
|
102157
|
-
def driver_add(self, path: str | None, index: int | None = -1)
|
|
102151
|
+
def driver_add(self, path: str | None, index: int | None = -1):
|
|
102158
102152
|
"""Adds driver(s) to the given property
|
|
102159
102153
|
|
|
102160
102154
|
:param path: path to the property to drive, analogous to the fcurve's data path.
|
|
102161
102155
|
:type path: str | None
|
|
102162
102156
|
:param index: array index of the property drive. Defaults to -1 for all indices or a single channel if the property is not an array.
|
|
102163
102157
|
:type index: int | None
|
|
102164
|
-
:return: The driver
|
|
102165
|
-
:rtype: FCurve
|
|
102158
|
+
:return: The driver added or a list of drivers when index is -1.
|
|
102166
102159
|
"""
|
|
102167
102160
|
|
|
102168
102161
|
def driver_remove(self, path: str | None, index: int | None = -1) -> bool:
|
|
@@ -102279,7 +102272,7 @@ class bpy_struct[_GenericType1]:
|
|
|
102279
102272
|
index: int | None = -1,
|
|
102280
102273
|
frame: float | None = bpy.context.scene.frame_current,
|
|
102281
102274
|
group: str | None = "",
|
|
102282
|
-
options
|
|
102275
|
+
options=set(),
|
|
102283
102276
|
keytype: str | None = "KEYFRAME",
|
|
102284
102277
|
) -> bool:
|
|
102285
102278
|
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.This is the most simple example of inserting a keyframe from python.Note that when keying data paths which contain nested properties this must be
|
|
@@ -102308,7 +102301,6 @@ class bpy_struct[_GenericType1]:
|
|
|
102308
102301
|
INSERTKEY_AVAILABLE Only insert into already existing F-Curves.
|
|
102309
102302
|
|
|
102310
102303
|
INSERTKEY_CYCLE_AWARE Take cyclic extrapolation into account (Cycle-Aware Keying option).
|
|
102311
|
-
:type options: set | None
|
|
102312
102304
|
:param keytype: Type of the key: 'KEYFRAME', 'BREAKDOWN', 'MOVING_HOLD', 'EXTREME', 'JITTER', or 'GENERATED'
|
|
102313
102305
|
:type keytype: str | None
|
|
102314
102306
|
:return: Success of keyframe insertion.
|
|
@@ -102369,11 +102361,12 @@ class bpy_struct[_GenericType1]:
|
|
|
102369
102361
|
:param property:
|
|
102370
102362
|
"""
|
|
102371
102363
|
|
|
102372
|
-
def type_recast(self):
|
|
102364
|
+
def type_recast(self) -> typing_extensions.Self:
|
|
102373
102365
|
"""Return a new instance, this is needed because types
|
|
102374
102366
|
such as textures can be changed at runtime.
|
|
102375
102367
|
|
|
102376
102368
|
:return: a new instance of this object with the type initialized again.
|
|
102369
|
+
:rtype: typing_extensions.Self
|
|
102377
102370
|
"""
|
|
102378
102371
|
|
|
102379
102372
|
def values(self) -> idprop.types.IDPropertyGroupViewValues:
|
|
@@ -102556,7 +102549,7 @@ class AOVs(bpy_prop_collection[AOV], bpy_struct):
|
|
|
102556
102549
|
class ActionChannelBagFCurves(bpy_prop_collection[FCurve], bpy_struct):
|
|
102557
102550
|
"""Collection of F-Curves for a specific action slot, on a specific strip"""
|
|
102558
102551
|
|
|
102559
|
-
def new(self, data_path: str, index: int | None = 0) -> FCurve:
|
|
102552
|
+
def new(self, data_path: str, *, index: int | None = 0) -> FCurve:
|
|
102560
102553
|
"""Add an F-Curve to the channelbag
|
|
102561
102554
|
|
|
102562
102555
|
:param data_path: Data Path, F-Curve data path to use
|
|
@@ -102567,7 +102560,7 @@ class ActionChannelBagFCurves(bpy_prop_collection[FCurve], bpy_struct):
|
|
|
102567
102560
|
:rtype: FCurve
|
|
102568
102561
|
"""
|
|
102569
102562
|
|
|
102570
|
-
def find(self, data_path: str, index: int | None = 0) -> FCurve:
|
|
102563
|
+
def find(self, data_path: str, *, index: int | None = 0) -> FCurve:
|
|
102571
102564
|
"""Find an F-Curve. Note that this function performs a linear scan of all F-Curves in the channelbag.
|
|
102572
102565
|
|
|
102573
102566
|
:param data_path: Data Path, F-Curve data path
|
|
@@ -102696,7 +102689,7 @@ class ActionFCurves(bpy_prop_collection[FCurve], bpy_struct):
|
|
|
102696
102689
|
"""Collection of action F-Curves"""
|
|
102697
102690
|
|
|
102698
102691
|
def new(
|
|
102699
|
-
self, data_path: str, index: int | None = 0, action_group: str = ""
|
|
102692
|
+
self, data_path: str, *, index: int | None = 0, action_group: str = ""
|
|
102700
102693
|
) -> FCurve:
|
|
102701
102694
|
"""Add an F-Curve to the action
|
|
102702
102695
|
|
|
@@ -102710,7 +102703,7 @@ class ActionFCurves(bpy_prop_collection[FCurve], bpy_struct):
|
|
|
102710
102703
|
:rtype: FCurve
|
|
102711
102704
|
"""
|
|
102712
102705
|
|
|
102713
|
-
def find(self, data_path: str, index: int | None = 0) -> FCurve:
|
|
102706
|
+
def find(self, data_path: str, *, index: int | None = 0) -> FCurve:
|
|
102714
102707
|
"""Find an F-Curve. Note that this function performs a linear scan of all F-Curves in the action.
|
|
102715
102708
|
|
|
102716
102709
|
:param data_path: Data Path, F-Curve data path
|
|
@@ -102897,7 +102890,7 @@ class ActionSlots(bpy_prop_collection[ActionSlot], bpy_struct):
|
|
|
102897
102890
|
:type: ActionSlot | None
|
|
102898
102891
|
"""
|
|
102899
102892
|
|
|
102900
|
-
def new(self, for_id: ID | None = None) -> ActionSlot:
|
|
102893
|
+
def new(self, *, for_id: ID | None = None) -> ActionSlot:
|
|
102901
102894
|
"""Add a slot to the Action
|
|
102902
102895
|
|
|
102903
102896
|
:param for_id: Data-Block, If given, the new slot will be named after this data-block, and limited to animating data-blocks of its type. If ommitted, limiting the ID type will happen as soon as the slot is assigned.
|
|
@@ -102938,7 +102931,9 @@ class ActionSlots(bpy_prop_collection[ActionSlot], bpy_struct):
|
|
|
102938
102931
|
class ActionStrips(bpy_prop_collection[ActionStrip], bpy_struct):
|
|
102939
102932
|
"""Collection of animation strips"""
|
|
102940
102933
|
|
|
102941
|
-
def new(
|
|
102934
|
+
def new(
|
|
102935
|
+
self, *, type: typing.Literal["KEYFRAME"] | None = "KEYFRAME"
|
|
102936
|
+
) -> ActionStrip:
|
|
102942
102937
|
"""Add a new strip to the layer. Currently a layer can only have one strip, with infinite boundaries.
|
|
102943
102938
|
|
|
102944
102939
|
:param type: Type, The type of strip to create
|
|
@@ -103023,7 +103018,7 @@ class Addons(bpy_prop_collection[Addon], bpy_struct):
|
|
|
103023
103018
|
class AnimDataDrivers(bpy_prop_collection[FCurve], bpy_struct):
|
|
103024
103019
|
"""Collection of Driver F-Curves"""
|
|
103025
103020
|
|
|
103026
|
-
def new(self, data_path: str, index: int | None = 0) -> FCurve:
|
|
103021
|
+
def new(self, data_path: str, *, index: int | None = 0) -> FCurve:
|
|
103027
103022
|
"""new
|
|
103028
103023
|
|
|
103029
103024
|
:param data_path: Data Path, F-Curve data path to use
|
|
@@ -103041,7 +103036,7 @@ class AnimDataDrivers(bpy_prop_collection[FCurve], bpy_struct):
|
|
|
103041
103036
|
:type driver: FCurve
|
|
103042
103037
|
"""
|
|
103043
103038
|
|
|
103044
|
-
def from_existing(self, src_driver: FCurve | None = None) -> FCurve:
|
|
103039
|
+
def from_existing(self, *, src_driver: FCurve | None = None) -> FCurve:
|
|
103045
103040
|
"""Add a new driver given an existing one
|
|
103046
103041
|
|
|
103047
103042
|
:param src_driver: Existing Driver F-Curve to use as template for a new one
|
|
@@ -103050,7 +103045,7 @@ class AnimDataDrivers(bpy_prop_collection[FCurve], bpy_struct):
|
|
|
103050
103045
|
:rtype: FCurve
|
|
103051
103046
|
"""
|
|
103052
103047
|
|
|
103053
|
-
def find(self, data_path: str, index: int | None = 0) -> FCurve:
|
|
103048
|
+
def find(self, data_path: str, *, index: int | None = 0) -> FCurve:
|
|
103054
103049
|
"""Find a driver F-Curve. Note that this function performs a linear scan of all driver F-Curves.
|
|
103055
103050
|
|
|
103056
103051
|
:param data_path: Data Path, F-Curve data path
|
|
@@ -103238,7 +103233,7 @@ class AssetLibraryCollection(bpy_prop_collection[UserAssetLibrary], bpy_struct):
|
|
|
103238
103233
|
"""Collection of user asset libraries"""
|
|
103239
103234
|
|
|
103240
103235
|
@classmethod
|
|
103241
|
-
def new(cls, name: str = "", directory: str = "") -> UserAssetLibrary:
|
|
103236
|
+
def new(cls, *, name: str = "", directory: str = "") -> UserAssetLibrary:
|
|
103242
103237
|
"""Add a new Asset Library
|
|
103243
103238
|
|
|
103244
103239
|
:param name: Name
|
|
@@ -103282,7 +103277,7 @@ class AssetLibraryCollection(bpy_prop_collection[UserAssetLibrary], bpy_struct):
|
|
|
103282
103277
|
class AssetTags(bpy_prop_collection[AssetTag], bpy_struct):
|
|
103283
103278
|
"""Collection of custom asset tags"""
|
|
103284
103279
|
|
|
103285
|
-
def new(self, name: str, skip_if_exists: bool | None = False) -> AssetTag:
|
|
103280
|
+
def new(self, name: str, *, skip_if_exists: bool | None = False) -> AssetTag:
|
|
103286
103281
|
"""Add a new tag to this asset
|
|
103287
103282
|
|
|
103288
103283
|
:param name: Name
|
|
@@ -103722,6 +103717,7 @@ class BlendDataActions(bpy_prop_collection[Action], bpy_struct):
|
|
|
103722
103717
|
def remove(
|
|
103723
103718
|
self,
|
|
103724
103719
|
action: Action,
|
|
103720
|
+
*,
|
|
103725
103721
|
do_unlink: bool | None = True,
|
|
103726
103722
|
do_id_user: bool | None = True,
|
|
103727
103723
|
do_ui_user: bool | None = True,
|
|
@@ -103782,6 +103778,7 @@ class BlendDataArmatures(bpy_prop_collection[Armature], bpy_struct):
|
|
|
103782
103778
|
def remove(
|
|
103783
103779
|
self,
|
|
103784
103780
|
armature: Armature,
|
|
103781
|
+
*,
|
|
103785
103782
|
do_unlink: bool | None = True,
|
|
103786
103783
|
do_id_user: bool | None = True,
|
|
103787
103784
|
do_ui_user: bool | None = True,
|
|
@@ -103831,7 +103828,7 @@ class BlendDataBrushes(bpy_prop_collection[Brush], bpy_struct):
|
|
|
103831
103828
|
"""Collection of brushes"""
|
|
103832
103829
|
|
|
103833
103830
|
def new(
|
|
103834
|
-
self, name: str, mode: bpy.typing.ObjectModeItems | None = "TEXTURE_PAINT"
|
|
103831
|
+
self, name: str, *, mode: bpy.typing.ObjectModeItems | None = "TEXTURE_PAINT"
|
|
103835
103832
|
) -> Brush:
|
|
103836
103833
|
"""Add a new brush to the main database
|
|
103837
103834
|
|
|
@@ -103846,6 +103843,7 @@ class BlendDataBrushes(bpy_prop_collection[Brush], bpy_struct):
|
|
|
103846
103843
|
def remove(
|
|
103847
103844
|
self,
|
|
103848
103845
|
brush: Brush,
|
|
103846
|
+
*,
|
|
103849
103847
|
do_unlink: bool | None = True,
|
|
103850
103848
|
do_id_user: bool | None = True,
|
|
103851
103849
|
do_ui_user: bool | None = True,
|
|
@@ -103945,6 +103943,7 @@ class BlendDataCameras(bpy_prop_collection[Camera], bpy_struct):
|
|
|
103945
103943
|
def remove(
|
|
103946
103944
|
self,
|
|
103947
103945
|
camera: Camera,
|
|
103946
|
+
*,
|
|
103948
103947
|
do_unlink: bool | None = True,
|
|
103949
103948
|
do_id_user: bool | None = True,
|
|
103950
103949
|
do_ui_user: bool | None = True,
|
|
@@ -104005,6 +104004,7 @@ class BlendDataCollections(bpy_prop_collection[Collection], bpy_struct):
|
|
|
104005
104004
|
def remove(
|
|
104006
104005
|
self,
|
|
104007
104006
|
collection: Collection,
|
|
104007
|
+
*,
|
|
104008
104008
|
do_unlink: bool | None = True,
|
|
104009
104009
|
do_id_user: bool | None = True,
|
|
104010
104010
|
do_ui_user: bool | None = True,
|
|
@@ -104067,6 +104067,7 @@ class BlendDataCurves(bpy_prop_collection[Curve], bpy_struct):
|
|
|
104067
104067
|
def remove(
|
|
104068
104068
|
self,
|
|
104069
104069
|
curve: Curve,
|
|
104070
|
+
*,
|
|
104070
104071
|
do_unlink: bool | None = True,
|
|
104071
104072
|
do_id_user: bool | None = True,
|
|
104072
104073
|
do_ui_user: bool | None = True,
|
|
@@ -104115,7 +104116,7 @@ class BlendDataCurves(bpy_prop_collection[Curve], bpy_struct):
|
|
|
104115
104116
|
class BlendDataFonts(bpy_prop_collection[VectorFont], bpy_struct):
|
|
104116
104117
|
"""Collection of fonts"""
|
|
104117
104118
|
|
|
104118
|
-
def load(self, filepath: str, check_existing: bool | None = False) -> VectorFont:
|
|
104119
|
+
def load(self, filepath: str, *, check_existing: bool | None = False) -> VectorFont:
|
|
104119
104120
|
"""Load a new font into the main database
|
|
104120
104121
|
|
|
104121
104122
|
:param filepath: path of the font to load
|
|
@@ -104129,6 +104130,7 @@ class BlendDataFonts(bpy_prop_collection[VectorFont], bpy_struct):
|
|
|
104129
104130
|
def remove(
|
|
104130
104131
|
self,
|
|
104131
104132
|
vfont: VectorFont,
|
|
104133
|
+
*,
|
|
104132
104134
|
do_unlink: bool | None = True,
|
|
104133
104135
|
do_id_user: bool | None = True,
|
|
104134
104136
|
do_ui_user: bool | None = True,
|
|
@@ -104196,6 +104198,7 @@ class BlendDataGreasePencils(bpy_prop_collection[GreasePencil], bpy_struct):
|
|
|
104196
104198
|
def remove(
|
|
104197
104199
|
self,
|
|
104198
104200
|
grease_pencil: GreasePencil,
|
|
104201
|
+
*,
|
|
104199
104202
|
do_unlink: bool | None = True,
|
|
104200
104203
|
do_id_user: bool | None = True,
|
|
104201
104204
|
do_ui_user: bool | None = True,
|
|
@@ -104256,6 +104259,7 @@ class BlendDataGreasePencilsV3(bpy_prop_collection[GreasePencilv3], bpy_struct):
|
|
|
104256
104259
|
def remove(
|
|
104257
104260
|
self,
|
|
104258
104261
|
grease_pencil: GreasePencilv3,
|
|
104262
|
+
*,
|
|
104259
104263
|
do_unlink: bool | None = True,
|
|
104260
104264
|
do_id_user: bool | None = True,
|
|
104261
104265
|
do_ui_user: bool | None = True,
|
|
@@ -104309,6 +104313,7 @@ class BlendDataHairCurves(bpy_prop_collection[Curves], bpy_struct):
|
|
|
104309
104313
|
def remove(
|
|
104310
104314
|
self,
|
|
104311
104315
|
curves: Curves,
|
|
104316
|
+
*,
|
|
104312
104317
|
do_unlink: bool | None = True,
|
|
104313
104318
|
do_id_user: bool | None = True,
|
|
104314
104319
|
do_ui_user: bool | None = True,
|
|
@@ -104362,6 +104367,7 @@ class BlendDataImages(bpy_prop_collection[Image], bpy_struct):
|
|
|
104362
104367
|
name: str,
|
|
104363
104368
|
width: int | None,
|
|
104364
104369
|
height: int | None,
|
|
104370
|
+
*,
|
|
104365
104371
|
alpha: bool | None = False,
|
|
104366
104372
|
float_buffer: bool | None = False,
|
|
104367
104373
|
stereo3d: bool | None = False,
|
|
@@ -104390,7 +104396,7 @@ class BlendDataImages(bpy_prop_collection[Image], bpy_struct):
|
|
|
104390
104396
|
:rtype: Image
|
|
104391
104397
|
"""
|
|
104392
104398
|
|
|
104393
|
-
def load(self, filepath: str, check_existing: bool | None = False) -> Image:
|
|
104399
|
+
def load(self, filepath: str, *, check_existing: bool | None = False) -> Image:
|
|
104394
104400
|
"""Load a new image into the main database
|
|
104395
104401
|
|
|
104396
104402
|
:param filepath: Path of the file to load
|
|
@@ -104404,6 +104410,7 @@ class BlendDataImages(bpy_prop_collection[Image], bpy_struct):
|
|
|
104404
104410
|
def remove(
|
|
104405
104411
|
self,
|
|
104406
104412
|
image: Image,
|
|
104413
|
+
*,
|
|
104407
104414
|
do_unlink: bool | None = True,
|
|
104408
104415
|
do_id_user: bool | None = True,
|
|
104409
104416
|
do_ui_user: bool | None = True,
|
|
@@ -104464,6 +104471,7 @@ class BlendDataLattices(bpy_prop_collection[Lattice], bpy_struct):
|
|
|
104464
104471
|
def remove(
|
|
104465
104472
|
self,
|
|
104466
104473
|
lattice: Lattice,
|
|
104474
|
+
*,
|
|
104467
104475
|
do_unlink: bool | None = True,
|
|
104468
104476
|
do_id_user: bool | None = True,
|
|
104469
104477
|
do_ui_user: bool | None = True,
|
|
@@ -104522,6 +104530,7 @@ class BlendDataLibraries(bpy_prop_collection[Library], bpy_struct):
|
|
|
104522
104530
|
def remove(
|
|
104523
104531
|
self,
|
|
104524
104532
|
library: Library,
|
|
104533
|
+
*,
|
|
104525
104534
|
do_unlink: bool | None = True,
|
|
104526
104535
|
do_id_user: bool | None = True,
|
|
104527
104536
|
do_ui_user: bool | None = True,
|
|
@@ -104562,7 +104571,7 @@ class BlendDataLibraries(bpy_prop_collection[Library], bpy_struct):
|
|
|
104562
104571
|
|
|
104563
104572
|
def load(
|
|
104564
104573
|
self,
|
|
104565
|
-
filepath
|
|
104574
|
+
filepath,
|
|
104566
104575
|
link: bool | None = False,
|
|
104567
104576
|
relative: bool | None = False,
|
|
104568
104577
|
assets_only: bool | None = False,
|
|
@@ -104574,7 +104583,6 @@ class BlendDataLibraries(bpy_prop_collection[Library], bpy_struct):
|
|
|
104574
104583
|
Each object has attributes matching bpy.data which are lists of strings to be linked.
|
|
104575
104584
|
|
|
104576
104585
|
:param filepath: The path to a blend file.
|
|
104577
|
-
:type filepath: bytes | str | None
|
|
104578
104586
|
:param link: When False reference to the original file is lost.
|
|
104579
104587
|
:type link: bool | None
|
|
104580
104588
|
:param relative: When True the path is stored relative to the open blend file.
|
|
@@ -104594,8 +104602,8 @@ class BlendDataLibraries(bpy_prop_collection[Library], bpy_struct):
|
|
|
104594
104602
|
|
|
104595
104603
|
def write(
|
|
104596
104604
|
self,
|
|
104597
|
-
filepath
|
|
104598
|
-
datablocks
|
|
104605
|
+
filepath,
|
|
104606
|
+
datablocks,
|
|
104599
104607
|
path_remap: str | None = False,
|
|
104600
104608
|
fake_user: bool | None = False,
|
|
104601
104609
|
compress: bool | None = False,
|
|
@@ -104603,9 +104611,7 @@ class BlendDataLibraries(bpy_prop_collection[Library], bpy_struct):
|
|
|
104603
104611
|
"""Write data-blocks into a blend file.
|
|
104604
104612
|
|
|
104605
104613
|
:param filepath: The path to write the blend-file.
|
|
104606
|
-
:
|
|
104607
|
-
:param datablocks: set of data-blocks (`bpy.types.ID` instances).
|
|
104608
|
-
:type datablocks: set | None
|
|
104614
|
+
:param datablocks: set of data-blocks.
|
|
104609
104615
|
:param path_remap: Optionally remap paths when writing the file:
|
|
104610
104616
|
|
|
104611
104617
|
NONE No path manipulation (default).
|
|
@@ -104639,6 +104645,7 @@ class BlendDataLights(bpy_prop_collection[Light], bpy_struct):
|
|
|
104639
104645
|
def remove(
|
|
104640
104646
|
self,
|
|
104641
104647
|
light: Light,
|
|
104648
|
+
*,
|
|
104642
104649
|
do_unlink: bool | None = True,
|
|
104643
104650
|
do_id_user: bool | None = True,
|
|
104644
104651
|
do_ui_user: bool | None = True,
|
|
@@ -104706,6 +104713,7 @@ class BlendDataLineStyles(bpy_prop_collection[FreestyleLineStyle], bpy_struct):
|
|
|
104706
104713
|
def remove(
|
|
104707
104714
|
self,
|
|
104708
104715
|
linestyle: FreestyleLineStyle,
|
|
104716
|
+
*,
|
|
104709
104717
|
do_unlink: bool | None = True,
|
|
104710
104718
|
do_id_user: bool | None = True,
|
|
104711
104719
|
do_ui_user: bool | None = True,
|
|
@@ -104766,6 +104774,7 @@ class BlendDataMasks(bpy_prop_collection[Mask], bpy_struct):
|
|
|
104766
104774
|
def remove(
|
|
104767
104775
|
self,
|
|
104768
104776
|
mask: Mask,
|
|
104777
|
+
*,
|
|
104769
104778
|
do_unlink: bool | None = True,
|
|
104770
104779
|
do_id_user: bool | None = True,
|
|
104771
104780
|
do_ui_user: bool | None = True,
|
|
@@ -104833,6 +104842,7 @@ class BlendDataMaterials(bpy_prop_collection[Material], bpy_struct):
|
|
|
104833
104842
|
def remove(
|
|
104834
104843
|
self,
|
|
104835
104844
|
material: Material,
|
|
104845
|
+
*,
|
|
104836
104846
|
do_unlink: bool | None = True,
|
|
104837
104847
|
do_id_user: bool | None = True,
|
|
104838
104848
|
do_ui_user: bool | None = True,
|
|
@@ -104893,6 +104903,7 @@ class BlendDataMeshes(bpy_prop_collection[Mesh], bpy_struct):
|
|
|
104893
104903
|
def new_from_object(
|
|
104894
104904
|
self,
|
|
104895
104905
|
object: Object,
|
|
104906
|
+
*,
|
|
104896
104907
|
preserve_all_data_layers: bool | None = False,
|
|
104897
104908
|
depsgraph: Depsgraph | None = None,
|
|
104898
104909
|
) -> Mesh:
|
|
@@ -104911,6 +104922,7 @@ class BlendDataMeshes(bpy_prop_collection[Mesh], bpy_struct):
|
|
|
104911
104922
|
def remove(
|
|
104912
104923
|
self,
|
|
104913
104924
|
mesh: Mesh,
|
|
104925
|
+
*,
|
|
104914
104926
|
do_unlink: bool | None = True,
|
|
104915
104927
|
do_id_user: bool | None = True,
|
|
104916
104928
|
do_ui_user: bool | None = True,
|
|
@@ -104971,6 +104983,7 @@ class BlendDataMetaBalls(bpy_prop_collection[MetaBall], bpy_struct):
|
|
|
104971
104983
|
def remove(
|
|
104972
104984
|
self,
|
|
104973
104985
|
metaball: MetaBall,
|
|
104986
|
+
*,
|
|
104974
104987
|
do_unlink: bool | None = True,
|
|
104975
104988
|
do_id_user: bool | None = True,
|
|
104976
104989
|
do_ui_user: bool | None = True,
|
|
@@ -105029,6 +105042,7 @@ class BlendDataMovieClips(bpy_prop_collection[MovieClip], bpy_struct):
|
|
|
105029
105042
|
def remove(
|
|
105030
105043
|
self,
|
|
105031
105044
|
clip: MovieClip,
|
|
105045
|
+
*,
|
|
105032
105046
|
do_unlink: bool | None = True,
|
|
105033
105047
|
do_id_user: bool | None = True,
|
|
105034
105048
|
do_ui_user: bool | None = True,
|
|
@@ -105045,7 +105059,7 @@ class BlendDataMovieClips(bpy_prop_collection[MovieClip], bpy_struct):
|
|
|
105045
105059
|
:type do_ui_user: bool | None
|
|
105046
105060
|
"""
|
|
105047
105061
|
|
|
105048
|
-
def load(self, filepath: str, check_existing: bool | None = False) -> MovieClip:
|
|
105062
|
+
def load(self, filepath: str, *, check_existing: bool | None = False) -> MovieClip:
|
|
105049
105063
|
"""Add a new movie clip to the main database from a file (while check_existing is disabled for consistency with other load functions, behavior with multiple movie-clips using the same file may incorrectly generate proxies)
|
|
105050
105064
|
|
|
105051
105065
|
:param filepath: path for the data-block
|
|
@@ -105095,6 +105109,7 @@ class BlendDataNodeTrees(bpy_prop_collection[NodeTree], bpy_struct):
|
|
|
105095
105109
|
def remove(
|
|
105096
105110
|
self,
|
|
105097
105111
|
tree: NodeTree,
|
|
105112
|
+
*,
|
|
105098
105113
|
do_unlink: bool | None = True,
|
|
105099
105114
|
do_id_user: bool | None = True,
|
|
105100
105115
|
do_ui_user: bool | None = True,
|
|
@@ -105157,6 +105172,7 @@ class BlendDataObjects(bpy_prop_collection[Object], bpy_struct):
|
|
|
105157
105172
|
def remove(
|
|
105158
105173
|
self,
|
|
105159
105174
|
object: Object,
|
|
105175
|
+
*,
|
|
105160
105176
|
do_unlink: bool | None = True,
|
|
105161
105177
|
do_id_user: bool | None = True,
|
|
105162
105178
|
do_ui_user: bool | None = True,
|
|
@@ -105249,6 +105265,7 @@ class BlendDataPalettes(bpy_prop_collection[Palette], bpy_struct):
|
|
|
105249
105265
|
def remove(
|
|
105250
105266
|
self,
|
|
105251
105267
|
palette: Palette,
|
|
105268
|
+
*,
|
|
105252
105269
|
do_unlink: bool | None = True,
|
|
105253
105270
|
do_id_user: bool | None = True,
|
|
105254
105271
|
do_ui_user: bool | None = True,
|
|
@@ -105309,6 +105326,7 @@ class BlendDataParticles(bpy_prop_collection[ParticleSettings], bpy_struct):
|
|
|
105309
105326
|
def remove(
|
|
105310
105327
|
self,
|
|
105311
105328
|
particle: ParticleSettings,
|
|
105329
|
+
*,
|
|
105312
105330
|
do_unlink: bool | None = True,
|
|
105313
105331
|
do_id_user: bool | None = True,
|
|
105314
105332
|
do_ui_user: bool | None = True,
|
|
@@ -105369,6 +105387,7 @@ class BlendDataPointClouds(bpy_prop_collection[PointCloud], bpy_struct):
|
|
|
105369
105387
|
def remove(
|
|
105370
105388
|
self,
|
|
105371
105389
|
pointcloud: PointCloud,
|
|
105390
|
+
*,
|
|
105372
105391
|
do_unlink: bool | None = True,
|
|
105373
105392
|
do_id_user: bool | None = True,
|
|
105374
105393
|
do_ui_user: bool | None = True,
|
|
@@ -105433,6 +105452,7 @@ class BlendDataProbes(bpy_prop_collection[LightProbe], bpy_struct):
|
|
|
105433
105452
|
def remove(
|
|
105434
105453
|
self,
|
|
105435
105454
|
lightprobe: LightProbe,
|
|
105455
|
+
*,
|
|
105436
105456
|
do_unlink: bool | None = True,
|
|
105437
105457
|
do_id_user: bool | None = True,
|
|
105438
105458
|
do_ui_user: bool | None = True,
|
|
@@ -105490,7 +105510,7 @@ class BlendDataScenes(bpy_prop_collection[Scene], bpy_struct):
|
|
|
105490
105510
|
:rtype: Scene
|
|
105491
105511
|
"""
|
|
105492
105512
|
|
|
105493
|
-
def remove(self, scene: Scene, do_unlink: bool | None = True):
|
|
105513
|
+
def remove(self, scene: Scene, *, do_unlink: bool | None = True):
|
|
105494
105514
|
"""Remove a scene from the current blendfile
|
|
105495
105515
|
|
|
105496
105516
|
:param scene: Scene to remove
|
|
@@ -105563,7 +105583,7 @@ class BlendDataScreens(bpy_prop_collection[Screen], bpy_struct):
|
|
|
105563
105583
|
class BlendDataSounds(bpy_prop_collection[Sound], bpy_struct):
|
|
105564
105584
|
"""Collection of sounds"""
|
|
105565
105585
|
|
|
105566
|
-
def load(self, filepath: str, check_existing: bool | None = False) -> Sound:
|
|
105586
|
+
def load(self, filepath: str, *, check_existing: bool | None = False) -> Sound:
|
|
105567
105587
|
"""Add a new sound to the main database from a file
|
|
105568
105588
|
|
|
105569
105589
|
:param filepath: path for the data-block
|
|
@@ -105577,6 +105597,7 @@ class BlendDataSounds(bpy_prop_collection[Sound], bpy_struct):
|
|
|
105577
105597
|
def remove(
|
|
105578
105598
|
self,
|
|
105579
105599
|
sound: Sound,
|
|
105600
|
+
*,
|
|
105580
105601
|
do_unlink: bool | None = True,
|
|
105581
105602
|
do_id_user: bool | None = True,
|
|
105582
105603
|
do_ui_user: bool | None = True,
|
|
@@ -105637,6 +105658,7 @@ class BlendDataSpeakers(bpy_prop_collection[Speaker], bpy_struct):
|
|
|
105637
105658
|
def remove(
|
|
105638
105659
|
self,
|
|
105639
105660
|
speaker: Speaker,
|
|
105661
|
+
*,
|
|
105640
105662
|
do_unlink: bool | None = True,
|
|
105641
105663
|
do_id_user: bool | None = True,
|
|
105642
105664
|
do_ui_user: bool | None = True,
|
|
@@ -105697,6 +105719,7 @@ class BlendDataTexts(bpy_prop_collection[Text], bpy_struct):
|
|
|
105697
105719
|
def remove(
|
|
105698
105720
|
self,
|
|
105699
105721
|
text: Text,
|
|
105722
|
+
*,
|
|
105700
105723
|
do_unlink: bool | None = True,
|
|
105701
105724
|
do_id_user: bool | None = True,
|
|
105702
105725
|
do_ui_user: bool | None = True,
|
|
@@ -105713,7 +105736,7 @@ class BlendDataTexts(bpy_prop_collection[Text], bpy_struct):
|
|
|
105713
105736
|
:type do_ui_user: bool | None
|
|
105714
105737
|
"""
|
|
105715
105738
|
|
|
105716
|
-
def load(self, filepath: str, internal: bool | None = False) -> Text:
|
|
105739
|
+
def load(self, filepath: str, *, internal: bool | None = False) -> Text:
|
|
105717
105740
|
"""Add a new text to the main database from a file
|
|
105718
105741
|
|
|
105719
105742
|
:param filepath: path for the data-block
|
|
@@ -105770,6 +105793,7 @@ class BlendDataTextures(bpy_prop_collection[Texture], bpy_struct):
|
|
|
105770
105793
|
def remove(
|
|
105771
105794
|
self,
|
|
105772
105795
|
texture: Texture,
|
|
105796
|
+
*,
|
|
105773
105797
|
do_unlink: bool | None = True,
|
|
105774
105798
|
do_id_user: bool | None = True,
|
|
105775
105799
|
do_ui_user: bool | None = True,
|
|
@@ -105830,6 +105854,7 @@ class BlendDataVolumes(bpy_prop_collection[Volume], bpy_struct):
|
|
|
105830
105854
|
def remove(
|
|
105831
105855
|
self,
|
|
105832
105856
|
volume: Volume,
|
|
105857
|
+
*,
|
|
105833
105858
|
do_unlink: bool | None = True,
|
|
105834
105859
|
do_id_user: bool | None = True,
|
|
105835
105860
|
do_ui_user: bool | None = True,
|
|
@@ -105954,6 +105979,7 @@ class BlendDataWorlds(bpy_prop_collection[World], bpy_struct):
|
|
|
105954
105979
|
def remove(
|
|
105955
105980
|
self,
|
|
105956
105981
|
world: World,
|
|
105982
|
+
*,
|
|
105957
105983
|
do_unlink: bool | None = True,
|
|
105958
105984
|
do_id_user: bool | None = True,
|
|
105959
105985
|
do_ui_user: bool | None = True,
|
|
@@ -106106,7 +106132,7 @@ class BoneCollections(bpy_prop_collection[BoneCollection], bpy_struct):
|
|
|
106106
106132
|
:type: bool
|
|
106107
106133
|
"""
|
|
106108
106134
|
|
|
106109
|
-
def new(self, name: str, parent: BoneCollection | None = None) -> BoneCollection:
|
|
106135
|
+
def new(self, name: str, *, parent: BoneCollection | None = None) -> BoneCollection:
|
|
106110
106136
|
"""Add a new empty bone collection to the armature
|
|
106111
106137
|
|
|
106112
106138
|
:param name: Name, Name of the new collection. Blender will ensure it is unique within the collections of the Armature.
|
|
@@ -106717,6 +106743,7 @@ class FCurveKeyframePoints(bpy_prop_collection[Keyframe], bpy_struct):
|
|
|
106717
106743
|
self,
|
|
106718
106744
|
frame: float | None,
|
|
106719
106745
|
value: float | None,
|
|
106746
|
+
*,
|
|
106720
106747
|
options: set[typing.Literal["REPLACE", "NEEDED", "FAST"]] | None = {},
|
|
106721
106748
|
keyframe_type: bpy.typing.BeztripleKeyframeTypeItems | None = "KEYFRAME",
|
|
106722
106749
|
) -> Keyframe:
|
|
@@ -106750,7 +106777,7 @@ class FCurveKeyframePoints(bpy_prop_collection[Keyframe], bpy_struct):
|
|
|
106750
106777
|
:type count: int | None
|
|
106751
106778
|
"""
|
|
106752
106779
|
|
|
106753
|
-
def remove(self, keyframe: Keyframe, fast: bool | None = False):
|
|
106780
|
+
def remove(self, keyframe: Keyframe, *, fast: bool | None = False):
|
|
106754
106781
|
"""Remove keyframe from an F-Curve
|
|
106755
106782
|
|
|
106756
106783
|
:param keyframe: Keyframe to remove
|
|
@@ -106926,7 +106953,7 @@ class GPencilFrames(bpy_prop_collection[GPencilFrame], bpy_struct):
|
|
|
106926
106953
|
"""Collection of annotation frames"""
|
|
106927
106954
|
|
|
106928
106955
|
def new(
|
|
106929
|
-
self, frame_number: int | None, active: bool | None = False
|
|
106956
|
+
self, frame_number: int | None, *, active: bool | None = False
|
|
106930
106957
|
) -> GPencilFrame:
|
|
106931
106958
|
"""Add a new annotation frame
|
|
106932
106959
|
|
|
@@ -107043,6 +107070,7 @@ class GreasePencilFrames(bpy_prop_collection[GreasePencilFrame], bpy_struct):
|
|
|
107043
107070
|
self,
|
|
107044
107071
|
from_frame_number: int | None,
|
|
107045
107072
|
to_frame_number: int | None,
|
|
107073
|
+
*,
|
|
107046
107074
|
instance_drawing: bool | None = False,
|
|
107047
107075
|
) -> GreasePencilFrame:
|
|
107048
107076
|
"""Copy a Grease Pencil frame
|
|
@@ -107138,7 +107166,7 @@ class GreasePencilLayers(bpy_prop_collection[GPencilLayer], bpy_struct):
|
|
|
107138
107166
|
:type: str | None
|
|
107139
107167
|
"""
|
|
107140
107168
|
|
|
107141
|
-
def new(self, name: str, set_active: bool | None = True) -> GPencilLayer:
|
|
107169
|
+
def new(self, name: str, *, set_active: bool | None = True) -> GPencilLayer:
|
|
107142
107170
|
"""Add a new annotation layer
|
|
107143
107171
|
|
|
107144
107172
|
:param name: Name, Name of the layer
|
|
@@ -107188,7 +107216,7 @@ class GreasePencilv3LayerGroup(bpy_prop_collection[GreasePencilLayerGroup], bpy_
|
|
|
107188
107216
|
"""
|
|
107189
107217
|
|
|
107190
107218
|
def new(
|
|
107191
|
-
self, name: str, parent_group: GreasePencilLayerGroup | None = None
|
|
107219
|
+
self, name: str, *, parent_group: GreasePencilLayerGroup | None = None
|
|
107192
107220
|
) -> GreasePencilLayerGroup:
|
|
107193
107221
|
"""Add a new Grease Pencil layer group
|
|
107194
107222
|
|
|
@@ -107201,7 +107229,7 @@ class GreasePencilv3LayerGroup(bpy_prop_collection[GreasePencilLayerGroup], bpy_
|
|
|
107201
107229
|
"""
|
|
107202
107230
|
|
|
107203
107231
|
def remove(
|
|
107204
|
-
self, layer_group: GreasePencilLayerGroup, keep_children: bool | None = False
|
|
107232
|
+
self, layer_group: GreasePencilLayerGroup, *, keep_children: bool | None = False
|
|
107205
107233
|
):
|
|
107206
107234
|
"""Remove a new Grease Pencil layer group
|
|
107207
107235
|
|
|
@@ -107285,6 +107313,7 @@ class GreasePencilv3Layers(bpy_prop_collection[GreasePencilLayer], bpy_struct):
|
|
|
107285
107313
|
def new(
|
|
107286
107314
|
self,
|
|
107287
107315
|
name: str,
|
|
107316
|
+
*,
|
|
107288
107317
|
set_active: bool | None = True,
|
|
107289
107318
|
layer_group: GreasePencilLayerGroup | None = None,
|
|
107290
107319
|
) -> GreasePencilLayer:
|
|
@@ -107467,6 +107496,7 @@ class IDOverrideLibraryPropertyOperations(
|
|
|
107467
107496
|
"INSERT_BEFORE",
|
|
107468
107497
|
]
|
|
107469
107498
|
| None,
|
|
107499
|
+
*,
|
|
107470
107500
|
use_id: bool | None = False,
|
|
107471
107501
|
subitem_reference_name: str = "",
|
|
107472
107502
|
subitem_local_name: str = "",
|
|
@@ -107593,6 +107623,7 @@ class KeyConfigurations(bpy_prop_collection[KeyConfig], bpy_struct):
|
|
|
107593
107623
|
def find_item_from_operator(
|
|
107594
107624
|
self,
|
|
107595
107625
|
idname: str,
|
|
107626
|
+
*,
|
|
107596
107627
|
context: bpy.typing.OperatorContextItems | None = "INVOKE_DEFAULT",
|
|
107597
107628
|
properties: OperatorProperties | None = None,
|
|
107598
107629
|
include: set[bpy.typing.EventTypeMaskItems] | None = {
|
|
@@ -107620,7 +107651,7 @@ class KeyConfigurations(bpy_prop_collection[KeyConfig], bpy_struct):
|
|
|
107620
107651
|
item, `KeyMapItem`
|
|
107621
107652
|
"""
|
|
107622
107653
|
|
|
107623
|
-
def update(self, keep_properties: bool | None = False):
|
|
107654
|
+
def update(self, *, keep_properties: bool | None = False):
|
|
107624
107655
|
"""update
|
|
107625
107656
|
|
|
107626
107657
|
:param keep_properties: Keep Properties, Operator properties are kept to allow the operators to be registered again in the future
|
|
@@ -107657,6 +107688,7 @@ class KeyMapItems(bpy_prop_collection[KeyMapItem], bpy_struct):
|
|
|
107657
107688
|
idname: str,
|
|
107658
107689
|
type: bpy.typing.EventTypeItems | None,
|
|
107659
107690
|
value: bpy.typing.EventValueItems | None,
|
|
107691
|
+
*,
|
|
107660
107692
|
any: bool | None = False,
|
|
107661
107693
|
shift: int | None = 0,
|
|
107662
107694
|
ctrl: int | None = 0,
|
|
@@ -107702,6 +107734,7 @@ class KeyMapItems(bpy_prop_collection[KeyMapItem], bpy_struct):
|
|
|
107702
107734
|
propvalue: str,
|
|
107703
107735
|
type: bpy.typing.EventTypeItems | None,
|
|
107704
107736
|
value: bpy.typing.EventValueItems | None,
|
|
107737
|
+
*,
|
|
107705
107738
|
any: bool | None = False,
|
|
107706
107739
|
shift: int | None = 0,
|
|
107707
107740
|
ctrl: int | None = 0,
|
|
@@ -107739,7 +107772,9 @@ class KeyMapItems(bpy_prop_collection[KeyMapItem], bpy_struct):
|
|
|
107739
107772
|
:rtype: KeyMapItem
|
|
107740
107773
|
"""
|
|
107741
107774
|
|
|
107742
|
-
def new_from_item(
|
|
107775
|
+
def new_from_item(
|
|
107776
|
+
self, item: KeyMapItem, *, head: bool | None = False
|
|
107777
|
+
) -> KeyMapItem:
|
|
107743
107778
|
"""new_from_item
|
|
107744
107779
|
|
|
107745
107780
|
:param item: Item, Item to use as a reference
|
|
@@ -107769,6 +107804,7 @@ class KeyMapItems(bpy_prop_collection[KeyMapItem], bpy_struct):
|
|
|
107769
107804
|
def find_from_operator(
|
|
107770
107805
|
self,
|
|
107771
107806
|
idname: str,
|
|
107807
|
+
*,
|
|
107772
107808
|
properties: OperatorProperties | None = None,
|
|
107773
107809
|
include: set[bpy.typing.EventTypeMaskItems] | None = {
|
|
107774
107810
|
"ACTIONZONE",
|
|
@@ -107829,6 +107865,7 @@ class KeyMaps(bpy_prop_collection[KeyMap], bpy_struct):
|
|
|
107829
107865
|
def new(
|
|
107830
107866
|
self,
|
|
107831
107867
|
name: str,
|
|
107868
|
+
*,
|
|
107832
107869
|
space_type: bpy.typing.SpaceTypeItems | None = "EMPTY",
|
|
107833
107870
|
region_type: bpy.typing.RegionTypeItems | None = "WINDOW",
|
|
107834
107871
|
modal: bool | None = False,
|
|
@@ -107863,6 +107900,7 @@ class KeyMaps(bpy_prop_collection[KeyMap], bpy_struct):
|
|
|
107863
107900
|
def find(
|
|
107864
107901
|
self,
|
|
107865
107902
|
name: str,
|
|
107903
|
+
*,
|
|
107866
107904
|
space_type: bpy.typing.SpaceTypeItems | None = "EMPTY",
|
|
107867
107905
|
region_type: bpy.typing.RegionTypeItems | None = "WINDOW",
|
|
107868
107906
|
) -> KeyMap:
|
|
@@ -107928,6 +107966,7 @@ class KeyingSetPaths(bpy_prop_collection[KeyingSetPath], bpy_struct):
|
|
|
107928
107966
|
self,
|
|
107929
107967
|
target_id: ID | None,
|
|
107930
107968
|
data_path: str,
|
|
107969
|
+
*,
|
|
107931
107970
|
index: int | None = -1,
|
|
107932
107971
|
group_method: bpy.typing.KeyingsetPathGroupingItems | None = "KEYINGSET",
|
|
107933
107972
|
group_name: str = "",
|
|
@@ -107995,7 +108034,7 @@ class KeyingSets(bpy_prop_collection[KeyingSet], bpy_struct):
|
|
|
107995
108034
|
:type: int | None
|
|
107996
108035
|
"""
|
|
107997
108036
|
|
|
107998
|
-
def new(self, idname: str = "KeyingSet", name: str = "KeyingSet") -> KeyingSet:
|
|
108037
|
+
def new(self, *, idname: str = "KeyingSet", name: str = "KeyingSet") -> KeyingSet:
|
|
107999
108038
|
"""Add a new Keying Set to Scene
|
|
108000
108039
|
|
|
108001
108040
|
:param idname: IDName, Internal identifier of Keying Set
|
|
@@ -108105,7 +108144,7 @@ class LayerObjects(bpy_prop_collection[Object], bpy_struct):
|
|
|
108105
108144
|
class Lightgroups(bpy_prop_collection[Lightgroup], bpy_struct):
|
|
108106
108145
|
"""Collection of Lightgroups"""
|
|
108107
108146
|
|
|
108108
|
-
def add(self, name: str = "") -> Lightgroup:
|
|
108147
|
+
def add(self, *, name: str = "") -> Lightgroup:
|
|
108109
108148
|
"""add
|
|
108110
108149
|
|
|
108111
108150
|
:param name: Name, Name of newly created lightgroup
|
|
@@ -108439,7 +108478,9 @@ class LoopColors(bpy_prop_collection[MeshLoopColorLayer], bpy_struct):
|
|
|
108439
108478
|
:type: int | None
|
|
108440
108479
|
"""
|
|
108441
108480
|
|
|
108442
|
-
def new(
|
|
108481
|
+
def new(
|
|
108482
|
+
self, *, name: str = "Col", do_init: bool | None = True
|
|
108483
|
+
) -> MeshLoopColorLayer:
|
|
108443
108484
|
"""Add a vertex color layer to Mesh
|
|
108444
108485
|
|
|
108445
108486
|
:param name: Vertex color name
|
|
@@ -108488,7 +108529,7 @@ class MaskLayers(bpy_prop_collection[MaskLayer], bpy_struct):
|
|
|
108488
108529
|
:type: MaskLayer | None
|
|
108489
108530
|
"""
|
|
108490
108531
|
|
|
108491
|
-
def new(self, name: str = "") -> MaskLayer:
|
|
108532
|
+
def new(self, *, name: str = "") -> MaskLayer:
|
|
108492
108533
|
"""Add layer to this mask
|
|
108493
108534
|
|
|
108494
108535
|
:param name: Name, Name of new layer
|
|
@@ -108787,7 +108828,7 @@ class MetaBallElements(bpy_prop_collection[MetaElement], bpy_struct):
|
|
|
108787
108828
|
:type: MetaElement | None
|
|
108788
108829
|
"""
|
|
108789
108830
|
|
|
108790
|
-
def new(self, type: bpy.typing.MetaelemTypeItems | None = "BALL") -> MetaElement:
|
|
108831
|
+
def new(self, *, type: bpy.typing.MetaelemTypeItems | None = "BALL") -> MetaElement:
|
|
108791
108832
|
"""Add a new element to the metaball
|
|
108792
108833
|
|
|
108793
108834
|
:param type: Type for the new metaball element
|
|
@@ -108832,7 +108873,7 @@ class MovieTrackingMarkers(bpy_prop_collection[MovieTrackingMarker], bpy_struct)
|
|
|
108832
108873
|
"""Collection of markers for movie tracking track"""
|
|
108833
108874
|
|
|
108834
108875
|
def find_frame(
|
|
108835
|
-
self, frame: int | None, exact: bool | None = True
|
|
108876
|
+
self, frame: int | None, *, exact: bool | None = True
|
|
108836
108877
|
) -> MovieTrackingMarker:
|
|
108837
108878
|
"""Get marker for specified frame
|
|
108838
108879
|
|
|
@@ -108847,6 +108888,7 @@ class MovieTrackingMarkers(bpy_prop_collection[MovieTrackingMarker], bpy_struct)
|
|
|
108847
108888
|
def insert_frame(
|
|
108848
108889
|
self,
|
|
108849
108890
|
frame: int | None,
|
|
108891
|
+
*,
|
|
108850
108892
|
co: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0),
|
|
108851
108893
|
) -> MovieTrackingMarker:
|
|
108852
108894
|
"""Insert a new marker at the specified frame
|
|
@@ -108930,7 +108972,7 @@ class MovieTrackingObjectTracks(bpy_prop_collection[MovieTrackingTrack], bpy_str
|
|
|
108930
108972
|
:type: MovieTrackingTrack | None
|
|
108931
108973
|
"""
|
|
108932
108974
|
|
|
108933
|
-
def new(self, name: str = "", frame: int | None = 1) -> MovieTrackingTrack:
|
|
108975
|
+
def new(self, *, name: str = "", frame: int | None = 1) -> MovieTrackingTrack:
|
|
108934
108976
|
"""create new motion track in this movie clip
|
|
108935
108977
|
|
|
108936
108978
|
:param name: Name of new track
|
|
@@ -109016,7 +109058,7 @@ class MovieTrackingPlaneMarkers(
|
|
|
109016
109058
|
"""Collection of markers for movie tracking plane track"""
|
|
109017
109059
|
|
|
109018
109060
|
def find_frame(
|
|
109019
|
-
self, frame: int | None, exact: bool | None = True
|
|
109061
|
+
self, frame: int | None, *, exact: bool | None = True
|
|
109020
109062
|
) -> MovieTrackingPlaneMarker:
|
|
109021
109063
|
"""Get plane marker for specified frame
|
|
109022
109064
|
|
|
@@ -109104,7 +109146,7 @@ class MovieTrackingReconstructedCameras(
|
|
|
109104
109146
|
):
|
|
109105
109147
|
"""Collection of solved cameras"""
|
|
109106
109148
|
|
|
109107
|
-
def find_frame(self, frame: int | None = 1) -> MovieReconstructedCamera:
|
|
109149
|
+
def find_frame(self, *, frame: int | None = 1) -> MovieReconstructedCamera:
|
|
109108
109150
|
"""Find a reconstructed camera for a give frame number
|
|
109109
109151
|
|
|
109110
109152
|
:param frame: Frame, Frame number to find camera for
|
|
@@ -109113,7 +109155,7 @@ class MovieTrackingReconstructedCameras(
|
|
|
109113
109155
|
:rtype: MovieReconstructedCamera
|
|
109114
109156
|
"""
|
|
109115
109157
|
|
|
109116
|
-
def matrix_from_frame(self, frame: int | None = 1) -> mathutils.Matrix:
|
|
109158
|
+
def matrix_from_frame(self, *, frame: int | None = 1) -> mathutils.Matrix:
|
|
109117
109159
|
"""Return interpolated camera matrix for a given frame
|
|
109118
109160
|
|
|
109119
109161
|
:param frame: Frame, Frame number to find camera for
|
|
@@ -109153,7 +109195,7 @@ class MovieTrackingTracks(bpy_prop_collection[MovieTrackingTrack], bpy_struct):
|
|
|
109153
109195
|
:type: MovieTrackingTrack | None
|
|
109154
109196
|
"""
|
|
109155
109197
|
|
|
109156
|
-
def new(self, name: str = "", frame: int | None = 1) -> MovieTrackingTrack:
|
|
109198
|
+
def new(self, *, name: str = "", frame: int | None = 1) -> MovieTrackingTrack:
|
|
109157
109199
|
"""Create new motion track in this movie clip
|
|
109158
109200
|
|
|
109159
109201
|
:param name: Name of new track
|
|
@@ -109189,7 +109231,7 @@ class MovieTrackingTracks(bpy_prop_collection[MovieTrackingTrack], bpy_struct):
|
|
|
109189
109231
|
class NlaStripFCurves(bpy_prop_collection[FCurve], bpy_struct):
|
|
109190
109232
|
"""Collection of NLA strip F-Curves"""
|
|
109191
109233
|
|
|
109192
|
-
def find(self, data_path: str, index: int | None = 0) -> FCurve:
|
|
109234
|
+
def find(self, data_path: str, *, index: int | None = 0) -> FCurve:
|
|
109193
109235
|
"""Find an F-Curve. Note that this function performs a linear scan of all F-Curves in the NLA strip.
|
|
109194
109236
|
|
|
109195
109237
|
:param data_path: Data Path, F-Curve data path
|
|
@@ -109276,7 +109318,7 @@ class NlaTracks(bpy_prop_collection[NlaTrack], bpy_struct):
|
|
|
109276
109318
|
:type: NlaTrack | None
|
|
109277
109319
|
"""
|
|
109278
109320
|
|
|
109279
|
-
def new(self, prev: NlaTrack | None = None) -> NlaTrack:
|
|
109321
|
+
def new(self, *, prev: NlaTrack | None = None) -> NlaTrack:
|
|
109280
109322
|
"""Add a new NLA Track
|
|
109281
109323
|
|
|
109282
109324
|
:param prev: NLA Track to add the new one after
|
|
@@ -109781,6 +109823,7 @@ class NodeInputs(bpy_prop_collection[NodeSocket], bpy_struct):
|
|
|
109781
109823
|
self,
|
|
109782
109824
|
type: str,
|
|
109783
109825
|
name: str,
|
|
109826
|
+
*,
|
|
109784
109827
|
identifier: str = "",
|
|
109785
109828
|
use_multi_input: bool | None = False,
|
|
109786
109829
|
) -> NodeSocket:
|
|
@@ -109846,6 +109889,7 @@ class NodeLinks(bpy_prop_collection[NodeLink], bpy_struct):
|
|
|
109846
109889
|
self,
|
|
109847
109890
|
input: NodeSocket,
|
|
109848
109891
|
output: NodeSocket,
|
|
109892
|
+
*,
|
|
109849
109893
|
verify_limits: bool | None = True,
|
|
109850
109894
|
handle_dynamic_sockets: bool | None = False,
|
|
109851
109895
|
) -> NodeLink:
|
|
@@ -109955,6 +109999,7 @@ class NodeOutputs(bpy_prop_collection[NodeSocket], bpy_struct):
|
|
|
109955
109999
|
self,
|
|
109956
110000
|
type: str,
|
|
109957
110001
|
name: str,
|
|
110002
|
+
*,
|
|
109958
110003
|
identifier: str = "",
|
|
109959
110004
|
use_multi_input: bool | None = False,
|
|
109960
110005
|
) -> NodeSocket:
|
|
@@ -110664,7 +110709,7 @@ class RenderSlots(bpy_prop_collection[RenderSlot], bpy_struct):
|
|
|
110664
110709
|
:type: int | None
|
|
110665
110710
|
"""
|
|
110666
110711
|
|
|
110667
|
-
def new(self, name: str = "") -> RenderSlot:
|
|
110712
|
+
def new(self, *, name: str = "") -> RenderSlot:
|
|
110668
110713
|
"""Add a render slot to the image
|
|
110669
110714
|
|
|
110670
110715
|
:param name: Name, New name for the render slot
|
|
@@ -110751,7 +110796,7 @@ class RenderViews(bpy_prop_collection[SceneRenderView], bpy_struct):
|
|
|
110751
110796
|
class RetimingKeys(bpy_prop_collection[RetimingKey], bpy_struct):
|
|
110752
110797
|
"""Collection of RetimingKey"""
|
|
110753
110798
|
|
|
110754
|
-
def add(self, timeline_frame: int | None = 0) -> RetimingKey:
|
|
110799
|
+
def add(self, *, timeline_frame: int | None = 0) -> RetimingKey:
|
|
110755
110800
|
"""Add retiming key
|
|
110756
110801
|
|
|
110757
110802
|
:param timeline_frame: Timeline Frame
|
|
@@ -110998,6 +111043,7 @@ class SequencesMeta(bpy_prop_collection[Sequence], bpy_struct):
|
|
|
110998
111043
|
filepath: str,
|
|
110999
111044
|
channel: int | None,
|
|
111000
111045
|
frame_start: int | None,
|
|
111046
|
+
*,
|
|
111001
111047
|
fit_method: typing.Literal["FIT", "FILL", "STRETCH", "ORIGINAL"]
|
|
111002
111048
|
| None = "ORIGINAL",
|
|
111003
111049
|
) -> Sequence:
|
|
@@ -111035,6 +111081,7 @@ class SequencesMeta(bpy_prop_collection[Sequence], bpy_struct):
|
|
|
111035
111081
|
filepath: str,
|
|
111036
111082
|
channel: int | None,
|
|
111037
111083
|
frame_start: int | None,
|
|
111084
|
+
*,
|
|
111038
111085
|
fit_method: typing.Literal["FIT", "FILL", "STRETCH", "ORIGINAL"]
|
|
111039
111086
|
| None = "ORIGINAL",
|
|
111040
111087
|
) -> Sequence:
|
|
@@ -111124,6 +111171,7 @@ class SequencesMeta(bpy_prop_collection[Sequence], bpy_struct):
|
|
|
111124
111171
|
| None,
|
|
111125
111172
|
channel: int | None,
|
|
111126
111173
|
frame_start: int | None,
|
|
111174
|
+
*,
|
|
111127
111175
|
frame_end: int | None = 0,
|
|
111128
111176
|
seq1: Sequence | None = None,
|
|
111129
111177
|
seq2: Sequence | None = None,
|
|
@@ -111237,6 +111285,7 @@ class SequencesTopLevel(bpy_prop_collection[Sequence], bpy_struct):
|
|
|
111237
111285
|
filepath: str,
|
|
111238
111286
|
channel: int | None,
|
|
111239
111287
|
frame_start: int | None,
|
|
111288
|
+
*,
|
|
111240
111289
|
fit_method: typing.Literal["FIT", "FILL", "STRETCH", "ORIGINAL"]
|
|
111241
111290
|
| None = "ORIGINAL",
|
|
111242
111291
|
) -> Sequence:
|
|
@@ -111274,6 +111323,7 @@ class SequencesTopLevel(bpy_prop_collection[Sequence], bpy_struct):
|
|
|
111274
111323
|
filepath: str,
|
|
111275
111324
|
channel: int | None,
|
|
111276
111325
|
frame_start: int | None,
|
|
111326
|
+
*,
|
|
111277
111327
|
fit_method: typing.Literal["FIT", "FILL", "STRETCH", "ORIGINAL"]
|
|
111278
111328
|
| None = "ORIGINAL",
|
|
111279
111329
|
) -> Sequence:
|
|
@@ -111363,6 +111413,7 @@ class SequencesTopLevel(bpy_prop_collection[Sequence], bpy_struct):
|
|
|
111363
111413
|
| None,
|
|
111364
111414
|
channel: int | None,
|
|
111365
111415
|
frame_start: int | None,
|
|
111416
|
+
*,
|
|
111366
111417
|
frame_end: int | None = 0,
|
|
111367
111418
|
seq1: Sequence | None = None,
|
|
111368
111419
|
seq2: Sequence | None = None,
|
|
@@ -111435,7 +111486,7 @@ class SpaceNodeEditorPath(bpy_prop_collection[NodeTreePath], bpy_struct):
|
|
|
111435
111486
|
:type node_tree: NodeTree | None
|
|
111436
111487
|
"""
|
|
111437
111488
|
|
|
111438
|
-
def append(self, node_tree: NodeTree | None, node: Node | None = None):
|
|
111489
|
+
def append(self, node_tree: NodeTree | None, *, node: Node | None = None):
|
|
111439
111490
|
"""Append a node group tree to the path
|
|
111440
111491
|
|
|
111441
111492
|
:param node_tree: Node Tree, Node tree to append to the node editor path
|
|
@@ -111593,7 +111644,7 @@ class StudioLights(bpy_prop_collection[StudioLight], bpy_struct):
|
|
|
111593
111644
|
class TimelineMarkers(bpy_prop_collection[TimelineMarker], bpy_struct):
|
|
111594
111645
|
"""Collection of timeline markers"""
|
|
111595
111646
|
|
|
111596
|
-
def new(self, name: str, frame: int | None = 1) -> TimelineMarker:
|
|
111647
|
+
def new(self, name: str, *, frame: int | None = 1) -> TimelineMarker:
|
|
111597
111648
|
"""Add a keyframe to the curve
|
|
111598
111649
|
|
|
111599
111650
|
:param name: New name for the marker (not unique)
|
|
@@ -111651,7 +111702,7 @@ class UDIMTiles(bpy_prop_collection[UDIMTile], bpy_struct):
|
|
|
111651
111702
|
:type: int | None
|
|
111652
111703
|
"""
|
|
111653
111704
|
|
|
111654
|
-
def new(self, tile_number: int | None, label: str = "") -> UDIMTile:
|
|
111705
|
+
def new(self, tile_number: int | None, *, label: str = "") -> UDIMTile:
|
|
111655
111706
|
"""Add a tile to the image
|
|
111656
111707
|
|
|
111657
111708
|
:param tile_number: Number of the newly created tile
|
|
@@ -111715,7 +111766,9 @@ class UVLoopLayers(bpy_prop_collection[MeshUVLoopLayer], bpy_struct):
|
|
|
111715
111766
|
:type: int | None
|
|
111716
111767
|
"""
|
|
111717
111768
|
|
|
111718
|
-
def new(
|
|
111769
|
+
def new(
|
|
111770
|
+
self, *, name: str = "UVMap", do_init: bool | None = True
|
|
111771
|
+
) -> MeshUVLoopLayer:
|
|
111719
111772
|
"""Add a UV map layer to Mesh
|
|
111720
111773
|
|
|
111721
111774
|
:param name: UV map name
|
|
@@ -111761,6 +111814,7 @@ class UserExtensionRepoCollection(bpy_prop_collection[UserExtensionRepo], bpy_st
|
|
|
111761
111814
|
@classmethod
|
|
111762
111815
|
def new(
|
|
111763
111816
|
cls,
|
|
111817
|
+
*,
|
|
111764
111818
|
name: str = "",
|
|
111765
111819
|
module: str = "",
|
|
111766
111820
|
custom_directory: str = "",
|
|
@@ -111834,7 +111888,7 @@ class VertexGroups(bpy_prop_collection[VertexGroup], bpy_struct):
|
|
|
111834
111888
|
:type: int | None
|
|
111835
111889
|
"""
|
|
111836
111890
|
|
|
111837
|
-
def new(self, name: str = "Group") -> VertexGroup:
|
|
111891
|
+
def new(self, *, name: str = "Group") -> VertexGroup:
|
|
111838
111892
|
"""Add vertex group to object
|
|
111839
111893
|
|
|
111840
111894
|
:param name: Vertex group name
|
|
@@ -112342,7 +112396,7 @@ class wmOwnerIDs(bpy_prop_collection[wmOwnerID], bpy_struct):
|
|
|
112342
112396
|
|
|
112343
112397
|
class wmTools(bpy_prop_collection[WorkSpaceTool], bpy_struct):
|
|
112344
112398
|
def from_space_view3d_mode(
|
|
112345
|
-
self, mode: bpy.typing.ContextModeItems | None, create: bool | None = False
|
|
112399
|
+
self, mode: bpy.typing.ContextModeItems | None, *, create: bool | None = False
|
|
112346
112400
|
) -> WorkSpaceTool:
|
|
112347
112401
|
"""
|
|
112348
112402
|
|
|
@@ -112357,6 +112411,7 @@ class wmTools(bpy_prop_collection[WorkSpaceTool], bpy_struct):
|
|
|
112357
112411
|
def from_space_image_mode(
|
|
112358
112412
|
self,
|
|
112359
112413
|
mode: bpy.typing.SpaceImageModeAllItems | None,
|
|
112414
|
+
*,
|
|
112360
112415
|
create: bool | None = False,
|
|
112361
112416
|
) -> WorkSpaceTool:
|
|
112362
112417
|
"""
|
|
@@ -112369,7 +112424,7 @@ class wmTools(bpy_prop_collection[WorkSpaceTool], bpy_struct):
|
|
|
112369
112424
|
:rtype: WorkSpaceTool
|
|
112370
112425
|
"""
|
|
112371
112426
|
|
|
112372
|
-
def from_space_node(self, create: bool | None = False) -> WorkSpaceTool:
|
|
112427
|
+
def from_space_node(self, *, create: bool | None = False) -> WorkSpaceTool:
|
|
112373
112428
|
"""
|
|
112374
112429
|
|
|
112375
112430
|
:param create: Create
|
|
@@ -112381,6 +112436,7 @@ class wmTools(bpy_prop_collection[WorkSpaceTool], bpy_struct):
|
|
|
112381
112436
|
def from_space_sequencer(
|
|
112382
112437
|
self,
|
|
112383
112438
|
mode: bpy.typing.SpaceSequencerViewTypeItems | None,
|
|
112439
|
+
*,
|
|
112384
112440
|
create: bool | None = False,
|
|
112385
112441
|
) -> WorkSpaceTool:
|
|
112386
112442
|
"""
|
|
@@ -113524,7 +113580,7 @@ class AnimData(bpy_struct):
|
|
|
113524
113580
|
"""
|
|
113525
113581
|
|
|
113526
113582
|
def nla_tweak_strip_time_to_scene(
|
|
113527
|
-
self, frame: float | None, invert: bool | None = False
|
|
113583
|
+
self, frame: float | None, *, invert: bool | None = False
|
|
113528
113584
|
) -> float:
|
|
113529
113585
|
"""Convert a time value from the local time of the tweaked strip to scene time, exactly as done by built-in key editing tools. Returns the input time unchanged if not tweaking.
|
|
113530
113586
|
|
|
@@ -113537,7 +113593,7 @@ class AnimData(bpy_struct):
|
|
|
113537
113593
|
"""
|
|
113538
113594
|
|
|
113539
113595
|
def fix_paths_rename_all(
|
|
113540
|
-
self, prefix: str = "", old_name: str = "", new_name: str = ""
|
|
113596
|
+
self, *, prefix: str = "", old_name: str = "", new_name: str = ""
|
|
113541
113597
|
):
|
|
113542
113598
|
"""Rename the property paths in the animation system, since properties are animated via string paths, it's needed to keep them valid after properties has been renamed
|
|
113543
113599
|
|
|
@@ -113828,48 +113884,18 @@ class Area(bpy_struct):
|
|
|
113828
113884
|
class AreaLight(Light, ID, bpy_struct):
|
|
113829
113885
|
"""Directional area Light"""
|
|
113830
113886
|
|
|
113831
|
-
contact_shadow_bias: float
|
|
113832
|
-
""" Bias to avoid self shadowing
|
|
113833
|
-
|
|
113834
|
-
:type: float
|
|
113835
|
-
"""
|
|
113836
|
-
|
|
113837
|
-
contact_shadow_distance: float
|
|
113838
|
-
""" World space distance in which to search for screen space occluder
|
|
113839
|
-
|
|
113840
|
-
:type: float
|
|
113841
|
-
"""
|
|
113842
|
-
|
|
113843
|
-
contact_shadow_thickness: float
|
|
113844
|
-
""" Pixel thickness used to detect occlusion
|
|
113845
|
-
|
|
113846
|
-
:type: float
|
|
113847
|
-
"""
|
|
113848
|
-
|
|
113849
113887
|
energy: float
|
|
113850
113888
|
""" Light energy emitted over the entire area of the light in all directions
|
|
113851
113889
|
|
|
113852
113890
|
:type: float
|
|
113853
113891
|
"""
|
|
113854
113892
|
|
|
113855
|
-
shadow_buffer_bias: float
|
|
113856
|
-
""" Bias for reducing self shadowing
|
|
113857
|
-
|
|
113858
|
-
:type: float
|
|
113859
|
-
"""
|
|
113860
|
-
|
|
113861
113893
|
shadow_buffer_clip_start: float
|
|
113862
113894
|
""" Shadow map clip start, below which objects will not generate shadows
|
|
113863
113895
|
|
|
113864
113896
|
:type: float
|
|
113865
113897
|
"""
|
|
113866
113898
|
|
|
113867
|
-
shadow_color: mathutils.Color
|
|
113868
|
-
""" Color of shadows cast by the light
|
|
113869
|
-
|
|
113870
|
-
:type: mathutils.Color
|
|
113871
|
-
"""
|
|
113872
|
-
|
|
113873
113899
|
shadow_filter_radius: float
|
|
113874
113900
|
""" Blur shadow aliasing using Percentage Closer Filtering
|
|
113875
113901
|
|
|
@@ -113924,12 +113950,6 @@ class AreaLight(Light, ID, bpy_struct):
|
|
|
113924
113950
|
:type: bool
|
|
113925
113951
|
"""
|
|
113926
113952
|
|
|
113927
|
-
use_contact_shadow: bool
|
|
113928
|
-
""" Use screen space ray-tracing to have correct shadowing near occluder, or for small features that does not appear in shadow maps
|
|
113929
|
-
|
|
113930
|
-
:type: bool
|
|
113931
|
-
"""
|
|
113932
|
-
|
|
113933
113953
|
use_shadow_jitter: bool
|
|
113934
113954
|
""" Enable jittered soft shadows to increase shadow precision (disabled in viewport unless enabled in the render settings). Has a high performance impact.
|
|
113935
113955
|
|
|
@@ -115542,7 +115562,7 @@ class BlendData(bpy_struct):
|
|
|
115542
115562
|
"""Remove (delete) several IDs at once.WARNING: Considered experimental feature currently.Note that this function is quicker than individual calls to `remove()` (from `bpy.types.BlendData`
|
|
115543
115563
|
ID collections), but less safe/versatile (it can break Blender, e.g. by removing all scenes...).
|
|
115544
115564
|
|
|
115545
|
-
:param ids:
|
|
115565
|
+
:param ids: Sequence of IDs (types can be mixed).
|
|
115546
115566
|
"""
|
|
115547
115567
|
|
|
115548
115568
|
@classmethod
|
|
@@ -115573,31 +115593,21 @@ class BlendData(bpy_struct):
|
|
|
115573
115593
|
:return: The number of deleted IDs.
|
|
115574
115594
|
"""
|
|
115575
115595
|
|
|
115576
|
-
def temp_data(self, filepath
|
|
115596
|
+
def temp_data(self, filepath=None) -> typing_extensions.Self:
|
|
115577
115597
|
"""A context manager that temporarily creates blender file data.
|
|
115578
115598
|
|
|
115579
115599
|
:param filepath: The file path for the newly temporary data. When None, the path of the currently open file is used.
|
|
115580
|
-
:type filepath: bytes | str | None
|
|
115581
115600
|
:return: Blend file data which is freed once the context exists.
|
|
115582
115601
|
:rtype: typing_extensions.Self
|
|
115583
115602
|
"""
|
|
115584
115603
|
|
|
115585
|
-
def user_map(
|
|
115586
|
-
|
|
115587
|
-
subset: collections.abc.Sequence | None,
|
|
115588
|
-
key_types: set[str] | None,
|
|
115589
|
-
value_types: set[str] | None,
|
|
115590
|
-
) -> dict:
|
|
115591
|
-
"""Returns a mapping of all ID data-blocks in current bpy.data to a set of all datablocks using them.For list of valid set members for key_types & value_types, see: `bpy.types.KeyingSetPath.id_type`.
|
|
115604
|
+
def user_map(self, subset, key_types, value_types):
|
|
115605
|
+
"""Returns a mapping of all ID data-blocks in current bpy.data to a set of all data-blocks using them.For list of valid set members for key_types & value_types, see: `bpy.types.KeyingSetPath.id_type`.
|
|
115592
115606
|
|
|
115593
115607
|
:param subset: When passed, only these data-blocks and their users will be included as keys/values in the map.
|
|
115594
|
-
:type subset: collections.abc.Sequence | None
|
|
115595
115608
|
:param key_types: Filter the keys mapped by ID types.
|
|
115596
|
-
:type key_types: set[str] | None
|
|
115597
115609
|
:param value_types: Filter the values in the set by ID types.
|
|
115598
|
-
:
|
|
115599
|
-
:return: dictionary of `bpy.types.ID` instances, with sets of ID's as their values.
|
|
115600
|
-
:rtype: dict
|
|
115610
|
+
:return: dictionary that maps data-blocks ID's to their users.
|
|
115601
115611
|
"""
|
|
115602
115612
|
|
|
115603
115613
|
class BlendImportContext(bpy_struct):
|
|
@@ -116782,6 +116792,7 @@ Utility function for (tail - head)(readonly)"""
|
|
|
116782
116792
|
matrix_local: collections.abc.Sequence[collections.abc.Sequence[float]]
|
|
116783
116793
|
| mathutils.Matrix
|
|
116784
116794
|
| None,
|
|
116795
|
+
*,
|
|
116785
116796
|
parent_matrix: collections.abc.Sequence[collections.abc.Sequence[float]]
|
|
116786
116797
|
| mathutils.Matrix
|
|
116787
116798
|
| None = (
|
|
@@ -116839,6 +116850,7 @@ Utility function for (tail - head)(readonly)"""
|
|
|
116839
116850
|
cls,
|
|
116840
116851
|
matrix: collections.abc.Sequence[collections.abc.Sequence[float]]
|
|
116841
116852
|
| mathutils.Matrix,
|
|
116853
|
+
*,
|
|
116842
116854
|
axis: collections.abc.Iterable[float] | None = (0.0, 0.0, 0.0),
|
|
116843
116855
|
):
|
|
116844
116856
|
"""Convert a rotational matrix to the axis + roll representation. Note that the resulting value of the roll may not be as expected if the matrix has shear or negative determinant.
|
|
@@ -120402,7 +120414,7 @@ class Camera(ID, bpy_struct):
|
|
|
120402
120414
|
:type: typing.Literal['PERSP','ORTHO','PANO']
|
|
120403
120415
|
"""
|
|
120404
120416
|
|
|
120405
|
-
def view_frame(self, scene: Scene | None = None):
|
|
120417
|
+
def view_frame(self, *, scene: Scene | None = None):
|
|
120406
120418
|
"""Return 4 points for the cameras frame (before object transformation)
|
|
120407
120419
|
|
|
120408
120420
|
:param scene: Scene to use for aspect calculation, when omitted 1:1 aspect is used
|
|
@@ -131819,6 +131831,7 @@ class Curve(ID, bpy_struct):
|
|
|
131819
131831
|
matrix: collections.abc.Sequence[collections.abc.Sequence[float]]
|
|
131820
131832
|
| mathutils.Matrix
|
|
131821
131833
|
| None,
|
|
131834
|
+
*,
|
|
131822
131835
|
shape_keys: bool | None = False,
|
|
131823
131836
|
):
|
|
131824
131837
|
"""Transform curve by a matrix
|
|
@@ -132538,7 +132551,7 @@ class Curves(ID, bpy_struct):
|
|
|
132538
132551
|
:type sizes: collections.abc.Iterable[int] | None
|
|
132539
132552
|
"""
|
|
132540
132553
|
|
|
132541
|
-
def remove_curves(self, indices: collections.abc.Iterable[int] | None = (0)):
|
|
132554
|
+
def remove_curves(self, *, indices: collections.abc.Iterable[int] | None = (0)):
|
|
132542
132555
|
"""Remove all curves. If indices are provided, remove only the curves with the given indices.
|
|
132543
132556
|
|
|
132544
132557
|
:param indices: Indices, The indices of the curves to remove
|
|
@@ -132548,6 +132561,7 @@ class Curves(ID, bpy_struct):
|
|
|
132548
132561
|
def resize_curves(
|
|
132549
132562
|
self,
|
|
132550
132563
|
sizes: collections.abc.Iterable[int] | None,
|
|
132564
|
+
*,
|
|
132551
132565
|
indices: collections.abc.Iterable[int] | None = (0),
|
|
132552
132566
|
):
|
|
132553
132567
|
"""Resize all existing curves. If indices are provided, resize only the curves with the given indices. If the new size for a curve is smaller, the curve is trimmed. If the new size for a curve is larger, the new end values are default initialized.
|
|
@@ -132558,6 +132572,20 @@ class Curves(ID, bpy_struct):
|
|
|
132558
132572
|
:type indices: collections.abc.Iterable[int] | None
|
|
132559
132573
|
"""
|
|
132560
132574
|
|
|
132575
|
+
def set_types(
|
|
132576
|
+
self,
|
|
132577
|
+
*,
|
|
132578
|
+
type: bpy.typing.CurvesTypeItems | None = "CATMULL_ROM",
|
|
132579
|
+
indices: collections.abc.Iterable[int] | None = (0),
|
|
132580
|
+
):
|
|
132581
|
+
"""Set the curve type. If indices are provided, set only the types with the given curve indices.
|
|
132582
|
+
|
|
132583
|
+
:param type: Type
|
|
132584
|
+
:type type: bpy.typing.CurvesTypeItems | None
|
|
132585
|
+
:param indices: Indices, The indices of the curves to resize
|
|
132586
|
+
:type indices: collections.abc.Iterable[int] | None
|
|
132587
|
+
"""
|
|
132588
|
+
|
|
132561
132589
|
@classmethod
|
|
132562
132590
|
def bl_rna_get_subclass(cls, id: str | None, default=None) -> Struct:
|
|
132563
132591
|
"""
|
|
@@ -133111,7 +133139,7 @@ class Depsgraph(bpy_struct):
|
|
|
133111
133139
|
:type: ViewLayer
|
|
133112
133140
|
"""
|
|
133113
133141
|
|
|
133114
|
-
def debug_relations_graphviz(self, filepath: str = "") -> str:
|
|
133142
|
+
def debug_relations_graphviz(self, *, filepath: str = "") -> str:
|
|
133115
133143
|
"""debug_relations_graphviz
|
|
133116
133144
|
|
|
133117
133145
|
:param filepath: File Name, Optional output path for the graphviz debug file
|
|
@@ -135911,6 +135939,7 @@ class FCurve(bpy_struct):
|
|
|
135911
135939
|
self,
|
|
135912
135940
|
start: int | None,
|
|
135913
135941
|
end: int | None,
|
|
135942
|
+
*,
|
|
135914
135943
|
step: float | None = 1.0,
|
|
135915
135944
|
remove: typing.Literal["NONE", "IN_RANGE", "OUT_RANGE", "ALL"]
|
|
135916
135945
|
| None = "IN_RANGE",
|
|
@@ -156006,7 +156035,7 @@ class Gizmo(bpy_struct):
|
|
|
156006
156035
|
:type context: Context | None
|
|
156007
156036
|
"""
|
|
156008
156037
|
|
|
156009
|
-
def draw_select(self, context: Context | None, select_id: int | None = 0):
|
|
156038
|
+
def draw_select(self, context: Context | None, *, select_id: int | None = 0):
|
|
156010
156039
|
"""
|
|
156011
156040
|
|
|
156012
156041
|
:param context:
|
|
@@ -156075,6 +156104,7 @@ class Gizmo(bpy_struct):
|
|
|
156075
156104
|
matrix: collections.abc.Sequence[collections.abc.Sequence[float]]
|
|
156076
156105
|
| mathutils.Matrix
|
|
156077
156106
|
| None,
|
|
156107
|
+
*,
|
|
156078
156108
|
select_id: int | None = -1,
|
|
156079
156109
|
):
|
|
156080
156110
|
"""Draw a box
|
|
@@ -156090,6 +156120,7 @@ class Gizmo(bpy_struct):
|
|
|
156090
156120
|
matrix: collections.abc.Sequence[collections.abc.Sequence[float]]
|
|
156091
156121
|
| mathutils.Matrix
|
|
156092
156122
|
| None,
|
|
156123
|
+
*,
|
|
156093
156124
|
axis: bpy.typing.ObjectAxisItems | None = "POS_Z",
|
|
156094
156125
|
select_id: int | None = -1,
|
|
156095
156126
|
):
|
|
@@ -156108,6 +156139,7 @@ class Gizmo(bpy_struct):
|
|
|
156108
156139
|
matrix: collections.abc.Sequence[collections.abc.Sequence[float]]
|
|
156109
156140
|
| mathutils.Matrix
|
|
156110
156141
|
| None,
|
|
156142
|
+
*,
|
|
156111
156143
|
axis: bpy.typing.ObjectAxisItems | None = "POS_Z",
|
|
156112
156144
|
select_id: int | None = -1,
|
|
156113
156145
|
):
|
|
@@ -156122,7 +156154,7 @@ class Gizmo(bpy_struct):
|
|
|
156122
156154
|
"""
|
|
156123
156155
|
|
|
156124
156156
|
def target_set_prop(
|
|
156125
|
-
self, target: str, data: typing.Any, property: str, index: int | None = -1
|
|
156157
|
+
self, target: str, data: typing.Any, property: str, *, index: int | None = -1
|
|
156126
156158
|
):
|
|
156127
156159
|
"""
|
|
156128
156160
|
|
|
@@ -156137,7 +156169,7 @@ class Gizmo(bpy_struct):
|
|
|
156137
156169
|
"""
|
|
156138
156170
|
|
|
156139
156171
|
def target_set_operator(
|
|
156140
|
-
self, operator: str, index: int | None = 0
|
|
156172
|
+
self, operator: str, *, index: int | None = 0
|
|
156141
156173
|
) -> OperatorProperties:
|
|
156142
156174
|
"""Operator to run when activating the gizmo (overrides property targets)
|
|
156143
156175
|
|
|
@@ -156183,8 +156215,8 @@ class Gizmo(bpy_struct):
|
|
|
156183
156215
|
|
|
156184
156216
|
:param type: The type of shape to create in (POINTS, LINES, TRIS, LINE_STRIP).
|
|
156185
156217
|
:type type: str | None
|
|
156186
|
-
:param verts:
|
|
156187
|
-
:return: The newly created shape.
|
|
156218
|
+
:param verts: Sequence of 2D or 3D coordinates.
|
|
156219
|
+
:return: The newly created shape (the return type make change).
|
|
156188
156220
|
"""
|
|
156189
156221
|
|
|
156190
156222
|
@classmethod
|
|
@@ -156221,7 +156253,7 @@ class Gizmo(bpy_struct):
|
|
|
156221
156253
|
|
|
156222
156254
|
:param target: Target property name.
|
|
156223
156255
|
:type target: str | None
|
|
156224
|
-
:return: The value of the target property.
|
|
156256
|
+
:return: The value of the target property as a value or array based on the target type.
|
|
156225
156257
|
"""
|
|
156226
156258
|
|
|
156227
156259
|
def target_set_handler(
|
|
@@ -156239,7 +156271,7 @@ class Gizmo(bpy_struct):
|
|
|
156239
156271
|
:type get: collections.abc.Callable | None
|
|
156240
156272
|
:param set: Function that takes a single value argument and applies it.
|
|
156241
156273
|
:type set: collections.abc.Callable | None
|
|
156242
|
-
:param range: Function that returns a (min, max) tuple for gizmos that use a range.
|
|
156274
|
+
:param range: Function that returns a (min, max) tuple for gizmos that use a range. The returned value is not used.
|
|
156243
156275
|
:type range: collections.abc.Callable | None
|
|
156244
156276
|
"""
|
|
156245
156277
|
|
|
@@ -157465,7 +157497,7 @@ class GreasePencilDrawing(bpy_struct):
|
|
|
157465
157497
|
:type sizes: collections.abc.Iterable[int] | None
|
|
157466
157498
|
"""
|
|
157467
157499
|
|
|
157468
|
-
def remove_strokes(self, indices: collections.abc.Iterable[int] | None = (0)):
|
|
157500
|
+
def remove_strokes(self, *, indices: collections.abc.Iterable[int] | None = (0)):
|
|
157469
157501
|
"""Remove all strokes. If indices are provided, remove only the strokes with the given indices.
|
|
157470
157502
|
|
|
157471
157503
|
:param indices: Indices, The indices of the strokes to remove
|
|
@@ -157475,6 +157507,7 @@ class GreasePencilDrawing(bpy_struct):
|
|
|
157475
157507
|
def resize_strokes(
|
|
157476
157508
|
self,
|
|
157477
157509
|
sizes: collections.abc.Iterable[int] | None,
|
|
157510
|
+
*,
|
|
157478
157511
|
indices: collections.abc.Iterable[int] | None = (0),
|
|
157479
157512
|
):
|
|
157480
157513
|
"""Resize all existing strokes. If indices are provided, resize only the strokes with the given indices. If the new size for a stroke is smaller, the stroke is trimmed. If the new size for a stroke is larger, the new end values are default initialized.
|
|
@@ -157485,6 +157518,20 @@ class GreasePencilDrawing(bpy_struct):
|
|
|
157485
157518
|
:type indices: collections.abc.Iterable[int] | None
|
|
157486
157519
|
"""
|
|
157487
157520
|
|
|
157521
|
+
def set_types(
|
|
157522
|
+
self,
|
|
157523
|
+
*,
|
|
157524
|
+
type: bpy.typing.CurvesTypeItems | None = "CATMULL_ROM",
|
|
157525
|
+
indices: collections.abc.Iterable[int] | None = (0),
|
|
157526
|
+
):
|
|
157527
|
+
"""Set the curve type. If indices are provided, set only the types with the given curve indices.
|
|
157528
|
+
|
|
157529
|
+
:param type: Type
|
|
157530
|
+
:type type: bpy.typing.CurvesTypeItems | None
|
|
157531
|
+
:param indices: Indices, The indices of the curves to resize
|
|
157532
|
+
:type indices: collections.abc.Iterable[int] | None
|
|
157533
|
+
"""
|
|
157534
|
+
|
|
157488
157535
|
def tag_positions_changed(self):
|
|
157489
157536
|
"""Indicate that the positions of points in the drawing have changed"""
|
|
157490
157537
|
|
|
@@ -161927,6 +161974,7 @@ class ID(bpy_struct):
|
|
|
161927
161974
|
def rename(
|
|
161928
161975
|
self,
|
|
161929
161976
|
name: str,
|
|
161977
|
+
*,
|
|
161930
161978
|
mode: typing.Literal["NEVER", "ALWAYS", "SAME_ROOT"] | None = "NEVER",
|
|
161931
161979
|
) -> typing.Literal[
|
|
161932
161980
|
"UNCHANGED",
|
|
@@ -161995,7 +162043,7 @@ class ID(bpy_struct):
|
|
|
161995
162043
|
"""Generate preview image (might be scheduled in a background thread)"""
|
|
161996
162044
|
|
|
161997
162045
|
def override_create(
|
|
161998
|
-
self, remap_local_usages: bool | None = False
|
|
162046
|
+
self, *, remap_local_usages: bool | None = False
|
|
161999
162047
|
) -> typing_extensions.Self:
|
|
162000
162048
|
"""Create an overridden local copy of this linked data-block (not supported for all data-blocks)
|
|
162001
162049
|
|
|
@@ -162009,6 +162057,7 @@ class ID(bpy_struct):
|
|
|
162009
162057
|
self,
|
|
162010
162058
|
scene: Scene,
|
|
162011
162059
|
view_layer: ViewLayer,
|
|
162060
|
+
*,
|
|
162012
162061
|
reference: typing_extensions.Self | None = None,
|
|
162013
162062
|
do_fully_editable: bool | None = False,
|
|
162014
162063
|
) -> typing_extensions.Self:
|
|
@@ -162041,6 +162090,7 @@ class ID(bpy_struct):
|
|
|
162041
162090
|
|
|
162042
162091
|
def make_local(
|
|
162043
162092
|
self,
|
|
162093
|
+
*,
|
|
162044
162094
|
clear_proxy: bool | None = True,
|
|
162045
162095
|
clear_liboverride: bool | None = False,
|
|
162046
162096
|
clear_asset_data: bool | None = True,
|
|
@@ -162077,7 +162127,7 @@ class ID(bpy_struct):
|
|
|
162077
162127
|
"""Clear animation on this ID"""
|
|
162078
162128
|
|
|
162079
162129
|
def update_tag(
|
|
162080
|
-
self, refresh: set[typing.Literal["OBJECT", "DATA", "TIME"]] | None = {}
|
|
162130
|
+
self, *, refresh: set[typing.Literal["OBJECT", "DATA", "TIME"]] | None = {}
|
|
162081
162131
|
):
|
|
162082
162132
|
"""Tag the ID to update its display data, e.g. when calling `bpy.types.Scene.update`
|
|
162083
162133
|
|
|
@@ -162151,7 +162201,10 @@ class IDOverrideLibrary(bpy_struct):
|
|
|
162151
162201
|
"""Update the library override operations based on the differences between this override ID and its reference"""
|
|
162152
162202
|
|
|
162153
162203
|
def reset(
|
|
162154
|
-
self,
|
|
162204
|
+
self,
|
|
162205
|
+
*,
|
|
162206
|
+
do_hierarchy: bool | None = True,
|
|
162207
|
+
set_system_override: bool | None = False,
|
|
162155
162208
|
):
|
|
162156
162209
|
"""Reset this override to match again its linked reference ID
|
|
162157
162210
|
|
|
@@ -162161,7 +162214,7 @@ class IDOverrideLibrary(bpy_struct):
|
|
|
162161
162214
|
:type set_system_override: bool | None
|
|
162162
162215
|
"""
|
|
162163
162216
|
|
|
162164
|
-
def destroy(self, do_hierarchy: bool | None = True):
|
|
162217
|
+
def destroy(self, *, do_hierarchy: bool | None = True):
|
|
162165
162218
|
"""Delete this override ID and remap its usages to its linked reference ID instead
|
|
162166
162219
|
|
|
162167
162220
|
:param do_hierarchy: Also delete all the dependencies of this override and remap their usages to their reference linked IDs
|
|
@@ -162171,6 +162224,7 @@ class IDOverrideLibrary(bpy_struct):
|
|
|
162171
162224
|
def resync(
|
|
162172
162225
|
self,
|
|
162173
162226
|
scene: Scene,
|
|
162227
|
+
*,
|
|
162174
162228
|
view_layer: ViewLayer | None = None,
|
|
162175
162229
|
residual_storage: Collection | None = None,
|
|
162176
162230
|
do_hierarchy_enforce: bool | None = False,
|
|
@@ -162858,7 +162912,7 @@ class Image(ID, bpy_struct):
|
|
|
162858
162912
|
"""
|
|
162859
162913
|
|
|
162860
162914
|
def save_render(
|
|
162861
|
-
self, filepath: str, scene: Scene | None = None, quality: int | None = 0
|
|
162915
|
+
self, filepath: str, *, scene: Scene | None = None, quality: int | None = 0
|
|
162862
162916
|
):
|
|
162863
162917
|
"""Save image to a specific path using a scenes render settings
|
|
162864
162918
|
|
|
@@ -162870,7 +162924,7 @@ class Image(ID, bpy_struct):
|
|
|
162870
162924
|
:type quality: int | None
|
|
162871
162925
|
"""
|
|
162872
162926
|
|
|
162873
|
-
def save(self, filepath: str = "", quality: int | None = 0):
|
|
162927
|
+
def save(self, *, filepath: str = "", quality: int | None = 0):
|
|
162874
162928
|
"""Save image
|
|
162875
162929
|
|
|
162876
162930
|
:param filepath: Output path, uses image data-block filepath if not specified
|
|
@@ -162879,7 +162933,7 @@ class Image(ID, bpy_struct):
|
|
|
162879
162933
|
:type quality: int | None
|
|
162880
162934
|
"""
|
|
162881
162935
|
|
|
162882
|
-
def pack(self, data: str = "", data_len: int | None = 0):
|
|
162936
|
+
def pack(self, *, data: str = "", data_len: int | None = 0):
|
|
162883
162937
|
"""Pack an image as embedded data into the .blend file
|
|
162884
162938
|
|
|
162885
162939
|
:param data: data, Raw data (bytes, exact content of the embedded file)
|
|
@@ -162888,7 +162942,7 @@ class Image(ID, bpy_struct):
|
|
|
162888
162942
|
:type data_len: int | None
|
|
162889
162943
|
"""
|
|
162890
162944
|
|
|
162891
|
-
def unpack(self, method: bpy.typing.UnpackMethodItems | None = "USE_LOCAL"):
|
|
162945
|
+
def unpack(self, *, method: bpy.typing.UnpackMethodItems | None = "USE_LOCAL"):
|
|
162892
162946
|
"""Save an image packed in the .blend file to disk
|
|
162893
162947
|
|
|
162894
162948
|
:param method: method, How to unpack
|
|
@@ -162905,6 +162959,7 @@ class Image(ID, bpy_struct):
|
|
|
162905
162959
|
self,
|
|
162906
162960
|
width: int | None,
|
|
162907
162961
|
height: int | None,
|
|
162962
|
+
*,
|
|
162908
162963
|
frame: int | None = 0,
|
|
162909
162964
|
tile_index: int | None = 0,
|
|
162910
162965
|
):
|
|
@@ -162922,6 +162977,7 @@ class Image(ID, bpy_struct):
|
|
|
162922
162977
|
|
|
162923
162978
|
def gl_touch(
|
|
162924
162979
|
self,
|
|
162980
|
+
*,
|
|
162925
162981
|
frame: int | None = 0,
|
|
162926
162982
|
layer_index: int | None = 0,
|
|
162927
162983
|
pass_index: int | None = 0,
|
|
@@ -162940,6 +162996,7 @@ class Image(ID, bpy_struct):
|
|
|
162940
162996
|
|
|
162941
162997
|
def gl_load(
|
|
162942
162998
|
self,
|
|
162999
|
+
*,
|
|
162943
163000
|
frame: int | None = 0,
|
|
162944
163001
|
layer_index: int | None = 0,
|
|
162945
163002
|
pass_index: int | None = 0,
|
|
@@ -162959,7 +163016,7 @@ class Image(ID, bpy_struct):
|
|
|
162959
163016
|
def gl_free(self):
|
|
162960
163017
|
"""Free the image from OpenGL graphics memory"""
|
|
162961
163018
|
|
|
162962
|
-
def filepath_from_user(self, image_user: ImageUser | None = None) -> str:
|
|
163019
|
+
def filepath_from_user(self, *, image_user: ImageUser | None = None) -> str:
|
|
162963
163020
|
"""Return the absolute path to the filepath of an image frame specified by the image user
|
|
162964
163021
|
|
|
162965
163022
|
:param image_user: Image user of the image to get filepath for
|
|
@@ -164617,7 +164674,7 @@ class KeyMapItem(bpy_struct):
|
|
|
164617
164674
|
:rtype: bool
|
|
164618
164675
|
"""
|
|
164619
164676
|
|
|
164620
|
-
def to_string(self, compact: bool | None = False) -> str:
|
|
164677
|
+
def to_string(self, *, compact: bool | None = False) -> str:
|
|
164621
164678
|
"""to_string
|
|
164622
164679
|
|
|
164623
164680
|
:param compact: Compact
|
|
@@ -165405,6 +165462,7 @@ class Lattice(ID, bpy_struct):
|
|
|
165405
165462
|
matrix: collections.abc.Sequence[collections.abc.Sequence[float]]
|
|
165406
165463
|
| mathutils.Matrix
|
|
165407
165464
|
| None,
|
|
165465
|
+
*,
|
|
165408
165466
|
shape_keys: bool | None = False,
|
|
165409
165467
|
):
|
|
165410
165468
|
"""Transform lattice by a matrix
|
|
@@ -171487,12 +171545,6 @@ class Material(ID, bpy_struct):
|
|
|
171487
171545
|
:type: float
|
|
171488
171546
|
"""
|
|
171489
171547
|
|
|
171490
|
-
shadow_method: typing.Literal["NONE", "OPAQUE", "CLIP", "HASHED"]
|
|
171491
|
-
""" Shadow mapping method
|
|
171492
|
-
|
|
171493
|
-
:type: typing.Literal['NONE','OPAQUE','CLIP','HASHED']
|
|
171494
|
-
"""
|
|
171495
|
-
|
|
171496
171548
|
show_transparent_back: bool
|
|
171497
171549
|
""" Render multiple transparent layers (may introduce transparency sorting problems) (Deprecated: use 'use_tranparency_overlap')
|
|
171498
171550
|
|
|
@@ -172027,10 +172079,10 @@ class Menu(bpy_struct):
|
|
|
172027
172079
|
def is_extended(cls): ...
|
|
172028
172080
|
def path_menu(
|
|
172029
172081
|
self,
|
|
172030
|
-
searchpaths
|
|
172082
|
+
searchpaths,
|
|
172031
172083
|
operator: str | None,
|
|
172032
172084
|
*,
|
|
172033
|
-
props_default
|
|
172085
|
+
props_default=None,
|
|
172034
172086
|
prop_filepath: str | None = "filepath",
|
|
172035
172087
|
filter_ext: collections.abc.Callable | None = None,
|
|
172036
172088
|
filter_path=None,
|
|
@@ -172041,11 +172093,9 @@ class Menu(bpy_struct):
|
|
|
172041
172093
|
"""Populate a menu from a list of paths.
|
|
172042
172094
|
|
|
172043
172095
|
:param searchpaths: Paths to scan.
|
|
172044
|
-
:type searchpaths: list[str] | None
|
|
172045
172096
|
:param operator: The operator id to use with each file.
|
|
172046
172097
|
:type operator: str | None
|
|
172047
172098
|
:param props_default: Properties to assign to each operator.
|
|
172048
|
-
:type props_default: dict | None
|
|
172049
172099
|
:param prop_filepath: Optional operator filepath property (defaults to "filepath").
|
|
172050
172100
|
:type prop_filepath: str | None
|
|
172051
172101
|
:param filter_ext: Optional callback that takes the file extensions.
|
|
@@ -172404,6 +172454,7 @@ class Mesh(ID, bpy_struct):
|
|
|
172404
172454
|
matrix: collections.abc.Sequence[collections.abc.Sequence[float]]
|
|
172405
172455
|
| mathutils.Matrix
|
|
172406
172456
|
| None,
|
|
172457
|
+
*,
|
|
172407
172458
|
shape_keys: bool | None = False,
|
|
172408
172459
|
):
|
|
172409
172460
|
"""Transform mesh vertices by a matrix (Warning: inverts normals if matrix is negative)
|
|
@@ -172417,7 +172468,7 @@ class Mesh(ID, bpy_struct):
|
|
|
172417
172468
|
def flip_normals(self):
|
|
172418
172469
|
"""Invert winding of all polygons (clears tessellation, does not handle custom normals)"""
|
|
172419
172470
|
|
|
172420
|
-
def set_sharp_from_angle(self, angle: float | None = 3.14159):
|
|
172471
|
+
def set_sharp_from_angle(self, *, angle: float | None = 3.14159):
|
|
172421
172472
|
"""Reset and fill the "sharp_edge" attribute based on the angle of faces neighboring manifold edges
|
|
172422
172473
|
|
|
172423
172474
|
:param angle: Angle, Angle between faces beyond which edges are marked sharp
|
|
@@ -172427,7 +172478,7 @@ class Mesh(ID, bpy_struct):
|
|
|
172427
172478
|
def split_faces(self):
|
|
172428
172479
|
"""Split faces based on the edge angle"""
|
|
172429
172480
|
|
|
172430
|
-
def calc_tangents(self, uvmap: str = ""):
|
|
172481
|
+
def calc_tangents(self, *, uvmap: str = ""):
|
|
172431
172482
|
"""Compute tangents and bitangent signs, to be used together with the split normals to get a complete tangent space for normal mapping (split normals are also computed if not yet present)
|
|
172432
172483
|
|
|
172433
172484
|
:param uvmap: Name of the UV map to use for tangent space computation
|
|
@@ -172440,7 +172491,7 @@ class Mesh(ID, bpy_struct):
|
|
|
172440
172491
|
def calc_loop_triangles(self):
|
|
172441
172492
|
"""Calculate loop triangle tessellation (supports editmode too)"""
|
|
172442
172493
|
|
|
172443
|
-
def calc_smooth_groups(self, use_bitflags: bool | None = False):
|
|
172494
|
+
def calc_smooth_groups(self, *, use_bitflags: bool | None = False):
|
|
172444
172495
|
"""Calculate smooth groups from sharp edges
|
|
172445
172496
|
|
|
172446
172497
|
:param use_bitflags: Produce bitflags groups instead of simple numeric values
|
|
@@ -172469,7 +172520,7 @@ class Mesh(ID, bpy_struct):
|
|
|
172469
172520
|
"""
|
|
172470
172521
|
|
|
172471
172522
|
def update(
|
|
172472
|
-
self, calc_edges: bool | None = False, calc_edges_loose: bool | None = False
|
|
172523
|
+
self, *, calc_edges: bool | None = False, calc_edges_loose: bool | None = False
|
|
172473
172524
|
):
|
|
172474
172525
|
"""update
|
|
172475
172526
|
|
|
@@ -172484,6 +172535,7 @@ class Mesh(ID, bpy_struct):
|
|
|
172484
172535
|
|
|
172485
172536
|
def unit_test_compare(
|
|
172486
172537
|
self,
|
|
172538
|
+
*,
|
|
172487
172539
|
mesh: typing_extensions.Self | None = None,
|
|
172488
172540
|
threshold: float | None = 7.1526e-06,
|
|
172489
172541
|
) -> str:
|
|
@@ -172501,7 +172553,7 @@ class Mesh(ID, bpy_struct):
|
|
|
172501
172553
|
"""Remove all geometry from the mesh. Note that this does not free shape keys or materials."""
|
|
172502
172554
|
|
|
172503
172555
|
def validate(
|
|
172504
|
-
self, verbose: bool | None = False, clean_customdata: bool | None = True
|
|
172556
|
+
self, *, verbose: bool | None = False, clean_customdata: bool | None = True
|
|
172505
172557
|
) -> bool:
|
|
172506
172558
|
"""Validate geometry, return True when the mesh has had invalid geometry corrected/removed
|
|
172507
172559
|
|
|
@@ -172529,27 +172581,18 @@ class Mesh(ID, bpy_struct):
|
|
|
172529
172581
|
|
|
172530
172582
|
def edge_creases_ensure(self): ...
|
|
172531
172583
|
def edge_creases_remove(self): ...
|
|
172532
|
-
def from_pydata(
|
|
172533
|
-
self,
|
|
172534
|
-
vertices: list | None,
|
|
172535
|
-
edges: list | None,
|
|
172536
|
-
faces: list | None,
|
|
172537
|
-
shade_flat=True,
|
|
172538
|
-
):
|
|
172584
|
+
def from_pydata(self, vertices, edges, faces, shade_flat=True):
|
|
172539
172585
|
"""Make a mesh from a list of vertices/edges/faces
|
|
172540
172586
|
Until we have a nicer way to make geometry, use this.
|
|
172541
172587
|
|
|
172542
172588
|
:param vertices: float triplets each representing (X, Y, Z)
|
|
172543
172589
|
eg: [(0.0, 1.0, 0.5), ...].
|
|
172544
|
-
:type vertices: list | None
|
|
172545
172590
|
:param edges: int pairs, each pair contains two indices to the
|
|
172546
172591
|
vertices argument. eg: [(1, 2), ...]
|
|
172547
172592
|
|
|
172548
172593
|
When an empty iterable is passed in, the edges are inferred from the polygons.
|
|
172549
|
-
:type edges: list | None
|
|
172550
172594
|
:param faces: iterator of faces, each faces contains three or more indices to
|
|
172551
172595
|
the vertices argument. eg: [(5, 6, 8, 9), (1, 2, 3), ...]
|
|
172552
|
-
:type faces: list | None
|
|
172553
172596
|
:param shade_flat:
|
|
172554
172597
|
"""
|
|
172555
172598
|
|
|
@@ -179688,6 +179731,7 @@ class NodeTreeInterface(bpy_struct):
|
|
|
179688
179731
|
def new_socket(
|
|
179689
179732
|
self,
|
|
179690
179733
|
name: str,
|
|
179734
|
+
*,
|
|
179691
179735
|
description: str = "",
|
|
179692
179736
|
in_out: typing.Literal["INPUT", "OUTPUT"] | None = "INPUT",
|
|
179693
179737
|
socket_type: str | None = "DEFAULT",
|
|
@@ -179716,7 +179760,7 @@ class NodeTreeInterface(bpy_struct):
|
|
|
179716
179760
|
"""
|
|
179717
179761
|
|
|
179718
179762
|
def new_panel(
|
|
179719
|
-
self, name: str, description: str = "", default_closed: bool | None = False
|
|
179763
|
+
self, name: str, *, description: str = "", default_closed: bool | None = False
|
|
179720
179764
|
) -> NodeTreeInterfacePanel:
|
|
179721
179765
|
"""Add a new panel to the interface
|
|
179722
179766
|
|
|
@@ -179740,7 +179784,7 @@ class NodeTreeInterface(bpy_struct):
|
|
|
179740
179784
|
"""
|
|
179741
179785
|
|
|
179742
179786
|
def remove(
|
|
179743
|
-
self, item: NodeTreeInterfaceItem, move_content_to_parent: bool | None = True
|
|
179787
|
+
self, item: NodeTreeInterfaceItem, *, move_content_to_parent: bool | None = True
|
|
179744
179788
|
):
|
|
179745
179789
|
"""Remove an item from the interface
|
|
179746
179790
|
|
|
@@ -183820,7 +183864,7 @@ Warning: Only takes into account object parenting, so e.g. in case of bone paren
|
|
|
183820
183864
|
:type: tuple[Scene, ...]
|
|
183821
183865
|
"""
|
|
183822
183866
|
|
|
183823
|
-
def select_get(self, view_layer: ViewLayer | None = None) -> bool:
|
|
183867
|
+
def select_get(self, *, view_layer: ViewLayer | None = None) -> bool:
|
|
183824
183868
|
"""Test if the object is selected. The selection state is per view layer.
|
|
183825
183869
|
|
|
183826
183870
|
:param view_layer: Use this instead of the active view layer
|
|
@@ -183829,7 +183873,7 @@ Warning: Only takes into account object parenting, so e.g. in case of bone paren
|
|
|
183829
183873
|
:rtype: bool
|
|
183830
183874
|
"""
|
|
183831
183875
|
|
|
183832
|
-
def select_set(self, state: bool | None, view_layer: ViewLayer | None = None):
|
|
183876
|
+
def select_set(self, state: bool | None, *, view_layer: ViewLayer | None = None):
|
|
183833
183877
|
"""Select or deselect the object. The selection state is per view layer.
|
|
183834
183878
|
|
|
183835
183879
|
:param state: Selection state to define
|
|
@@ -183838,7 +183882,7 @@ Warning: Only takes into account object parenting, so e.g. in case of bone paren
|
|
|
183838
183882
|
:type view_layer: ViewLayer | None
|
|
183839
183883
|
"""
|
|
183840
183884
|
|
|
183841
|
-
def hide_get(self, view_layer: ViewLayer | None = None) -> bool:
|
|
183885
|
+
def hide_get(self, *, view_layer: ViewLayer | None = None) -> bool:
|
|
183842
183886
|
"""Test if the object is hidden for viewport editing. This hiding state is per view layer.
|
|
183843
183887
|
|
|
183844
183888
|
:param view_layer: Use this instead of the active view layer
|
|
@@ -183847,7 +183891,7 @@ Warning: Only takes into account object parenting, so e.g. in case of bone paren
|
|
|
183847
183891
|
:rtype: bool
|
|
183848
183892
|
"""
|
|
183849
183893
|
|
|
183850
|
-
def hide_set(self, state: bool | None, view_layer: ViewLayer | None = None):
|
|
183894
|
+
def hide_set(self, state: bool | None, *, view_layer: ViewLayer | None = None):
|
|
183851
183895
|
"""Hide the object for viewport editing. This hiding state is per view layer.
|
|
183852
183896
|
|
|
183853
183897
|
:param state: Hide state to define
|
|
@@ -183857,7 +183901,10 @@ Warning: Only takes into account object parenting, so e.g. in case of bone paren
|
|
|
183857
183901
|
"""
|
|
183858
183902
|
|
|
183859
183903
|
def visible_get(
|
|
183860
|
-
self,
|
|
183904
|
+
self,
|
|
183905
|
+
*,
|
|
183906
|
+
view_layer: ViewLayer | None = None,
|
|
183907
|
+
viewport: SpaceView3D | None = None,
|
|
183861
183908
|
) -> bool:
|
|
183862
183909
|
"""Test if the object is visible in the 3D viewport, taking into account all visibility settings
|
|
183863
183910
|
|
|
@@ -183869,7 +183916,7 @@ Warning: Only takes into account object parenting, so e.g. in case of bone paren
|
|
|
183869
183916
|
:rtype: bool
|
|
183870
183917
|
"""
|
|
183871
183918
|
|
|
183872
|
-
def holdout_get(self, view_layer: ViewLayer | None = None) -> bool:
|
|
183919
|
+
def holdout_get(self, *, view_layer: ViewLayer | None = None) -> bool:
|
|
183873
183920
|
"""Test if object is masked in the view layer
|
|
183874
183921
|
|
|
183875
183922
|
:param view_layer: Use this instead of the active view layer
|
|
@@ -183878,7 +183925,7 @@ Warning: Only takes into account object parenting, so e.g. in case of bone paren
|
|
|
183878
183925
|
:rtype: bool
|
|
183879
183926
|
"""
|
|
183880
183927
|
|
|
183881
|
-
def indirect_only_get(self, view_layer: ViewLayer | None = None) -> bool:
|
|
183928
|
+
def indirect_only_get(self, *, view_layer: ViewLayer | None = None) -> bool:
|
|
183882
183929
|
"""Test if object is set to contribute only indirectly (through shadows and reflections) in the view layer
|
|
183883
183930
|
|
|
183884
183931
|
:param view_layer: Use this instead of the active view layer
|
|
@@ -183916,6 +183963,7 @@ Warning: Only takes into account object parenting, so e.g. in case of bone paren
|
|
|
183916
183963
|
|
|
183917
183964
|
def convert_space(
|
|
183918
183965
|
self,
|
|
183966
|
+
*,
|
|
183919
183967
|
pose_bone: PoseBone | None = None,
|
|
183920
183968
|
matrix: collections.abc.Sequence[collections.abc.Sequence[float]]
|
|
183921
183969
|
| mathutils.Matrix
|
|
@@ -183971,6 +184019,7 @@ Warning: Only takes into account object parenting, so e.g. in case of bone paren
|
|
|
183971
184019
|
def calc_matrix_camera(
|
|
183972
184020
|
self,
|
|
183973
184021
|
depsgraph: Depsgraph | None,
|
|
184022
|
+
*,
|
|
183974
184023
|
x: int | None = 1,
|
|
183975
184024
|
y: int | None = 1,
|
|
183976
184025
|
scale_x: float | None = 1.0,
|
|
@@ -184017,6 +184066,7 @@ Warning: Only takes into account object parenting, so e.g. in case of bone paren
|
|
|
184017
184066
|
|
|
184018
184067
|
def crazyspace_displacement_to_deformed(
|
|
184019
184068
|
self,
|
|
184069
|
+
*,
|
|
184020
184070
|
vertex_index: int | None = 0,
|
|
184021
184071
|
displacement: collections.abc.Sequence[float] | mathutils.Vector | None = (
|
|
184022
184072
|
0.0,
|
|
@@ -184036,6 +184086,7 @@ Warning: Only takes into account object parenting, so e.g. in case of bone paren
|
|
|
184036
184086
|
|
|
184037
184087
|
def crazyspace_displacement_to_original(
|
|
184038
184088
|
self,
|
|
184089
|
+
*,
|
|
184039
184090
|
vertex_index: int | None = 0,
|
|
184040
184091
|
displacement: collections.abc.Sequence[float] | mathutils.Vector | None = (
|
|
184041
184092
|
0.0,
|
|
@@ -184058,6 +184109,7 @@ Warning: Only takes into account object parenting, so e.g. in case of bone paren
|
|
|
184058
184109
|
|
|
184059
184110
|
def to_mesh(
|
|
184060
184111
|
self,
|
|
184112
|
+
*,
|
|
184061
184113
|
preserve_all_data_layers: bool | None = False,
|
|
184062
184114
|
depsgraph: Depsgraph | None = None,
|
|
184063
184115
|
) -> Mesh:
|
|
@@ -184075,7 +184127,7 @@ Warning: Only takes into account object parenting, so e.g. in case of bone paren
|
|
|
184075
184127
|
"""Clears mesh data-block created by to_mesh()"""
|
|
184076
184128
|
|
|
184077
184129
|
def to_curve(
|
|
184078
|
-
self, depsgraph: Depsgraph | None, apply_modifiers: bool | None = False
|
|
184130
|
+
self, depsgraph: Depsgraph | None, *, apply_modifiers: bool | None = False
|
|
184079
184131
|
) -> Curve:
|
|
184080
184132
|
"""Create a Curve data-block from the current state of the object. This only works for curve and text objects. The object owns the data-block. To force free it, use to_curve_clear(). The result is temporary and cannot be used by objects from the main database.
|
|
184081
184133
|
|
|
@@ -184098,7 +184150,7 @@ Warning: Only takes into account object parenting, so e.g. in case of bone paren
|
|
|
184098
184150
|
"""
|
|
184099
184151
|
|
|
184100
184152
|
def shape_key_add(
|
|
184101
|
-
self, name: str = "Key", from_mix: bool | None = True
|
|
184153
|
+
self, *, name: str = "Key", from_mix: bool | None = True
|
|
184102
184154
|
) -> ShapeKey:
|
|
184103
184155
|
"""Add shape key to this object
|
|
184104
184156
|
|
|
@@ -184124,6 +184176,7 @@ Warning: Only takes into account object parenting, so e.g. in case of bone paren
|
|
|
184124
184176
|
self,
|
|
184125
184177
|
origin: collections.abc.Sequence[float] | mathutils.Vector | None,
|
|
184126
184178
|
direction: collections.abc.Sequence[float] | mathutils.Vector | None,
|
|
184179
|
+
*,
|
|
184127
184180
|
distance: float | None = 1.70141e38,
|
|
184128
184181
|
depsgraph: Depsgraph | None = None,
|
|
184129
184182
|
):
|
|
@@ -184149,6 +184202,7 @@ Warning: Only takes into account object parenting, so e.g. in case of bone paren
|
|
|
184149
184202
|
def closest_point_on_mesh(
|
|
184150
184203
|
self,
|
|
184151
184204
|
origin: collections.abc.Sequence[float] | mathutils.Vector | None,
|
|
184205
|
+
*,
|
|
184152
184206
|
distance: float | None = 1.84467e19,
|
|
184153
184207
|
depsgraph: Depsgraph | None = None,
|
|
184154
184208
|
):
|
|
@@ -184905,11 +184959,10 @@ expanding an operator into a menu.
|
|
|
184905
184959
|
"""
|
|
184906
184960
|
|
|
184907
184961
|
@classmethod
|
|
184908
|
-
def poll_message_set(cls, message
|
|
184962
|
+
def poll_message_set(cls, message, *args):
|
|
184909
184963
|
"""Set the message to show in the tool-tip when poll fails.When message is callable, additional user defined positional arguments are passed to the message function.
|
|
184910
184964
|
|
|
184911
184965
|
:param message: The message or a function that returns the message.
|
|
184912
|
-
:type message: str | None
|
|
184913
184966
|
:param args:
|
|
184914
184967
|
"""
|
|
184915
184968
|
|
|
@@ -188141,7 +188194,7 @@ class ParticleSystem(bpy_struct):
|
|
|
188141
188194
|
"""
|
|
188142
188195
|
|
|
188143
188196
|
def co_hair(
|
|
188144
|
-
self, object: Object, particle_no: int | None = 0, step: int | None = 0
|
|
188197
|
+
self, object: Object, *, particle_no: int | None = 0, step: int | None = 0
|
|
188145
188198
|
) -> mathutils.Vector:
|
|
188146
188199
|
"""Obtain cache hair data
|
|
188147
188200
|
|
|
@@ -188159,6 +188212,7 @@ class ParticleSystem(bpy_struct):
|
|
|
188159
188212
|
self,
|
|
188160
188213
|
modifier: ParticleSystemModifier,
|
|
188161
188214
|
particle: Particle,
|
|
188215
|
+
*,
|
|
188162
188216
|
particle_no: int | None = 0,
|
|
188163
188217
|
uv_no: int | None = 0,
|
|
188164
188218
|
) -> mathutils.Vector:
|
|
@@ -188180,6 +188234,7 @@ class ParticleSystem(bpy_struct):
|
|
|
188180
188234
|
self,
|
|
188181
188235
|
modifier: ParticleSystemModifier,
|
|
188182
188236
|
particle: Particle,
|
|
188237
|
+
*,
|
|
188183
188238
|
particle_no: int | None = 0,
|
|
188184
188239
|
vcol_no: int | None = 0,
|
|
188185
188240
|
) -> mathutils.Color:
|
|
@@ -188758,48 +188813,18 @@ class PointCloud(ID, bpy_struct):
|
|
|
188758
188813
|
class PointLight(Light, ID, bpy_struct):
|
|
188759
188814
|
"""Omnidirectional point Light"""
|
|
188760
188815
|
|
|
188761
|
-
contact_shadow_bias: float
|
|
188762
|
-
""" Bias to avoid self shadowing
|
|
188763
|
-
|
|
188764
|
-
:type: float
|
|
188765
|
-
"""
|
|
188766
|
-
|
|
188767
|
-
contact_shadow_distance: float
|
|
188768
|
-
""" World space distance in which to search for screen space occluder
|
|
188769
|
-
|
|
188770
|
-
:type: float
|
|
188771
|
-
"""
|
|
188772
|
-
|
|
188773
|
-
contact_shadow_thickness: float
|
|
188774
|
-
""" Pixel thickness used to detect occlusion
|
|
188775
|
-
|
|
188776
|
-
:type: float
|
|
188777
|
-
"""
|
|
188778
|
-
|
|
188779
188816
|
energy: float
|
|
188780
188817
|
""" Light energy emitted over the entire area of the light in all directions
|
|
188781
188818
|
|
|
188782
188819
|
:type: float
|
|
188783
188820
|
"""
|
|
188784
188821
|
|
|
188785
|
-
shadow_buffer_bias: float
|
|
188786
|
-
""" Bias for reducing self shadowing
|
|
188787
|
-
|
|
188788
|
-
:type: float
|
|
188789
|
-
"""
|
|
188790
|
-
|
|
188791
188822
|
shadow_buffer_clip_start: float
|
|
188792
188823
|
""" Shadow map clip start, below which objects will not generate shadows
|
|
188793
188824
|
|
|
188794
188825
|
:type: float
|
|
188795
188826
|
"""
|
|
188796
188827
|
|
|
188797
|
-
shadow_color: mathutils.Color
|
|
188798
|
-
""" Color of shadows cast by the light
|
|
188799
|
-
|
|
188800
|
-
:type: mathutils.Color
|
|
188801
|
-
"""
|
|
188802
|
-
|
|
188803
188828
|
shadow_filter_radius: float
|
|
188804
188829
|
""" Blur shadow aliasing using Percentage Closer Filtering
|
|
188805
188830
|
|
|
@@ -188830,12 +188855,6 @@ class PointLight(Light, ID, bpy_struct):
|
|
|
188830
188855
|
:type: bool
|
|
188831
188856
|
"""
|
|
188832
188857
|
|
|
188833
|
-
use_contact_shadow: bool
|
|
188834
|
-
""" Use screen space ray-tracing to have correct shadowing near occluder, or for small features that does not appear in shadow maps
|
|
188835
|
-
|
|
188836
|
-
:type: bool
|
|
188837
|
-
"""
|
|
188838
|
-
|
|
188839
188858
|
use_shadow_jitter: bool
|
|
188840
188859
|
""" Enable jittered soft shadows to increase shadow precision (disabled in viewport unless enabled in the render settings). Has a high performance impact.
|
|
188841
188860
|
|
|
@@ -188948,7 +188967,7 @@ class Pose(bpy_struct):
|
|
|
188948
188967
|
|
|
188949
188968
|
@classmethod
|
|
188950
188969
|
def apply_pose_from_action(
|
|
188951
|
-
cls, action: Action | None, evaluation_time: float | None = 0.0
|
|
188970
|
+
cls, action: Action | None, *, evaluation_time: float | None = 0.0
|
|
188952
188971
|
):
|
|
188953
188972
|
"""Apply the given action to this pose by evaluating it at a specific time. Only updates the pose of selected bones, or all bones if none are selected.
|
|
188954
188973
|
|
|
@@ -188962,6 +188981,7 @@ class Pose(bpy_struct):
|
|
|
188962
188981
|
def blend_pose_from_action(
|
|
188963
188982
|
cls,
|
|
188964
188983
|
action: Action | None,
|
|
188984
|
+
*,
|
|
188965
188985
|
blend_factor: float | None = 1.0,
|
|
188966
188986
|
evaluation_time: float | None = 0.0,
|
|
188967
188987
|
):
|
|
@@ -189462,7 +189482,7 @@ Utility function for (tail - head)(readonly)"""
|
|
|
189462
189482
|
"""
|
|
189463
189483
|
|
|
189464
189484
|
def bbone_segment_matrix(
|
|
189465
|
-
self, index: int | None, rest: bool | None = False
|
|
189485
|
+
self, index: int | None, *, rest: bool | None = False
|
|
189466
189486
|
) -> mathutils.Matrix:
|
|
189467
189487
|
"""Retrieve the matrix of the joint between B-Bone segments if availableThis example shows how to use B-Bone segment matrices to emulate deformation
|
|
189468
189488
|
produced by the Armature modifier or constraint when assigned to the given bone
|
|
@@ -189478,6 +189498,7 @@ Utility function for (tail - head)(readonly)"""
|
|
|
189478
189498
|
|
|
189479
189499
|
def compute_bbone_handles(
|
|
189480
189500
|
self,
|
|
189501
|
+
*,
|
|
189481
189502
|
rest: bool | None = False,
|
|
189482
189503
|
ease: bool | None = False,
|
|
189483
189504
|
offsets: bool | None = False,
|
|
@@ -192669,7 +192690,9 @@ class RenderEngine(bpy_struct):
|
|
|
192669
192690
|
:type: bool
|
|
192670
192691
|
"""
|
|
192671
192692
|
|
|
192672
|
-
def update(
|
|
192693
|
+
def update(
|
|
192694
|
+
self, *, data: BlendData | None = None, depsgraph: Depsgraph | None = None
|
|
192695
|
+
):
|
|
192673
192696
|
"""Export scene data for render
|
|
192674
192697
|
|
|
192675
192698
|
:param data:
|
|
@@ -192740,7 +192763,7 @@ class RenderEngine(bpy_struct):
|
|
|
192740
192763
|
:type depsgraph: Depsgraph | None
|
|
192741
192764
|
"""
|
|
192742
192765
|
|
|
192743
|
-
def update_script_node(self, node: Node | None = None):
|
|
192766
|
+
def update_script_node(self, *, node: Node | None = None):
|
|
192744
192767
|
"""Compile shader script node
|
|
192745
192768
|
|
|
192746
192769
|
:param node:
|
|
@@ -192748,7 +192771,7 @@ class RenderEngine(bpy_struct):
|
|
|
192748
192771
|
"""
|
|
192749
192772
|
|
|
192750
192773
|
def update_render_passes(
|
|
192751
|
-
self, scene: Scene | None = None, renderlayer: ViewLayer | None = None
|
|
192774
|
+
self, *, scene: Scene | None = None, renderlayer: ViewLayer | None = None
|
|
192752
192775
|
):
|
|
192753
192776
|
"""Update the render passes that will be generated
|
|
192754
192777
|
|
|
@@ -192770,6 +192793,7 @@ class RenderEngine(bpy_struct):
|
|
|
192770
192793
|
y: int | None,
|
|
192771
192794
|
w: int | None,
|
|
192772
192795
|
h: int | None,
|
|
192796
|
+
*,
|
|
192773
192797
|
layer: str = "",
|
|
192774
192798
|
view: str = "",
|
|
192775
192799
|
) -> RenderResult:
|
|
@@ -192801,6 +192825,7 @@ class RenderEngine(bpy_struct):
|
|
|
192801
192825
|
def end_result(
|
|
192802
192826
|
self,
|
|
192803
192827
|
result: RenderResult | None,
|
|
192828
|
+
*,
|
|
192804
192829
|
cancel: bool | None = False,
|
|
192805
192830
|
highlight: bool | None = False,
|
|
192806
192831
|
do_merge_results: bool | None = False,
|
|
@@ -192817,7 +192842,9 @@ class RenderEngine(bpy_struct):
|
|
|
192817
192842
|
:type do_merge_results: bool | None
|
|
192818
192843
|
"""
|
|
192819
192844
|
|
|
192820
|
-
def add_pass(
|
|
192845
|
+
def add_pass(
|
|
192846
|
+
self, name: str, channels: int | None, chan_id: str, *, layer: str = ""
|
|
192847
|
+
):
|
|
192821
192848
|
"""Add a pass to the render layer
|
|
192822
192849
|
|
|
192823
192850
|
:param name: Name, Name of the Pass, without view or channel tag
|
|
@@ -192870,7 +192897,7 @@ class RenderEngine(bpy_struct):
|
|
|
192870
192897
|
"""
|
|
192871
192898
|
|
|
192872
192899
|
def camera_shift_x(
|
|
192873
|
-
self, camera: Object | None, use_spherical_stereo: bool | None = False
|
|
192900
|
+
self, camera: Object | None, *, use_spherical_stereo: bool | None = False
|
|
192874
192901
|
) -> float:
|
|
192875
192902
|
"""camera_shift_x
|
|
192876
192903
|
|
|
@@ -192883,7 +192910,7 @@ class RenderEngine(bpy_struct):
|
|
|
192883
192910
|
"""
|
|
192884
192911
|
|
|
192885
192912
|
def camera_model_matrix(
|
|
192886
|
-
self, camera: Object | None, use_spherical_stereo: bool | None = False
|
|
192913
|
+
self, camera: Object | None, *, use_spherical_stereo: bool | None = False
|
|
192887
192914
|
) -> mathutils.Matrix:
|
|
192888
192915
|
"""camera_model_matrix
|
|
192889
192916
|
|
|
@@ -192930,7 +192957,7 @@ class RenderEngine(bpy_struct):
|
|
|
192930
192957
|
"""
|
|
192931
192958
|
|
|
192932
192959
|
def update_memory_stats(
|
|
192933
|
-
self, memory_used: float | None = 0.0, memory_peak: float | None = 0.0
|
|
192960
|
+
self, *, memory_used: float | None = 0.0, memory_peak: float | None = 0.0
|
|
192934
192961
|
):
|
|
192935
192962
|
"""Update memory usage statistics
|
|
192936
192963
|
|
|
@@ -193258,7 +193285,7 @@ class RenderLayer(bpy_struct):
|
|
|
193258
193285
|
:type: bool
|
|
193259
193286
|
"""
|
|
193260
193287
|
|
|
193261
|
-
def load_from_file(self, filepath: str, x: int | None = 0, y: int | None = 0):
|
|
193288
|
+
def load_from_file(self, filepath: str, *, x: int | None = 0, y: int | None = 0):
|
|
193262
193289
|
"""Copies the pixels of this renderlayer from an image file
|
|
193263
193290
|
|
|
193264
193291
|
:param filepath: File Path, File path to load into this render tile, must be no smaller than the renderlayer
|
|
@@ -194044,6 +194071,7 @@ class RenderSettings(bpy_struct):
|
|
|
194044
194071
|
|
|
194045
194072
|
def frame_path(
|
|
194046
194073
|
self,
|
|
194074
|
+
*,
|
|
194047
194075
|
frame: int | None = -2147483648,
|
|
194048
194076
|
preview: bool | None = False,
|
|
194049
194077
|
view: str = "",
|
|
@@ -195495,7 +195523,7 @@ class Scene(ID, bpy_struct):
|
|
|
195495
195523
|
:rtype: str
|
|
195496
195524
|
"""
|
|
195497
195525
|
|
|
195498
|
-
def frame_set(self, frame: int | None, subframe: float | None = 0.0):
|
|
195526
|
+
def frame_set(self, frame: int | None, *, subframe: float | None = 0.0):
|
|
195499
195527
|
"""Set scene frame updating all objects immediately
|
|
195500
195528
|
|
|
195501
195529
|
:param frame: Frame number to set
|
|
@@ -195518,6 +195546,7 @@ class Scene(ID, bpy_struct):
|
|
|
195518
195546
|
depsgraph: Depsgraph,
|
|
195519
195547
|
origin: collections.abc.Sequence[float] | mathutils.Vector | None,
|
|
195520
195548
|
direction: collections.abc.Sequence[float] | mathutils.Vector | None,
|
|
195549
|
+
*,
|
|
195521
195550
|
distance: float | None = 1.70141e38,
|
|
195522
195551
|
):
|
|
195523
195552
|
"""Cast a ray onto in object space
|
|
@@ -195556,6 +195585,7 @@ class Scene(ID, bpy_struct):
|
|
|
195556
195585
|
def alembic_export(
|
|
195557
195586
|
self,
|
|
195558
195587
|
filepath: str,
|
|
195588
|
+
*,
|
|
195559
195589
|
frame_start: int | None = 1,
|
|
195560
195590
|
frame_end: int | None = 1,
|
|
195561
195591
|
xform_samples: int | None = 1,
|
|
@@ -195733,48 +195763,6 @@ class SceneDisplay(bpy_struct):
|
|
|
195733
195763
|
class SceneEEVEE(bpy_struct):
|
|
195734
195764
|
"""Scene display settings for 3D viewport"""
|
|
195735
195765
|
|
|
195736
|
-
bloom_clamp: float
|
|
195737
|
-
""" Maximum intensity a bloom pixel can have (0 to disable) (deprecated)
|
|
195738
|
-
|
|
195739
|
-
:type: float
|
|
195740
|
-
"""
|
|
195741
|
-
|
|
195742
|
-
bloom_color: mathutils.Color
|
|
195743
|
-
""" Color applied to the bloom effect (deprecated)
|
|
195744
|
-
|
|
195745
|
-
:type: mathutils.Color
|
|
195746
|
-
"""
|
|
195747
|
-
|
|
195748
|
-
bloom_intensity: float
|
|
195749
|
-
""" Blend factor (deprecated)
|
|
195750
|
-
|
|
195751
|
-
:type: float
|
|
195752
|
-
"""
|
|
195753
|
-
|
|
195754
|
-
bloom_knee: float
|
|
195755
|
-
""" Makes transition between under/over-threshold gradual (deprecated)
|
|
195756
|
-
|
|
195757
|
-
:type: float
|
|
195758
|
-
"""
|
|
195759
|
-
|
|
195760
|
-
bloom_radius: float
|
|
195761
|
-
""" Bloom spread distance (deprecated)
|
|
195762
|
-
|
|
195763
|
-
:type: float
|
|
195764
|
-
"""
|
|
195765
|
-
|
|
195766
|
-
bloom_threshold: float
|
|
195767
|
-
""" Filters out pixels under this level of brightness (deprecated)
|
|
195768
|
-
|
|
195769
|
-
:type: float
|
|
195770
|
-
"""
|
|
195771
|
-
|
|
195772
|
-
bokeh_denoise_fac: float
|
|
195773
|
-
""" Amount of flicker removal applied to bokeh highlights
|
|
195774
|
-
|
|
195775
|
-
:type: float
|
|
195776
|
-
"""
|
|
195777
|
-
|
|
195778
195766
|
bokeh_max_size: float
|
|
195779
195767
|
""" Max size of the bokeh shape for the depth of field (lower is faster)
|
|
195780
195768
|
|
|
@@ -195877,12 +195865,6 @@ class SceneEEVEE(bpy_struct):
|
|
|
195877
195865
|
:type: float
|
|
195878
195866
|
"""
|
|
195879
195867
|
|
|
195880
|
-
gi_cubemap_display_size: float
|
|
195881
|
-
""" Size of the cubemap spheres to debug captured light
|
|
195882
|
-
|
|
195883
|
-
:type: float
|
|
195884
|
-
"""
|
|
195885
|
-
|
|
195886
195868
|
gi_cubemap_resolution: typing.Literal["128", "256", "512", "1024", "2048", "4096"]
|
|
195887
195869
|
""" Size of every cubemaps
|
|
195888
195870
|
|
|
@@ -195895,24 +195877,12 @@ class SceneEEVEE(bpy_struct):
|
|
|
195895
195877
|
:type: int
|
|
195896
195878
|
"""
|
|
195897
195879
|
|
|
195898
|
-
gi_filter_quality: float
|
|
195899
|
-
""" Take more samples during cubemap filtering to remove artifacts
|
|
195900
|
-
|
|
195901
|
-
:type: float
|
|
195902
|
-
"""
|
|
195903
|
-
|
|
195904
195880
|
gi_glossy_clamp: float
|
|
195905
195881
|
""" Clamp pixel intensity to reduce noise inside glossy reflections from reflection cubemaps (0 to disable)
|
|
195906
195882
|
|
|
195907
195883
|
:type: float
|
|
195908
195884
|
"""
|
|
195909
195885
|
|
|
195910
|
-
gi_irradiance_display_size: float
|
|
195911
|
-
""" Size of the irradiance sample spheres to debug captured light
|
|
195912
|
-
|
|
195913
|
-
:type: float
|
|
195914
|
-
"""
|
|
195915
|
-
|
|
195916
195886
|
gi_irradiance_pool_size: typing.Literal[
|
|
195917
195887
|
"16", "32", "64", "128", "256", "512", "1024"
|
|
195918
195888
|
]
|
|
@@ -195921,24 +195891,6 @@ class SceneEEVEE(bpy_struct):
|
|
|
195921
195891
|
:type: typing.Literal['16','32','64','128','256','512','1024']
|
|
195922
195892
|
"""
|
|
195923
195893
|
|
|
195924
|
-
gi_irradiance_smoothing: float
|
|
195925
|
-
""" Smoother irradiance interpolation but introduce light bleeding
|
|
195926
|
-
|
|
195927
|
-
:type: float
|
|
195928
|
-
"""
|
|
195929
|
-
|
|
195930
|
-
gi_show_cubemaps: bool
|
|
195931
|
-
""" Display captured cubemaps in the viewport
|
|
195932
|
-
|
|
195933
|
-
:type: bool
|
|
195934
|
-
"""
|
|
195935
|
-
|
|
195936
|
-
gi_show_irradiance: bool
|
|
195937
|
-
""" Display irradiance samples in the viewport
|
|
195938
|
-
|
|
195939
|
-
:type: bool
|
|
195940
|
-
"""
|
|
195941
|
-
|
|
195942
195894
|
gi_visibility_resolution: typing.Literal["8", "16", "32", "64"]
|
|
195943
195895
|
""" Size of the shadow map applied to each irradiance sample
|
|
195944
195896
|
|
|
@@ -195951,12 +195903,6 @@ class SceneEEVEE(bpy_struct):
|
|
|
195951
195903
|
:type: float
|
|
195952
195904
|
"""
|
|
195953
195905
|
|
|
195954
|
-
gtao_factor: float
|
|
195955
|
-
""" Factor for ambient occlusion blending
|
|
195956
|
-
|
|
195957
|
-
:type: float
|
|
195958
|
-
"""
|
|
195959
|
-
|
|
195960
195906
|
gtao_quality: float
|
|
195961
195907
|
""" Precision of the horizon search
|
|
195962
195908
|
|
|
@@ -196005,18 +195951,6 @@ class SceneEEVEE(bpy_struct):
|
|
|
196005
195951
|
:type: RaytraceEEVEE
|
|
196006
195952
|
"""
|
|
196007
195953
|
|
|
196008
|
-
shadow_cascade_size: typing.Literal["128", "256", "512", "1024", "2048", "4096"]
|
|
196009
|
-
""" Size of sun light shadow maps (deprecated)
|
|
196010
|
-
|
|
196011
|
-
:type: typing.Literal['128','256','512','1024','2048','4096']
|
|
196012
|
-
"""
|
|
196013
|
-
|
|
196014
|
-
shadow_cube_size: typing.Literal["128", "256", "512", "1024", "2048", "4096"]
|
|
196015
|
-
""" Size of point and area light shadow maps (deprecated)
|
|
196016
|
-
|
|
196017
|
-
:type: typing.Literal['128','256','512','1024','2048','4096']
|
|
196018
|
-
"""
|
|
196019
|
-
|
|
196020
195954
|
shadow_pool_size: typing.Literal["16", "32", "64", "128", "256", "512", "1024"]
|
|
196021
195955
|
""" Size of the shadow pool, a bigger pool size allows for more shadows in the scene but might not fit into GPU memory
|
|
196022
195956
|
|
|
@@ -196041,48 +195975,6 @@ class SceneEEVEE(bpy_struct):
|
|
|
196041
195975
|
:type: int
|
|
196042
195976
|
"""
|
|
196043
195977
|
|
|
196044
|
-
ssr_border_fade: float
|
|
196045
|
-
""" Screen percentage used to fade the SSR
|
|
196046
|
-
|
|
196047
|
-
:type: float
|
|
196048
|
-
"""
|
|
196049
|
-
|
|
196050
|
-
ssr_firefly_fac: float
|
|
196051
|
-
""" Clamp pixel intensity to remove noise (0 to disable)
|
|
196052
|
-
|
|
196053
|
-
:type: float
|
|
196054
|
-
"""
|
|
196055
|
-
|
|
196056
|
-
ssr_max_roughness: float
|
|
196057
|
-
""" Do not raytrace reflections for roughness above this value
|
|
196058
|
-
|
|
196059
|
-
:type: float
|
|
196060
|
-
"""
|
|
196061
|
-
|
|
196062
|
-
ssr_quality: float
|
|
196063
|
-
""" Precision of the screen space ray-tracing
|
|
196064
|
-
|
|
196065
|
-
:type: float
|
|
196066
|
-
"""
|
|
196067
|
-
|
|
196068
|
-
ssr_thickness: float
|
|
196069
|
-
""" Pixel thickness used to detect intersection
|
|
196070
|
-
|
|
196071
|
-
:type: float
|
|
196072
|
-
"""
|
|
196073
|
-
|
|
196074
|
-
sss_jitter_threshold: float
|
|
196075
|
-
""" Rotate samples that are below this threshold
|
|
196076
|
-
|
|
196077
|
-
:type: float
|
|
196078
|
-
"""
|
|
196079
|
-
|
|
196080
|
-
sss_samples: int
|
|
196081
|
-
""" Number of samples to compute the scattering effect
|
|
196082
|
-
|
|
196083
|
-
:type: int
|
|
196084
|
-
"""
|
|
196085
|
-
|
|
196086
195978
|
taa_render_samples: int
|
|
196087
195979
|
""" Number of samples per pixel for rendering
|
|
196088
195980
|
|
|
@@ -196095,18 +195987,6 @@ class SceneEEVEE(bpy_struct):
|
|
|
196095
195987
|
:type: int
|
|
196096
195988
|
"""
|
|
196097
195989
|
|
|
196098
|
-
use_bloom: bool
|
|
196099
|
-
""" High brightness pixels generate a glowing effect (deprecated)
|
|
196100
|
-
|
|
196101
|
-
:type: bool
|
|
196102
|
-
"""
|
|
196103
|
-
|
|
196104
|
-
use_bokeh_high_quality_slight_defocus: bool
|
|
196105
|
-
""" Sample all pixels in almost in-focus regions to eliminate noise
|
|
196106
|
-
|
|
196107
|
-
:type: bool
|
|
196108
|
-
"""
|
|
196109
|
-
|
|
196110
195990
|
use_bokeh_jittered: bool
|
|
196111
195991
|
""" Jitter camera position to create accurate blurring using render samples (only for final render)
|
|
196112
195992
|
|
|
@@ -196125,18 +196005,6 @@ class SceneEEVEE(bpy_struct):
|
|
|
196125
196005
|
:type: bool
|
|
196126
196006
|
"""
|
|
196127
196007
|
|
|
196128
|
-
use_gtao_bent_normals: bool
|
|
196129
|
-
""" Compute main non occluded direction to sample the environment
|
|
196130
|
-
|
|
196131
|
-
:type: bool
|
|
196132
|
-
"""
|
|
196133
|
-
|
|
196134
|
-
use_gtao_bounce: bool
|
|
196135
|
-
""" An approximation to simulate light bounces giving less occlusion on brighter objects
|
|
196136
|
-
|
|
196137
|
-
:type: bool
|
|
196138
|
-
"""
|
|
196139
|
-
|
|
196140
196008
|
use_overscan: bool
|
|
196141
196009
|
""" Internally render past the image border to avoid screen-space effects disappearing
|
|
196142
196010
|
|
|
@@ -196149,12 +196017,6 @@ class SceneEEVEE(bpy_struct):
|
|
|
196149
196017
|
:type: bool
|
|
196150
196018
|
"""
|
|
196151
196019
|
|
|
196152
|
-
use_shadow_high_bitdepth: bool
|
|
196153
|
-
""" Use 32-bit shadows
|
|
196154
|
-
|
|
196155
|
-
:type: bool
|
|
196156
|
-
"""
|
|
196157
|
-
|
|
196158
196020
|
use_shadow_jitter_viewport: bool
|
|
196159
196021
|
""" Enable jittered shadows on the viewport. (Jittered shadows are always enabled for final renders).
|
|
196160
196022
|
|
|
@@ -196167,30 +196029,6 @@ class SceneEEVEE(bpy_struct):
|
|
|
196167
196029
|
:type: bool
|
|
196168
196030
|
"""
|
|
196169
196031
|
|
|
196170
|
-
use_soft_shadows: bool
|
|
196171
|
-
""" Randomize shadowmaps origin to create soft shadows
|
|
196172
|
-
|
|
196173
|
-
:type: bool
|
|
196174
|
-
"""
|
|
196175
|
-
|
|
196176
|
-
use_ssr: bool
|
|
196177
|
-
""" Enable screen space reflection
|
|
196178
|
-
|
|
196179
|
-
:type: bool
|
|
196180
|
-
"""
|
|
196181
|
-
|
|
196182
|
-
use_ssr_halfres: bool
|
|
196183
|
-
""" Raytrace at a lower resolution
|
|
196184
|
-
|
|
196185
|
-
:type: bool
|
|
196186
|
-
"""
|
|
196187
|
-
|
|
196188
|
-
use_ssr_refraction: bool
|
|
196189
|
-
""" Enable screen space Refractions
|
|
196190
|
-
|
|
196191
|
-
:type: bool
|
|
196192
|
-
"""
|
|
196193
|
-
|
|
196194
196032
|
use_taa_reprojection: bool
|
|
196195
196033
|
""" Denoise image using temporal reprojection (can leave some ghosting)
|
|
196196
196034
|
|
|
@@ -196203,12 +196041,6 @@ class SceneEEVEE(bpy_struct):
|
|
|
196203
196041
|
:type: bool
|
|
196204
196042
|
"""
|
|
196205
196043
|
|
|
196206
|
-
use_volumetric_lights: bool
|
|
196207
|
-
""" Enable scene light interactions with volumetrics
|
|
196208
|
-
|
|
196209
|
-
:type: bool
|
|
196210
|
-
"""
|
|
196211
|
-
|
|
196212
196044
|
use_volumetric_shadows: bool
|
|
196213
196045
|
""" Cast shadows from volumetric materials onto volumetric materials (Very expensive)
|
|
196214
196046
|
|
|
@@ -198432,6 +198264,12 @@ class SequencerToolSettings(bpy_struct):
|
|
|
198432
198264
|
:type: bool
|
|
198433
198265
|
"""
|
|
198434
198266
|
|
|
198267
|
+
snap_to_retiming_keys: bool
|
|
198268
|
+
""" Snap to retiming keys
|
|
198269
|
+
|
|
198270
|
+
:type: bool
|
|
198271
|
+
"""
|
|
198272
|
+
|
|
198435
198273
|
snap_to_strips_preview: bool
|
|
198436
198274
|
""" Snap to borders and origins of deselected, visible strips
|
|
198437
198275
|
|
|
@@ -204103,7 +203941,7 @@ class ShaderNodeTexPointDensity(ShaderNode, NodeInternal, Node, bpy_struct):
|
|
|
204103
203941
|
:rtype: NodeInternalSocketTemplate
|
|
204104
203942
|
"""
|
|
204105
203943
|
|
|
204106
|
-
def cache_point_density(self, depsgraph: Depsgraph | None = None):
|
|
203944
|
+
def cache_point_density(self, *, depsgraph: Depsgraph | None = None):
|
|
204107
203945
|
"""Cache point density data for later calculation
|
|
204108
203946
|
|
|
204109
203947
|
:param depsgraph:
|
|
@@ -204111,7 +203949,7 @@ class ShaderNodeTexPointDensity(ShaderNode, NodeInternal, Node, bpy_struct):
|
|
|
204111
203949
|
"""
|
|
204112
203950
|
|
|
204113
203951
|
def calc_point_density(
|
|
204114
|
-
self, depsgraph: Depsgraph | None = None
|
|
203952
|
+
self, *, depsgraph: Depsgraph | None = None
|
|
204115
203953
|
) -> bpy_prop_array[float]:
|
|
204116
203954
|
"""Calculate point density
|
|
204117
203955
|
|
|
@@ -204121,7 +203959,7 @@ class ShaderNodeTexPointDensity(ShaderNode, NodeInternal, Node, bpy_struct):
|
|
|
204121
203959
|
:rtype: bpy_prop_array[float]
|
|
204122
203960
|
"""
|
|
204123
203961
|
|
|
204124
|
-
def calc_point_density_minmax(self, depsgraph: Depsgraph | None = None):
|
|
203962
|
+
def calc_point_density_minmax(self, *, depsgraph: Depsgraph | None = None):
|
|
204125
203963
|
"""Calculate point density
|
|
204126
203964
|
|
|
204127
203965
|
:param depsgraph:
|
|
@@ -206855,7 +206693,7 @@ class Sound(ID, bpy_struct):
|
|
|
206855
206693
|
def pack(self):
|
|
206856
206694
|
"""Pack the sound into the current blend file"""
|
|
206857
206695
|
|
|
206858
|
-
def unpack(self, method: bpy.typing.UnpackMethodItems | None = "USE_LOCAL"):
|
|
206696
|
+
def unpack(self, *, method: bpy.typing.UnpackMethodItems | None = "USE_LOCAL"):
|
|
206859
206697
|
"""Unpack the sound to the samples filename
|
|
206860
206698
|
|
|
206861
206699
|
:param method: method, How to unpack
|
|
@@ -207044,8 +206882,8 @@ class Space(bpy_struct):
|
|
|
207044
206882
|
@classmethod
|
|
207045
206883
|
def draw_handler_add(
|
|
207046
206884
|
cls,
|
|
207047
|
-
callback:
|
|
207048
|
-
args
|
|
206885
|
+
callback: collections.abc.Callable | None,
|
|
206886
|
+
args,
|
|
207049
206887
|
region_type: str | None,
|
|
207050
206888
|
draw_type: str | None,
|
|
207051
206889
|
) -> typing.Any:
|
|
@@ -207054,10 +206892,9 @@ class Space(bpy_struct):
|
|
|
207054
206892
|
Note: All arguments are positional only for now.
|
|
207055
206893
|
|
|
207056
206894
|
:param callback: A function that will be called when the region is drawn.
|
|
207057
|
-
It gets the specified arguments as input.
|
|
207058
|
-
:type callback:
|
|
206895
|
+
It gets the specified arguments as input, it's return value is ignored.
|
|
206896
|
+
:type callback: collections.abc.Callable | None
|
|
207059
206897
|
:param args: Arguments that will be passed to the callback.
|
|
207060
|
-
:type args: tuple | None
|
|
207061
206898
|
:param region_type: The region type the callback draws in; usually WINDOW. (`bpy.types.Region.type`)
|
|
207062
206899
|
:type region_type: str | None
|
|
207063
206900
|
:param draw_type: Usually POST_PIXEL for 2D drawing and POST_VIEW for 3D drawing. In some cases PRE_VIEW can be used. BACKDROP can be used for backdrops in the node editor.
|
|
@@ -207388,8 +207225,8 @@ class SpaceClipEditor(Space, bpy_struct):
|
|
|
207388
207225
|
@classmethod
|
|
207389
207226
|
def draw_handler_add(
|
|
207390
207227
|
cls,
|
|
207391
|
-
callback:
|
|
207392
|
-
args
|
|
207228
|
+
callback: collections.abc.Callable | None,
|
|
207229
|
+
args,
|
|
207393
207230
|
region_type: str | None,
|
|
207394
207231
|
draw_type: str | None,
|
|
207395
207232
|
) -> typing.Any:
|
|
@@ -207398,10 +207235,9 @@ class SpaceClipEditor(Space, bpy_struct):
|
|
|
207398
207235
|
Note: All arguments are positional only for now.
|
|
207399
207236
|
|
|
207400
207237
|
:param callback: A function that will be called when the region is drawn.
|
|
207401
|
-
It gets the specified arguments as input.
|
|
207402
|
-
:type callback:
|
|
207238
|
+
It gets the specified arguments as input, it's return value is ignored.
|
|
207239
|
+
:type callback: collections.abc.Callable | None
|
|
207403
207240
|
:param args: Arguments that will be passed to the callback.
|
|
207404
|
-
:type args: tuple | None
|
|
207405
207241
|
:param region_type: The region type the callback draws in; usually WINDOW. (`bpy.types.Region.type`)
|
|
207406
207242
|
:type region_type: str | None
|
|
207407
207243
|
:param draw_type: Usually POST_PIXEL for 2D drawing and POST_VIEW for 3D drawing. In some cases PRE_VIEW can be used. BACKDROP can be used for backdrops in the node editor.
|
|
@@ -207490,8 +207326,8 @@ class SpaceConsole(Space, bpy_struct):
|
|
|
207490
207326
|
@classmethod
|
|
207491
207327
|
def draw_handler_add(
|
|
207492
207328
|
cls,
|
|
207493
|
-
callback:
|
|
207494
|
-
args
|
|
207329
|
+
callback: collections.abc.Callable | None,
|
|
207330
|
+
args,
|
|
207495
207331
|
region_type: str | None,
|
|
207496
207332
|
draw_type: str | None,
|
|
207497
207333
|
) -> typing.Any:
|
|
@@ -207500,10 +207336,9 @@ class SpaceConsole(Space, bpy_struct):
|
|
|
207500
207336
|
Note: All arguments are positional only for now.
|
|
207501
207337
|
|
|
207502
207338
|
:param callback: A function that will be called when the region is drawn.
|
|
207503
|
-
It gets the specified arguments as input.
|
|
207504
|
-
:type callback:
|
|
207339
|
+
It gets the specified arguments as input, it's return value is ignored.
|
|
207340
|
+
:type callback: collections.abc.Callable | None
|
|
207505
207341
|
:param args: Arguments that will be passed to the callback.
|
|
207506
|
-
:type args: tuple | None
|
|
207507
207342
|
:param region_type: The region type the callback draws in; usually WINDOW. (`bpy.types.Region.type`)
|
|
207508
207343
|
:type region_type: str | None
|
|
207509
207344
|
:param draw_type: Usually POST_PIXEL for 2D drawing and POST_VIEW for 3D drawing. In some cases PRE_VIEW can be used. BACKDROP can be used for backdrops in the node editor.
|
|
@@ -207698,8 +207533,8 @@ class SpaceDopeSheetEditor(Space, bpy_struct):
|
|
|
207698
207533
|
@classmethod
|
|
207699
207534
|
def draw_handler_add(
|
|
207700
207535
|
cls,
|
|
207701
|
-
callback:
|
|
207702
|
-
args
|
|
207536
|
+
callback: collections.abc.Callable | None,
|
|
207537
|
+
args,
|
|
207703
207538
|
region_type: str | None,
|
|
207704
207539
|
draw_type: str | None,
|
|
207705
207540
|
) -> typing.Any:
|
|
@@ -207708,10 +207543,9 @@ class SpaceDopeSheetEditor(Space, bpy_struct):
|
|
|
207708
207543
|
Note: All arguments are positional only for now.
|
|
207709
207544
|
|
|
207710
207545
|
:param callback: A function that will be called when the region is drawn.
|
|
207711
|
-
It gets the specified arguments as input.
|
|
207712
|
-
:type callback:
|
|
207546
|
+
It gets the specified arguments as input, it's return value is ignored.
|
|
207547
|
+
:type callback: collections.abc.Callable | None
|
|
207713
207548
|
:param args: Arguments that will be passed to the callback.
|
|
207714
|
-
:type args: tuple | None
|
|
207715
207549
|
:param region_type: The region type the callback draws in; usually WINDOW. (`bpy.types.Region.type`)
|
|
207716
207550
|
:type region_type: str | None
|
|
207717
207551
|
:param draw_type: Usually POST_PIXEL for 2D drawing and POST_VIEW for 3D drawing. In some cases PRE_VIEW can be used. BACKDROP can be used for backdrops in the node editor.
|
|
@@ -207824,7 +207658,7 @@ class SpaceFileBrowser(Space, bpy_struct):
|
|
|
207824
207658
|
"""
|
|
207825
207659
|
|
|
207826
207660
|
def activate_asset_by_id(
|
|
207827
|
-
self, id_to_activate: ID | None, deferred: bool | None = False
|
|
207661
|
+
self, id_to_activate: ID | None, *, deferred: bool | None = False
|
|
207828
207662
|
):
|
|
207829
207663
|
"""Activate and select the asset entry that represents the given ID
|
|
207830
207664
|
|
|
@@ -207834,7 +207668,7 @@ class SpaceFileBrowser(Space, bpy_struct):
|
|
|
207834
207668
|
:type deferred: bool | None
|
|
207835
207669
|
"""
|
|
207836
207670
|
|
|
207837
|
-
def activate_file_by_relative_path(self, relative_path: str = ""):
|
|
207671
|
+
def activate_file_by_relative_path(self, *, relative_path: str = ""):
|
|
207838
207672
|
"""Set active file and add to selection based on relative path to current File Browser directory
|
|
207839
207673
|
|
|
207840
207674
|
:param relative_path: relative_path
|
|
@@ -207869,8 +207703,8 @@ class SpaceFileBrowser(Space, bpy_struct):
|
|
|
207869
207703
|
@classmethod
|
|
207870
207704
|
def draw_handler_add(
|
|
207871
207705
|
cls,
|
|
207872
|
-
callback:
|
|
207873
|
-
args
|
|
207706
|
+
callback: collections.abc.Callable | None,
|
|
207707
|
+
args,
|
|
207874
207708
|
region_type: str | None,
|
|
207875
207709
|
draw_type: str | None,
|
|
207876
207710
|
) -> typing.Any:
|
|
@@ -207879,10 +207713,9 @@ class SpaceFileBrowser(Space, bpy_struct):
|
|
|
207879
207713
|
Note: All arguments are positional only for now.
|
|
207880
207714
|
|
|
207881
207715
|
:param callback: A function that will be called when the region is drawn.
|
|
207882
|
-
It gets the specified arguments as input.
|
|
207883
|
-
:type callback:
|
|
207716
|
+
It gets the specified arguments as input, it's return value is ignored.
|
|
207717
|
+
:type callback: collections.abc.Callable | None
|
|
207884
207718
|
:param args: Arguments that will be passed to the callback.
|
|
207885
|
-
:type args: tuple | None
|
|
207886
207719
|
:param region_type: The region type the callback draws in; usually WINDOW. (`bpy.types.Region.type`)
|
|
207887
207720
|
:type region_type: str | None
|
|
207888
207721
|
:param draw_type: Usually POST_PIXEL for 2D drawing and POST_VIEW for 3D drawing. In some cases PRE_VIEW can be used. BACKDROP can be used for backdrops in the node editor.
|
|
@@ -208055,8 +207888,8 @@ class SpaceGraphEditor(Space, bpy_struct):
|
|
|
208055
207888
|
@classmethod
|
|
208056
207889
|
def draw_handler_add(
|
|
208057
207890
|
cls,
|
|
208058
|
-
callback:
|
|
208059
|
-
args
|
|
207891
|
+
callback: collections.abc.Callable | None,
|
|
207892
|
+
args,
|
|
208060
207893
|
region_type: str | None,
|
|
208061
207894
|
draw_type: str | None,
|
|
208062
207895
|
) -> typing.Any:
|
|
@@ -208065,10 +207898,9 @@ class SpaceGraphEditor(Space, bpy_struct):
|
|
|
208065
207898
|
Note: All arguments are positional only for now.
|
|
208066
207899
|
|
|
208067
207900
|
:param callback: A function that will be called when the region is drawn.
|
|
208068
|
-
It gets the specified arguments as input.
|
|
208069
|
-
:type callback:
|
|
207901
|
+
It gets the specified arguments as input, it's return value is ignored.
|
|
207902
|
+
:type callback: collections.abc.Callable | None
|
|
208070
207903
|
:param args: Arguments that will be passed to the callback.
|
|
208071
|
-
:type args: tuple | None
|
|
208072
207904
|
:param region_type: The region type the callback draws in; usually WINDOW. (`bpy.types.Region.type`)
|
|
208073
207905
|
:type region_type: str | None
|
|
208074
207906
|
:param draw_type: Usually POST_PIXEL for 2D drawing and POST_VIEW for 3D drawing. In some cases PRE_VIEW can be used. BACKDROP can be used for backdrops in the node editor.
|
|
@@ -208339,8 +208171,8 @@ class SpaceImageEditor(Space, bpy_struct):
|
|
|
208339
208171
|
@classmethod
|
|
208340
208172
|
def draw_handler_add(
|
|
208341
208173
|
cls,
|
|
208342
|
-
callback:
|
|
208343
|
-
args
|
|
208174
|
+
callback: collections.abc.Callable | None,
|
|
208175
|
+
args,
|
|
208344
208176
|
region_type: str | None,
|
|
208345
208177
|
draw_type: str | None,
|
|
208346
208178
|
) -> typing.Any:
|
|
@@ -208349,10 +208181,9 @@ class SpaceImageEditor(Space, bpy_struct):
|
|
|
208349
208181
|
Note: All arguments are positional only for now.
|
|
208350
208182
|
|
|
208351
208183
|
:param callback: A function that will be called when the region is drawn.
|
|
208352
|
-
It gets the specified arguments as input.
|
|
208353
|
-
:type callback:
|
|
208184
|
+
It gets the specified arguments as input, it's return value is ignored.
|
|
208185
|
+
:type callback: collections.abc.Callable | None
|
|
208354
208186
|
:param args: Arguments that will be passed to the callback.
|
|
208355
|
-
:type args: tuple | None
|
|
208356
208187
|
:param region_type: The region type the callback draws in; usually WINDOW. (`bpy.types.Region.type`)
|
|
208357
208188
|
:type region_type: str | None
|
|
208358
208189
|
:param draw_type: Usually POST_PIXEL for 2D drawing and POST_VIEW for 3D drawing. In some cases PRE_VIEW can be used. BACKDROP can be used for backdrops in the node editor.
|
|
@@ -208466,8 +208297,8 @@ class SpaceInfo(Space, bpy_struct):
|
|
|
208466
208297
|
@classmethod
|
|
208467
208298
|
def draw_handler_add(
|
|
208468
208299
|
cls,
|
|
208469
|
-
callback:
|
|
208470
|
-
args
|
|
208300
|
+
callback: collections.abc.Callable | None,
|
|
208301
|
+
args,
|
|
208471
208302
|
region_type: str | None,
|
|
208472
208303
|
draw_type: str | None,
|
|
208473
208304
|
) -> typing.Any:
|
|
@@ -208476,10 +208307,9 @@ class SpaceInfo(Space, bpy_struct):
|
|
|
208476
208307
|
Note: All arguments are positional only for now.
|
|
208477
208308
|
|
|
208478
208309
|
:param callback: A function that will be called when the region is drawn.
|
|
208479
|
-
It gets the specified arguments as input.
|
|
208480
|
-
:type callback:
|
|
208310
|
+
It gets the specified arguments as input, it's return value is ignored.
|
|
208311
|
+
:type callback: collections.abc.Callable | None
|
|
208481
208312
|
:param args: Arguments that will be passed to the callback.
|
|
208482
|
-
:type args: tuple | None
|
|
208483
208313
|
:param region_type: The region type the callback draws in; usually WINDOW. (`bpy.types.Region.type`)
|
|
208484
208314
|
:type region_type: str | None
|
|
208485
208315
|
:param draw_type: Usually POST_PIXEL for 2D drawing and POST_VIEW for 3D drawing. In some cases PRE_VIEW can be used. BACKDROP can be used for backdrops in the node editor.
|
|
@@ -208580,8 +208410,8 @@ class SpaceNLA(Space, bpy_struct):
|
|
|
208580
208410
|
@classmethod
|
|
208581
208411
|
def draw_handler_add(
|
|
208582
208412
|
cls,
|
|
208583
|
-
callback:
|
|
208584
|
-
args
|
|
208413
|
+
callback: collections.abc.Callable | None,
|
|
208414
|
+
args,
|
|
208585
208415
|
region_type: str | None,
|
|
208586
208416
|
draw_type: str | None,
|
|
208587
208417
|
) -> typing.Any:
|
|
@@ -208590,10 +208420,9 @@ class SpaceNLA(Space, bpy_struct):
|
|
|
208590
208420
|
Note: All arguments are positional only for now.
|
|
208591
208421
|
|
|
208592
208422
|
:param callback: A function that will be called when the region is drawn.
|
|
208593
|
-
It gets the specified arguments as input.
|
|
208594
|
-
:type callback:
|
|
208423
|
+
It gets the specified arguments as input, it's return value is ignored.
|
|
208424
|
+
:type callback: collections.abc.Callable | None
|
|
208595
208425
|
:param args: Arguments that will be passed to the callback.
|
|
208596
|
-
:type args: tuple | None
|
|
208597
208426
|
:param region_type: The region type the callback draws in; usually WINDOW. (`bpy.types.Region.type`)
|
|
208598
208427
|
:type region_type: str | None
|
|
208599
208428
|
:param draw_type: Usually POST_PIXEL for 2D drawing and POST_VIEW for 3D drawing. In some cases PRE_VIEW can be used. BACKDROP can be used for backdrops in the node editor.
|
|
@@ -208783,8 +208612,8 @@ class SpaceNodeEditor(Space, bpy_struct):
|
|
|
208783
208612
|
@classmethod
|
|
208784
208613
|
def draw_handler_add(
|
|
208785
208614
|
cls,
|
|
208786
|
-
callback:
|
|
208787
|
-
args
|
|
208615
|
+
callback: collections.abc.Callable | None,
|
|
208616
|
+
args,
|
|
208788
208617
|
region_type: str | None,
|
|
208789
208618
|
draw_type: str | None,
|
|
208790
208619
|
) -> typing.Any:
|
|
@@ -208793,10 +208622,9 @@ class SpaceNodeEditor(Space, bpy_struct):
|
|
|
208793
208622
|
Note: All arguments are positional only for now.
|
|
208794
208623
|
|
|
208795
208624
|
:param callback: A function that will be called when the region is drawn.
|
|
208796
|
-
It gets the specified arguments as input.
|
|
208797
|
-
:type callback:
|
|
208625
|
+
It gets the specified arguments as input, it's return value is ignored.
|
|
208626
|
+
:type callback: collections.abc.Callable | None
|
|
208798
208627
|
:param args: Arguments that will be passed to the callback.
|
|
208799
|
-
:type args: tuple | None
|
|
208800
208628
|
:param region_type: The region type the callback draws in; usually WINDOW. (`bpy.types.Region.type`)
|
|
208801
208629
|
:type region_type: str | None
|
|
208802
208630
|
:param draw_type: Usually POST_PIXEL for 2D drawing and POST_VIEW for 3D drawing. In some cases PRE_VIEW can be used. BACKDROP can be used for backdrops in the node editor.
|
|
@@ -209116,8 +208944,8 @@ class SpaceOutliner(Space, bpy_struct):
|
|
|
209116
208944
|
@classmethod
|
|
209117
208945
|
def draw_handler_add(
|
|
209118
208946
|
cls,
|
|
209119
|
-
callback:
|
|
209120
|
-
args
|
|
208947
|
+
callback: collections.abc.Callable | None,
|
|
208948
|
+
args,
|
|
209121
208949
|
region_type: str | None,
|
|
209122
208950
|
draw_type: str | None,
|
|
209123
208951
|
) -> typing.Any:
|
|
@@ -209126,10 +208954,9 @@ class SpaceOutliner(Space, bpy_struct):
|
|
|
209126
208954
|
Note: All arguments are positional only for now.
|
|
209127
208955
|
|
|
209128
208956
|
:param callback: A function that will be called when the region is drawn.
|
|
209129
|
-
It gets the specified arguments as input.
|
|
209130
|
-
:type callback:
|
|
208957
|
+
It gets the specified arguments as input, it's return value is ignored.
|
|
208958
|
+
:type callback: collections.abc.Callable | None
|
|
209131
208959
|
:param args: Arguments that will be passed to the callback.
|
|
209132
|
-
:type args: tuple | None
|
|
209133
208960
|
:param region_type: The region type the callback draws in; usually WINDOW. (`bpy.types.Region.type`)
|
|
209134
208961
|
:type region_type: str | None
|
|
209135
208962
|
:param draw_type: Usually POST_PIXEL for 2D drawing and POST_VIEW for 3D drawing. In some cases PRE_VIEW can be used. BACKDROP can be used for backdrops in the node editor.
|
|
@@ -209188,8 +209015,8 @@ class SpacePreferences(Space, bpy_struct):
|
|
|
209188
209015
|
@classmethod
|
|
209189
209016
|
def draw_handler_add(
|
|
209190
209017
|
cls,
|
|
209191
|
-
callback:
|
|
209192
|
-
args
|
|
209018
|
+
callback: collections.abc.Callable | None,
|
|
209019
|
+
args,
|
|
209193
209020
|
region_type: str | None,
|
|
209194
209021
|
draw_type: str | None,
|
|
209195
209022
|
) -> typing.Any:
|
|
@@ -209198,10 +209025,9 @@ class SpacePreferences(Space, bpy_struct):
|
|
|
209198
209025
|
Note: All arguments are positional only for now.
|
|
209199
209026
|
|
|
209200
209027
|
:param callback: A function that will be called when the region is drawn.
|
|
209201
|
-
It gets the specified arguments as input.
|
|
209202
|
-
:type callback:
|
|
209028
|
+
It gets the specified arguments as input, it's return value is ignored.
|
|
209029
|
+
:type callback: collections.abc.Callable | None
|
|
209203
209030
|
:param args: Arguments that will be passed to the callback.
|
|
209204
|
-
:type args: tuple | None
|
|
209205
209031
|
:param region_type: The region type the callback draws in; usually WINDOW. (`bpy.types.Region.type`)
|
|
209206
209032
|
:type region_type: str | None
|
|
209207
209033
|
:param draw_type: Usually POST_PIXEL for 2D drawing and POST_VIEW for 3D drawing. In some cases PRE_VIEW can be used. BACKDROP can be used for backdrops in the node editor.
|
|
@@ -209303,8 +209129,8 @@ class SpaceProperties(Space, bpy_struct):
|
|
|
209303
209129
|
@classmethod
|
|
209304
209130
|
def draw_handler_add(
|
|
209305
209131
|
cls,
|
|
209306
|
-
callback:
|
|
209307
|
-
args
|
|
209132
|
+
callback: collections.abc.Callable | None,
|
|
209133
|
+
args,
|
|
209308
209134
|
region_type: str | None,
|
|
209309
209135
|
draw_type: str | None,
|
|
209310
209136
|
) -> typing.Any:
|
|
@@ -209313,10 +209139,9 @@ class SpaceProperties(Space, bpy_struct):
|
|
|
209313
209139
|
Note: All arguments are positional only for now.
|
|
209314
209140
|
|
|
209315
209141
|
:param callback: A function that will be called when the region is drawn.
|
|
209316
|
-
It gets the specified arguments as input.
|
|
209317
|
-
:type callback:
|
|
209142
|
+
It gets the specified arguments as input, it's return value is ignored.
|
|
209143
|
+
:type callback: collections.abc.Callable | None
|
|
209318
209144
|
:param args: Arguments that will be passed to the callback.
|
|
209319
|
-
:type args: tuple | None
|
|
209320
209145
|
:param region_type: The region type the callback draws in; usually WINDOW. (`bpy.types.Region.type`)
|
|
209321
209146
|
:type region_type: str | None
|
|
209322
209147
|
:param draw_type: Usually POST_PIXEL for 2D drawing and POST_VIEW for 3D drawing. In some cases PRE_VIEW can be used. BACKDROP can be used for backdrops in the node editor.
|
|
@@ -209559,8 +209384,8 @@ class SpaceSequenceEditor(Space, bpy_struct):
|
|
|
209559
209384
|
@classmethod
|
|
209560
209385
|
def draw_handler_add(
|
|
209561
209386
|
cls,
|
|
209562
|
-
callback:
|
|
209563
|
-
args
|
|
209387
|
+
callback: collections.abc.Callable | None,
|
|
209388
|
+
args,
|
|
209564
209389
|
region_type: str | None,
|
|
209565
209390
|
draw_type: str | None,
|
|
209566
209391
|
) -> typing.Any:
|
|
@@ -209569,10 +209394,9 @@ class SpaceSequenceEditor(Space, bpy_struct):
|
|
|
209569
209394
|
Note: All arguments are positional only for now.
|
|
209570
209395
|
|
|
209571
209396
|
:param callback: A function that will be called when the region is drawn.
|
|
209572
|
-
It gets the specified arguments as input.
|
|
209573
|
-
:type callback:
|
|
209397
|
+
It gets the specified arguments as input, it's return value is ignored.
|
|
209398
|
+
:type callback: collections.abc.Callable | None
|
|
209574
209399
|
:param args: Arguments that will be passed to the callback.
|
|
209575
|
-
:type args: tuple | None
|
|
209576
209400
|
:param region_type: The region type the callback draws in; usually WINDOW. (`bpy.types.Region.type`)
|
|
209577
209401
|
:type region_type: str | None
|
|
209578
209402
|
:param draw_type: Usually POST_PIXEL for 2D drawing and POST_VIEW for 3D drawing. In some cases PRE_VIEW can be used. BACKDROP can be used for backdrops in the node editor.
|
|
@@ -209703,8 +209527,8 @@ class SpaceSpreadsheet(Space, bpy_struct):
|
|
|
209703
209527
|
@classmethod
|
|
209704
209528
|
def draw_handler_add(
|
|
209705
209529
|
cls,
|
|
209706
|
-
callback:
|
|
209707
|
-
args
|
|
209530
|
+
callback: collections.abc.Callable | None,
|
|
209531
|
+
args,
|
|
209708
209532
|
region_type: str | None,
|
|
209709
209533
|
draw_type: str | None,
|
|
209710
209534
|
) -> typing.Any:
|
|
@@ -209713,10 +209537,9 @@ class SpaceSpreadsheet(Space, bpy_struct):
|
|
|
209713
209537
|
Note: All arguments are positional only for now.
|
|
209714
209538
|
|
|
209715
209539
|
:param callback: A function that will be called when the region is drawn.
|
|
209716
|
-
It gets the specified arguments as input.
|
|
209717
|
-
:type callback:
|
|
209540
|
+
It gets the specified arguments as input, it's return value is ignored.
|
|
209541
|
+
:type callback: collections.abc.Callable | None
|
|
209718
209542
|
:param args: Arguments that will be passed to the callback.
|
|
209719
|
-
:type args: tuple | None
|
|
209720
209543
|
:param region_type: The region type the callback draws in; usually WINDOW. (`bpy.types.Region.type`)
|
|
209721
209544
|
:type region_type: str | None
|
|
209722
209545
|
:param draw_type: Usually POST_PIXEL for 2D drawing and POST_VIEW for 3D drawing. In some cases PRE_VIEW can be used. BACKDROP can be used for backdrops in the node editor.
|
|
@@ -209903,8 +209726,8 @@ class SpaceTextEditor(Space, bpy_struct):
|
|
|
209903
209726
|
@classmethod
|
|
209904
209727
|
def draw_handler_add(
|
|
209905
209728
|
cls,
|
|
209906
|
-
callback:
|
|
209907
|
-
args
|
|
209729
|
+
callback: collections.abc.Callable | None,
|
|
209730
|
+
args,
|
|
209908
209731
|
region_type: str | None,
|
|
209909
209732
|
draw_type: str | None,
|
|
209910
209733
|
) -> typing.Any:
|
|
@@ -209913,10 +209736,9 @@ class SpaceTextEditor(Space, bpy_struct):
|
|
|
209913
209736
|
Note: All arguments are positional only for now.
|
|
209914
209737
|
|
|
209915
209738
|
:param callback: A function that will be called when the region is drawn.
|
|
209916
|
-
It gets the specified arguments as input.
|
|
209917
|
-
:type callback:
|
|
209739
|
+
It gets the specified arguments as input, it's return value is ignored.
|
|
209740
|
+
:type callback: collections.abc.Callable | None
|
|
209918
209741
|
:param args: Arguments that will be passed to the callback.
|
|
209919
|
-
:type args: tuple | None
|
|
209920
209742
|
:param region_type: The region type the callback draws in; usually WINDOW. (`bpy.types.Region.type`)
|
|
209921
209743
|
:type region_type: str | None
|
|
209922
209744
|
:param draw_type: Usually POST_PIXEL for 2D drawing and POST_VIEW for 3D drawing. In some cases PRE_VIEW can be used. BACKDROP can be used for backdrops in the node editor.
|
|
@@ -210608,8 +210430,8 @@ class SpaceView3D(Space, bpy_struct):
|
|
|
210608
210430
|
@classmethod
|
|
210609
210431
|
def draw_handler_add(
|
|
210610
210432
|
cls,
|
|
210611
|
-
callback:
|
|
210612
|
-
args
|
|
210433
|
+
callback: collections.abc.Callable | None,
|
|
210434
|
+
args,
|
|
210613
210435
|
region_type: str | None,
|
|
210614
210436
|
draw_type: str | None,
|
|
210615
210437
|
) -> typing.Any:
|
|
@@ -210618,10 +210440,9 @@ class SpaceView3D(Space, bpy_struct):
|
|
|
210618
210440
|
Note: All arguments are positional only for now.
|
|
210619
210441
|
|
|
210620
210442
|
:param callback: A function that will be called when the region is drawn.
|
|
210621
|
-
It gets the specified arguments as input.
|
|
210622
|
-
:type callback:
|
|
210443
|
+
It gets the specified arguments as input, it's return value is ignored.
|
|
210444
|
+
:type callback: collections.abc.Callable | None
|
|
210623
210445
|
:param args: Arguments that will be passed to the callback.
|
|
210624
|
-
:type args: tuple | None
|
|
210625
210446
|
:param region_type: The region type the callback draws in; usually WINDOW. (`bpy.types.Region.type`)
|
|
210626
210447
|
:type region_type: str | None
|
|
210627
210448
|
:param draw_type: Usually POST_PIXEL for 2D drawing and POST_VIEW for 3D drawing. In some cases PRE_VIEW can be used. BACKDROP can be used for backdrops in the node editor.
|
|
@@ -210939,7 +210760,7 @@ class Spline(bpy_struct):
|
|
|
210939
210760
|
:type: bool
|
|
210940
210761
|
"""
|
|
210941
210762
|
|
|
210942
|
-
def calc_length(self, resolution: int | None = 0) -> float:
|
|
210763
|
+
def calc_length(self, *, resolution: int | None = 0) -> float:
|
|
210943
210764
|
"""Calculate spline length
|
|
210944
210765
|
|
|
210945
210766
|
:param resolution: Resolution, Spline resolution to be used, 0 defaults to the resolution_u
|
|
@@ -211166,48 +210987,18 @@ class SplinePoint(bpy_struct):
|
|
|
211166
210987
|
class SpotLight(Light, ID, bpy_struct):
|
|
211167
210988
|
"""Directional cone Light"""
|
|
211168
210989
|
|
|
211169
|
-
contact_shadow_bias: float
|
|
211170
|
-
""" Bias to avoid self shadowing
|
|
211171
|
-
|
|
211172
|
-
:type: float
|
|
211173
|
-
"""
|
|
211174
|
-
|
|
211175
|
-
contact_shadow_distance: float
|
|
211176
|
-
""" World space distance in which to search for screen space occluder
|
|
211177
|
-
|
|
211178
|
-
:type: float
|
|
211179
|
-
"""
|
|
211180
|
-
|
|
211181
|
-
contact_shadow_thickness: float
|
|
211182
|
-
""" Pixel thickness used to detect occlusion
|
|
211183
|
-
|
|
211184
|
-
:type: float
|
|
211185
|
-
"""
|
|
211186
|
-
|
|
211187
210990
|
energy: float
|
|
211188
210991
|
""" The energy this light would emit over its entire area if it wasn't limited by the spot angle
|
|
211189
210992
|
|
|
211190
210993
|
:type: float
|
|
211191
210994
|
"""
|
|
211192
210995
|
|
|
211193
|
-
shadow_buffer_bias: float
|
|
211194
|
-
""" Bias for reducing self shadowing
|
|
211195
|
-
|
|
211196
|
-
:type: float
|
|
211197
|
-
"""
|
|
211198
|
-
|
|
211199
210996
|
shadow_buffer_clip_start: float
|
|
211200
210997
|
""" Shadow map clip start, below which objects will not generate shadows
|
|
211201
210998
|
|
|
211202
210999
|
:type: float
|
|
211203
211000
|
"""
|
|
211204
211001
|
|
|
211205
|
-
shadow_color: mathutils.Color
|
|
211206
|
-
""" Color of shadows cast by the light
|
|
211207
|
-
|
|
211208
|
-
:type: mathutils.Color
|
|
211209
|
-
"""
|
|
211210
|
-
|
|
211211
211002
|
shadow_filter_radius: float
|
|
211212
211003
|
""" Blur shadow aliasing using Percentage Closer Filtering
|
|
211213
211004
|
|
|
@@ -211256,12 +211047,6 @@ class SpotLight(Light, ID, bpy_struct):
|
|
|
211256
211047
|
:type: bool
|
|
211257
211048
|
"""
|
|
211258
211049
|
|
|
211259
|
-
use_contact_shadow: bool
|
|
211260
|
-
""" Use screen space ray-tracing to have correct shadowing near occluder, or for small features that does not appear in shadow maps
|
|
211261
|
-
|
|
211262
|
-
:type: bool
|
|
211263
|
-
"""
|
|
211264
|
-
|
|
211265
211050
|
use_shadow_jitter: bool
|
|
211266
211051
|
""" Enable jittered soft shadows to increase shadow precision (disabled in viewport unless enabled in the render settings). Has a high performance impact.
|
|
211267
211052
|
|
|
@@ -212164,36 +211949,12 @@ class SunLight(Light, ID, bpy_struct):
|
|
|
212164
211949
|
:type: float
|
|
212165
211950
|
"""
|
|
212166
211951
|
|
|
212167
|
-
contact_shadow_bias: float
|
|
212168
|
-
""" Bias to avoid self shadowing
|
|
212169
|
-
|
|
212170
|
-
:type: float
|
|
212171
|
-
"""
|
|
212172
|
-
|
|
212173
|
-
contact_shadow_distance: float
|
|
212174
|
-
""" World space distance in which to search for screen space occluder
|
|
212175
|
-
|
|
212176
|
-
:type: float
|
|
212177
|
-
"""
|
|
212178
|
-
|
|
212179
|
-
contact_shadow_thickness: float
|
|
212180
|
-
""" Pixel thickness used to detect occlusion
|
|
212181
|
-
|
|
212182
|
-
:type: float
|
|
212183
|
-
"""
|
|
212184
|
-
|
|
212185
211952
|
energy: float
|
|
212186
211953
|
""" Sunlight strength in watts per meter squared (W/m²)
|
|
212187
211954
|
|
|
212188
211955
|
:type: float
|
|
212189
211956
|
"""
|
|
212190
211957
|
|
|
212191
|
-
shadow_buffer_bias: float
|
|
212192
|
-
""" Bias for reducing self shadowing
|
|
212193
|
-
|
|
212194
|
-
:type: float
|
|
212195
|
-
"""
|
|
212196
|
-
|
|
212197
211958
|
shadow_buffer_clip_start: float
|
|
212198
211959
|
""" Shadow map clip start, below which objects will not generate shadows
|
|
212199
211960
|
|
|
@@ -212224,12 +211985,6 @@ class SunLight(Light, ID, bpy_struct):
|
|
|
212224
211985
|
:type: float
|
|
212225
211986
|
"""
|
|
212226
211987
|
|
|
212227
|
-
shadow_color: mathutils.Color
|
|
212228
|
-
""" Color of shadows cast by the light
|
|
212229
|
-
|
|
212230
|
-
:type: mathutils.Color
|
|
212231
|
-
"""
|
|
212232
|
-
|
|
212233
211988
|
shadow_filter_radius: float
|
|
212234
211989
|
""" Blur shadow aliasing using Percentage Closer Filtering
|
|
212235
211990
|
|
|
@@ -212254,12 +212009,6 @@ class SunLight(Light, ID, bpy_struct):
|
|
|
212254
212009
|
:type: float
|
|
212255
212010
|
"""
|
|
212256
212011
|
|
|
212257
|
-
use_contact_shadow: bool
|
|
212258
|
-
""" Use screen space ray-tracing to have correct shadowing near occluder, or for small features that does not appear in shadow maps
|
|
212259
|
-
|
|
212260
|
-
:type: bool
|
|
212261
|
-
"""
|
|
212262
|
-
|
|
212263
212012
|
use_shadow_jitter: bool
|
|
212264
212013
|
""" Enable jittered soft shadows to increase shadow precision (disabled in viewport unless enabled in the render settings). Has a high performance impact.
|
|
212265
212014
|
|
|
@@ -212773,7 +212522,11 @@ class Text(ID, bpy_struct):
|
|
|
212773
212522
|
"""
|
|
212774
212523
|
|
|
212775
212524
|
def cursor_set(
|
|
212776
|
-
self,
|
|
212525
|
+
self,
|
|
212526
|
+
line: int | None,
|
|
212527
|
+
*,
|
|
212528
|
+
character: int | None = 0,
|
|
212529
|
+
select: bool | None = False,
|
|
212777
212530
|
):
|
|
212778
212531
|
"""Set cursor by line and (optionally) character index
|
|
212779
212532
|
|
|
@@ -223150,6 +222903,7 @@ class UIList(bpy_struct):
|
|
|
223150
222903
|
icon: int | None,
|
|
223151
222904
|
active_data: typing.Any,
|
|
223152
222905
|
active_property: str | None,
|
|
222906
|
+
*,
|
|
223153
222907
|
index: int | None = 0,
|
|
223154
222908
|
flt_flag: int | None = 0,
|
|
223155
222909
|
):
|
|
@@ -224931,7 +224685,7 @@ class VectorFont(ID, bpy_struct):
|
|
|
224931
224685
|
def pack(self):
|
|
224932
224686
|
"""Pack the font into the current blend file"""
|
|
224933
224687
|
|
|
224934
|
-
def unpack(self, method: bpy.typing.UnpackMethodItems | None = "USE_LOCAL"):
|
|
224688
|
+
def unpack(self, *, method: bpy.typing.UnpackMethodItems | None = "USE_LOCAL"):
|
|
224935
224689
|
"""Unpack the font to the samples filename
|
|
224936
224690
|
|
|
224937
224691
|
:param method: method, How to unpack
|
|
@@ -225570,7 +225324,7 @@ class View2D(bpy_struct):
|
|
|
225570
225324
|
"""
|
|
225571
225325
|
|
|
225572
225326
|
def view_to_region(
|
|
225573
|
-
self, x: float | None, y: float | None, clip: bool | None = True
|
|
225327
|
+
self, x: float | None, y: float | None, *, clip: bool | None = True
|
|
225574
225328
|
) -> bpy_prop_array[int]:
|
|
225575
225329
|
"""Transform 2D view coordinates to region
|
|
225576
225330
|
|
|
@@ -228290,6 +228044,7 @@ class Window(bpy_struct):
|
|
|
228290
228044
|
self,
|
|
228291
228045
|
type: bpy.typing.EventTypeItems | None,
|
|
228292
228046
|
value: bpy.typing.EventValueItems | None,
|
|
228047
|
+
*,
|
|
228293
228048
|
unicode: str | None = "",
|
|
228294
228049
|
x: int | None = 0,
|
|
228295
228050
|
y: int | None = 0,
|
|
@@ -228492,7 +228247,7 @@ class WindowManager(ID, bpy_struct):
|
|
|
228492
228247
|
"""
|
|
228493
228248
|
|
|
228494
228249
|
def event_timer_add(
|
|
228495
|
-
self, time_step: float | None, window: Window | None = None
|
|
228250
|
+
self, time_step: float | None, *, window: Window | None = None
|
|
228496
228251
|
) -> Timer:
|
|
228497
228252
|
"""Add a timer to the given window, to generate periodic 'TIMER' events
|
|
228498
228253
|
|
|
@@ -228564,6 +228319,7 @@ class WindowManager(ID, bpy_struct):
|
|
|
228564
228319
|
def invoke_props_dialog(
|
|
228565
228320
|
cls,
|
|
228566
228321
|
operator: Operator | None,
|
|
228322
|
+
*,
|
|
228567
228323
|
width: int | None = 300,
|
|
228568
228324
|
title: str = "",
|
|
228569
228325
|
confirm_text: str = "",
|
|
@@ -228601,7 +228357,7 @@ class WindowManager(ID, bpy_struct):
|
|
|
228601
228357
|
|
|
228602
228358
|
@classmethod
|
|
228603
228359
|
def invoke_popup(
|
|
228604
|
-
cls, operator: Operator | None, width: int | None = 300
|
|
228360
|
+
cls, operator: Operator | None, *, width: int | None = 300
|
|
228605
228361
|
) -> set[bpy.typing.OperatorReturnItems]:
|
|
228606
228362
|
"""Operator popup invoke (only shows operator's properties, without executing it)
|
|
228607
228363
|
|
|
@@ -228618,6 +228374,7 @@ class WindowManager(ID, bpy_struct):
|
|
|
228618
228374
|
cls,
|
|
228619
228375
|
operator: Operator | None,
|
|
228620
228376
|
event: Event | None,
|
|
228377
|
+
*,
|
|
228621
228378
|
title: str = "",
|
|
228622
228379
|
message: str = "",
|
|
228623
228380
|
confirm_text: str = "",
|
|
@@ -228650,7 +228407,7 @@ class WindowManager(ID, bpy_struct):
|
|
|
228650
228407
|
|
|
228651
228408
|
@classmethod
|
|
228652
228409
|
def popmenu_begin__internal(
|
|
228653
|
-
cls, title: str, icon: bpy.typing.IconItems | None = "NONE"
|
|
228410
|
+
cls, title: str, *, icon: bpy.typing.IconItems | None = "NONE"
|
|
228654
228411
|
) -> UIPopupMenu:
|
|
228655
228412
|
"""popmenu_begin__internal
|
|
228656
228413
|
|
|
@@ -228672,7 +228429,7 @@ class WindowManager(ID, bpy_struct):
|
|
|
228672
228429
|
|
|
228673
228430
|
@classmethod
|
|
228674
228431
|
def popover_begin__internal(
|
|
228675
|
-
cls, ui_units_x: int | None = 0, from_active_button: bool | None = False
|
|
228432
|
+
cls, *, ui_units_x: int | None = 0, from_active_button: bool | None = False
|
|
228676
228433
|
) -> UIPopover:
|
|
228677
228434
|
"""popover_begin__internal
|
|
228678
228435
|
|
|
@@ -228685,7 +228442,7 @@ class WindowManager(ID, bpy_struct):
|
|
|
228685
228442
|
"""
|
|
228686
228443
|
|
|
228687
228444
|
@classmethod
|
|
228688
|
-
def popover_end__internal(cls, menu: UIPopover, keymap: KeyMap | None = None):
|
|
228445
|
+
def popover_end__internal(cls, menu: UIPopover, *, keymap: KeyMap | None = None):
|
|
228689
228446
|
"""popover_end__internal
|
|
228690
228447
|
|
|
228691
228448
|
:param menu:
|
|
@@ -228696,7 +228453,11 @@ class WindowManager(ID, bpy_struct):
|
|
|
228696
228453
|
|
|
228697
228454
|
@classmethod
|
|
228698
228455
|
def piemenu_begin__internal(
|
|
228699
|
-
cls,
|
|
228456
|
+
cls,
|
|
228457
|
+
title: str,
|
|
228458
|
+
*,
|
|
228459
|
+
icon: bpy.typing.IconItems | None = "NONE",
|
|
228460
|
+
event: Event = None,
|
|
228700
228461
|
) -> UIPieMenu:
|
|
228701
228462
|
"""piemenu_begin__internal
|
|
228702
228463
|
|
|
@@ -228788,8 +228549,8 @@ class WindowManager(ID, bpy_struct):
|
|
|
228788
228549
|
@classmethod
|
|
228789
228550
|
def draw_cursor_add(
|
|
228790
228551
|
cls,
|
|
228791
|
-
callback:
|
|
228792
|
-
args
|
|
228552
|
+
callback: collections.abc.Callable | None,
|
|
228553
|
+
args,
|
|
228793
228554
|
space_type: str | None,
|
|
228794
228555
|
region_type: str | None,
|
|
228795
228556
|
) -> typing.Any:
|
|
@@ -228799,9 +228560,8 @@ class WindowManager(ID, bpy_struct):
|
|
|
228799
228560
|
|
|
228800
228561
|
:param callback: A function that will be called when the cursor is drawn.
|
|
228801
228562
|
It gets the specified arguments as input with the mouse position (tuple) as last argument.
|
|
228802
|
-
:type callback:
|
|
228563
|
+
:type callback: collections.abc.Callable | None
|
|
228803
228564
|
:param args: Arguments that will be passed to the callback.
|
|
228804
|
-
:type args: tuple | None
|
|
228805
228565
|
:param space_type: The space type the callback draws in; for example VIEW_3D. (`bpy.types.Space.type`)
|
|
228806
228566
|
:type space_type: str | None
|
|
228807
228567
|
:param region_type: The region type the callback draws in; usually WINDOW. (`bpy.types.Region.type`)
|
|
@@ -229218,6 +228978,7 @@ class WorkSpaceTool(bpy_struct):
|
|
|
229218
228978
|
def setup(
|
|
229219
228979
|
self,
|
|
229220
228980
|
idname: str,
|
|
228981
|
+
*,
|
|
229221
228982
|
cursor: bpy.typing.WindowCursorItems | None = "DEFAULT",
|
|
229222
228983
|
keymap: str = "",
|
|
229223
228984
|
gizmo_group: str = "",
|