fake-bpy-module 20240928__py3-none-any.whl → 20240930__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.

Files changed (85) hide show
  1. bl_ui/generic_ui_list/__init__.pyi +2 -2
  2. bmesh/types/__init__.pyi +2 -2
  3. bpy/__init__.pyi +1 -1
  4. bpy/ops/action/__init__.pyi +76 -76
  5. bpy/ops/anim/__init__.pyi +124 -124
  6. bpy/ops/armature/__init__.pyi +96 -96
  7. bpy/ops/asset/__init__.pyi +32 -32
  8. bpy/ops/boid/__init__.pyi +16 -16
  9. bpy/ops/brush/__init__.pyi +26 -26
  10. bpy/ops/buttons/__init__.pyi +12 -12
  11. bpy/ops/cachefile/__init__.pyi +10 -10
  12. bpy/ops/camera/__init__.pyi +4 -4
  13. bpy/ops/clip/__init__.pyi +184 -184
  14. bpy/ops/cloth/__init__.pyi +2 -2
  15. bpy/ops/collection/__init__.pyi +18 -18
  16. bpy/ops/console/__init__.pyi +42 -42
  17. bpy/ops/constraint/__init__.pyi +36 -36
  18. bpy/ops/curve/__init__.pyi +102 -102
  19. bpy/ops/curves/__init__.pyi +54 -54
  20. bpy/ops/cycles/__init__.pyi +6 -6
  21. bpy/ops/dpaint/__init__.pyi +10 -10
  22. bpy/ops/ed/__init__.pyi +24 -24
  23. bpy/ops/export_anim/__init__.pyi +2 -2
  24. bpy/ops/export_scene/__init__.pyi +4 -4
  25. bpy/ops/extensions/__init__.pyi +68 -68
  26. bpy/ops/file/__init__.pyi +80 -80
  27. bpy/ops/fluid/__init__.pyi +28 -28
  28. bpy/ops/font/__init__.pyi +46 -46
  29. bpy/ops/geometry/__init__.pyi +20 -20
  30. bpy/ops/gizmogroup/__init__.pyi +4 -4
  31. bpy/ops/gpencil/__init__.pyi +284 -284
  32. bpy/ops/graph/__init__.pyi +130 -130
  33. bpy/ops/grease_pencil/__init__.pyi +202 -202
  34. bpy/ops/image/__init__.pyi +98 -98
  35. bpy/ops/import_anim/__init__.pyi +2 -2
  36. bpy/ops/import_curve/__init__.pyi +2 -2
  37. bpy/ops/import_scene/__init__.pyi +4 -4
  38. bpy/ops/info/__init__.pyi +14 -14
  39. bpy/ops/lattice/__init__.pyi +16 -16
  40. bpy/ops/marker/__init__.pyi +22 -22
  41. bpy/ops/mask/__init__.pyi +78 -78
  42. bpy/ops/material/__init__.pyi +6 -6
  43. bpy/ops/mball/__init__.pyi +16 -16
  44. bpy/ops/mesh/__init__.pyi +326 -326
  45. bpy/ops/nla/__init__.pyi +78 -78
  46. bpy/ops/node/__init__.pyi +230 -230
  47. bpy/ops/object/__init__.pyi +476 -476
  48. bpy/ops/outliner/__init__.pyi +142 -142
  49. bpy/ops/paint/__init__.pyi +108 -108
  50. bpy/ops/paintcurve/__init__.pyi +16 -16
  51. bpy/ops/palette/__init__.pyi +14 -14
  52. bpy/ops/particle/__init__.pyi +72 -72
  53. bpy/ops/pose/__init__.pyi +102 -102
  54. bpy/ops/poselib/__init__.pyi +18 -18
  55. bpy/ops/preferences/__init__.pyi +70 -70
  56. bpy/ops/ptcache/__init__.pyi +14 -14
  57. bpy/ops/render/__init__.pyi +26 -26
  58. bpy/ops/rigidbody/__init__.pyi +26 -26
  59. bpy/ops/scene/__init__.pyi +74 -74
  60. bpy/ops/screen/__init__.pyi +78 -78
  61. bpy/ops/script/__init__.pyi +6 -6
  62. bpy/ops/sculpt/__init__.pyi +74 -74
  63. bpy/ops/sculpt_curves/__init__.pyi +8 -8
  64. bpy/ops/sequencer/__init__.pyi +178 -178
  65. bpy/ops/sound/__init__.pyi +14 -14
  66. bpy/ops/spreadsheet/__init__.pyi +8 -8
  67. bpy/ops/surface/__init__.pyi +12 -12
  68. bpy/ops/text/__init__.pyi +86 -86
  69. bpy/ops/text_editor/__init__.pyi +2 -2
  70. bpy/ops/texture/__init__.pyi +8 -8
  71. bpy/ops/transform/__init__.pyi +54 -54
  72. bpy/ops/ui/__init__.pyi +68 -68
  73. bpy/ops/uilist/__init__.pyi +6 -6
  74. bpy/ops/uv/__init__.pyi +98 -98
  75. bpy/ops/view2d/__init__.pyi +28 -28
  76. bpy/ops/view3d/__init__.pyi +134 -134
  77. bpy/ops/wm/__init__.pyi +232 -232
  78. bpy/ops/workspace/__init__.pyi +14 -14
  79. bpy/ops/world/__init__.pyi +4 -4
  80. bpy/types/__init__.pyi +333 -298
  81. bpy_extras/object_utils/__init__.pyi +4 -4
  82. {fake_bpy_module-20240928.dist-info → fake_bpy_module-20240930.dist-info}/METADATA +1 -1
  83. {fake_bpy_module-20240928.dist-info → fake_bpy_module-20240930.dist-info}/RECORD +85 -85
  84. {fake_bpy_module-20240928.dist-info → fake_bpy_module-20240930.dist-info}/WHEEL +0 -0
  85. {fake_bpy_module-20240928.dist-info → fake_bpy_module-20240930.dist-info}/top_level.txt +0 -0
bpy/types/__init__.pyi CHANGED
@@ -101720,7 +101720,7 @@ import bl_ui.space_view3d_toolbar
101720
101720
  import bpy.typing
101721
101721
  import mathutils
101722
101722
 
101723
- class bpy_struct(typing.Generic[_GenericType1]):
101723
+ class bpy_struct[_GenericType1]:
101724
101724
  """built-in base class for all classes in bpy.types."""
101725
101725
 
101726
101726
  id_data: typing.Any
@@ -101990,15 +101990,15 @@ class bpy_struct(typing.Generic[_GenericType1]):
101990
101990
  :type key: int | str
101991
101991
  """
101992
101992
 
101993
- class bpy_prop_collection[_GenericType1](typing.Generic[_GenericType1]):
101993
+ class bpy_prop_collection[_GenericType1]:
101994
101994
  """built-in class used for all collections."""
101995
101995
 
101996
- def find(self, key: str | None) -> int:
101996
+ def find(self, key: str) -> int:
101997
101997
  """Returns the index of a key in a collection or -1 when not found
101998
101998
  (matches Python's string find function of the same name).
101999
101999
 
102000
102000
  :param key: The identifier for the collection member.
102001
- :type key: str | None
102001
+ :type key: str
102002
102002
  :return: index of the key.
102003
102003
  :rtype: int
102004
102004
  """
@@ -102038,13 +102038,13 @@ class bpy_prop_collection[_GenericType1](typing.Generic[_GenericType1]):
102038
102038
  """
102039
102039
 
102040
102040
  def get[_GenericType2](
102041
- self, key: str | None, default: _GenericType2 = None
102041
+ self, key: str, default: _GenericType2 = None
102042
102042
  ) -> _GenericType1 | _GenericType2:
102043
102043
  """Returns the value of the item assigned to key or default when not found
102044
102044
  (matches Python's dictionary function of the same name).
102045
102045
 
102046
102046
  :param key: The identifier for the collection member.
102047
- :type key: str | None
102047
+ :type key: str
102048
102048
  :param default: Optional argument for the value to return if
102049
102049
  key is not found.
102050
102050
  :type default: _GenericType2
@@ -102068,12 +102068,12 @@ class bpy_prop_collection[_GenericType1](typing.Generic[_GenericType1]):
102068
102068
  :rtype: list[str]
102069
102069
  """
102070
102070
 
102071
- def values(self) -> list[_GenericType1]:
102071
+ def values(self) -> list[_GenericType1 | None]:
102072
102072
  """Return the values of collection
102073
102073
  (matching Python's dict.values() functionality).
102074
102074
 
102075
102075
  :return: the members of this collection.
102076
- :rtype: list[_GenericType1]
102076
+ :rtype: list[_GenericType1 | None]
102077
102077
  """
102078
102078
 
102079
102079
  @typing.overload
@@ -102096,12 +102096,32 @@ class bpy_prop_collection[_GenericType1](typing.Generic[_GenericType1]):
102096
102096
  :rtype: tuple[_GenericType1, ...]
102097
102097
  """
102098
102098
 
102099
- def __setitem__(self, key: int, value: _GenericType1):
102099
+ def __setitem__(self, key: int | str, value: GenericType1 | None):
102100
+ """
102101
+
102102
+ :param key:
102103
+ :type key: int | str
102104
+ :param value:
102105
+ :type value: GenericType1 | None
102106
+ """
102107
+
102108
+ @typing.overload
102109
+ def __setitem__(self, key: int, value: _GenericType1 | None):
102100
102110
  """
102101
102111
 
102102
102112
  :param key:
102103
102113
  :type key: int
102104
102114
  :param value:
102115
+ :type value: _GenericType1 | None
102116
+ """
102117
+
102118
+ @typing.overload
102119
+ def __setitem__(self, key: str, value: _GenericType1):
102120
+ """
102121
+
102122
+ :param key:
102123
+ :type key: str
102124
+ :param value:
102105
102125
  :type value: _GenericType1
102106
102126
  """
102107
102127
 
@@ -102126,16 +102146,16 @@ class bpy_prop_collection[_GenericType1](typing.Generic[_GenericType1]):
102126
102146
  :rtype: int
102127
102147
  """
102128
102148
 
102129
- def __contains__(self, key: str | tuple[str, ...]) -> bool:
102149
+ def __contains__(self, key: str | tuple[str, ...] | _GenericType1) -> bool:
102130
102150
  """
102131
102151
 
102132
102152
  :param key:
102133
- :type key: str | tuple[str, ...]
102153
+ :type key: str | tuple[str, ...] | _GenericType1
102134
102154
  :return:
102135
102155
  :rtype: bool
102136
102156
  """
102137
102157
 
102138
- class bpy_prop_array[_GenericType1](typing.Generic[_GenericType1]):
102158
+ class bpy_prop_array[_GenericType1]:
102139
102159
  def __get__(self, instance, owner) -> bpy_prop_array[_GenericType1]:
102140
102160
  """
102141
102161
 
@@ -105753,6 +105773,82 @@ class BoneCollectionMemberships(bpy_prop_collection[BoneCollection], bpy_struct)
105753
105773
  :rtype: typing.Any
105754
105774
  """
105755
105775
 
105776
+ class BoneCollections(bpy_prop_collection[BoneCollection], bpy_struct):
105777
+ """The Bone Collections of this Armature"""
105778
+
105779
+ active: BoneCollection | None
105780
+ """ Armature's active bone collection
105781
+
105782
+ :type: BoneCollection | None
105783
+ """
105784
+
105785
+ active_index: int | None
105786
+ """ The index of the Armature's active bone collection; -1 when there is no active collection. Note that this is indexing the underlying array of bone collections, which may not be in the order you expect. Root collections are listed first, and siblings are always sequential. Apart from that, bone collections can be in any order, and thus incrementing or decrementing this index can make the active bone collection jump around in unexpected ways. For a more predictable interface, use active or active_name.
105787
+
105788
+ :type: int | None
105789
+ """
105790
+
105791
+ active_name: str | None
105792
+ """ The name of the Armature's active bone collection; empty when there is no active collection
105793
+
105794
+ :type: str | None
105795
+ """
105796
+
105797
+ is_solo_active: bool
105798
+ """ Read-only flag that indicates there is at least one bone collection marked as 'solo'
105799
+
105800
+ :type: bool
105801
+ """
105802
+
105803
+ def new(self, name: str, parent: BoneCollection | None = None) -> BoneCollection:
105804
+ """Add a new empty bone collection to the armature
105805
+
105806
+ :param name: Name, Name of the new collection. Blender will ensure it is unique within the collections of the Armature.
105807
+ :type name: str
105808
+ :param parent: Parent Collection, If not None, the new bone collection becomes a child of this collection
105809
+ :type parent: BoneCollection | None
105810
+ :return: Newly created bone collection
105811
+ :rtype: BoneCollection
105812
+ """
105813
+
105814
+ def remove(self, bone_collection: BoneCollection | None):
105815
+ """Remove the bone collection from the armature. If this bone collection has any children, they will be reassigned to their grandparent; in other words, the children will take the place of the removed bone collection.
105816
+
105817
+ :param bone_collection: Bone Collection, The bone collection to remove
105818
+ :type bone_collection: BoneCollection | None
105819
+ """
105820
+
105821
+ def move(self, from_index: int | None, to_index: int | None):
105822
+ """Move a bone collection to a different position in the collection list. This can only be used to reorder siblings, and not to change parent-child relationships.
105823
+
105824
+ :param from_index: From Index, Index to move
105825
+ :type from_index: int | None
105826
+ :param to_index: To Index, Target index
105827
+ :type to_index: int | None
105828
+ """
105829
+
105830
+ @classmethod
105831
+ def bl_rna_get_subclass(cls, id: str | None, default=None) -> Struct:
105832
+ """
105833
+
105834
+ :param id: The RNA type identifier.
105835
+ :type id: str | None
105836
+ :param default:
105837
+ :return: The RNA type or default when not found.
105838
+ :rtype: Struct
105839
+ """
105840
+
105841
+ @classmethod
105842
+ def bl_rna_get_subclass_py(cls, id: str | None, default=None) -> typing.Any:
105843
+ """
105844
+
105845
+ :param id: The RNA type identifier.
105846
+ :type id: str | None
105847
+ :param default:
105848
+ :return: The class or default when not found.
105849
+ :rtype: typing.Any
105850
+ """
105851
+
105756
105852
  class CacheFileLayers(bpy_prop_collection[CacheFileLayer], bpy_struct):
105757
105853
  """Collection of cache layers"""
105758
105854
 
@@ -106958,11 +107054,11 @@ class IDMaterials(bpy_prop_collection[Material], bpy_struct):
106958
107054
  :type material: Material | None
106959
107055
  """
106960
107056
 
106961
- def pop(self, index: int | None = -1) -> Material:
107057
+ def pop(self, *, index: int = -1) -> Material:
106962
107058
  """Remove a material from the data-block
106963
107059
 
106964
107060
  :param index: Index of material to remove
106965
- :type index: int | None
107061
+ :type index: int
106966
107062
  :return: Material to remove
106967
107063
  :rtype: Material
106968
107064
  """
@@ -114146,11 +114242,11 @@ class AssetShelf(bpy_struct):
114146
114242
  """
114147
114243
 
114148
114244
  @classmethod
114149
- def poll(cls, context: Context) -> bool:
114245
+ def poll(cls, context: Context | None) -> bool:
114150
114246
  """If this method returns a non-null output, the asset shelf will be visible
114151
114247
 
114152
114248
  :param context:
114153
- :type context: Context
114249
+ :type context: Context | None
114154
114250
  :return:
114155
114251
  :rtype: bool
114156
114252
  """
@@ -114176,14 +114272,14 @@ class AssetShelf(bpy_struct):
114176
114272
  @classmethod
114177
114273
  def draw_context_menu(
114178
114274
  cls,
114179
- context: Context,
114275
+ context: Context | None,
114180
114276
  asset: AssetRepresentation | None,
114181
114277
  layout: UILayout | None,
114182
114278
  ):
114183
114279
  """Draw UI elements into the context menu UI layout displayed on right click
114184
114280
 
114185
114281
  :param context:
114186
- :type context: Context
114282
+ :type context: Context | None
114187
114283
  :param asset:
114188
114284
  :type asset: AssetRepresentation | None
114189
114285
  :param layout:
@@ -116380,82 +116476,6 @@ class BoneCollection(bpy_struct):
116380
116476
  :rtype: typing.Any
116381
116477
  """
116382
116478
 
116383
- class BoneCollections(bpy_struct):
116384
- """The Bone Collections of this Armature"""
116385
-
116386
- active: BoneCollection | None
116387
- """ Armature's active bone collection
116388
-
116389
- :type: BoneCollection | None
116390
- """
116391
-
116392
- active_index: int | None
116393
- """ The index of the Armature's active bone collection; -1 when there is no active collection. Note that this is indexing the underlying array of bone collections, which may not be in the order you expect. Root collections are listed first, and siblings are always sequential. Apart from that, bone collections can be in any order, and thus incrementing or decrementing this index can make the active bone collection jump around in unexpected ways. For a more predictable interface, use active or active_name.
116394
-
116395
- :type: int | None
116396
- """
116397
-
116398
- active_name: str | None
116399
- """ The name of the Armature's active bone collection; empty when there is no active collection
116400
-
116401
- :type: str | None
116402
- """
116403
-
116404
- is_solo_active: bool
116405
- """ Read-only flag that indicates there is at least one bone collection marked as 'solo'
116406
-
116407
- :type: bool
116408
- """
116409
-
116410
- def new(self, name: str, parent: BoneCollection | None = None) -> BoneCollection:
116411
- """Add a new empty bone collection to the armature
116412
-
116413
- :param name: Name, Name of the new collection. Blender will ensure it is unique within the collections of the Armature.
116414
- :type name: str
116415
- :param parent: Parent Collection, If not None, the new bone collection becomes a child of this collection
116416
- :type parent: BoneCollection | None
116417
- :return: Newly created bone collection
116418
- :rtype: BoneCollection
116419
- """
116420
-
116421
- def remove(self, bone_collection: BoneCollection | None):
116422
- """Remove the bone collection from the armature. If this bone collection has any children, they will be reassigned to their grandparent; in other words, the children will take the place of the removed bone collection.
116423
-
116424
- :param bone_collection: Bone Collection, The bone collection to remove
116425
- :type bone_collection: BoneCollection | None
116426
- """
116427
-
116428
- def move(self, from_index: int | None, to_index: int | None):
116429
- """Move a bone collection to a different position in the collection list. This can only be used to reorder siblings, and not to change parent-child relationships.
116430
-
116431
- :param from_index: From Index, Index to move
116432
- :type from_index: int | None
116433
- :param to_index: To Index, Target index
116434
- :type to_index: int | None
116435
- """
116436
-
116437
- @classmethod
116438
- def bl_rna_get_subclass(cls, id: str | None, default=None) -> Struct:
116439
- """
116440
-
116441
- :param id: The RNA type identifier.
116442
- :type id: str | None
116443
- :param default:
116444
- :return: The RNA type or default when not found.
116445
- :rtype: Struct
116446
- """
116447
-
116448
- @classmethod
116449
- def bl_rna_get_subclass_py(cls, id: str | None, default=None) -> typing.Any:
116450
- """
116451
-
116452
- :param id: The RNA type identifier.
116453
- :type id: str | None
116454
- :param default:
116455
- :return: The class or default when not found.
116456
- :rtype: typing.Any
116457
- """
116458
-
116459
116479
  class BoneColor(bpy_struct):
116460
116480
  """Theme color or custom color of a bone"""
116461
116481
 
@@ -136969,11 +136989,11 @@ For Example: ".blend;.ble"
136969
136989
  """
136970
136990
 
136971
136991
  @classmethod
136972
- def poll_drop(cls, context: Context) -> bool:
136992
+ def poll_drop(cls, context: Context | None) -> bool:
136973
136993
  """If this method returns True, can be used to handle the drop of a drag-and-drop action
136974
136994
 
136975
136995
  :param context:
136976
- :type context: Context
136996
+ :type context: Context | None
136977
136997
  :return:
136978
136998
  :rtype: bool
136979
136999
  """
@@ -155414,29 +155434,29 @@ class Gizmo(bpy_struct):
155414
155434
  :type: bool
155415
155435
  """
155416
155436
 
155417
- def draw(self, context: Context):
155437
+ def draw(self, context: Context | None):
155418
155438
  """
155419
155439
 
155420
155440
  :param context:
155421
- :type context: Context
155441
+ :type context: Context | None
155422
155442
  """
155423
155443
 
155424
- def draw_select(self, context: Context, select_id: int | None = 0):
155444
+ def draw_select(self, context: Context | None, select_id: int | None = 0):
155425
155445
  """
155426
155446
 
155427
155447
  :param context:
155428
- :type context: Context
155448
+ :type context: Context | None
155429
155449
  :param select_id:
155430
155450
  :type select_id: int | None
155431
155451
  """
155432
155452
 
155433
155453
  def test_select(
155434
- self, context: Context, location: collections.abc.Iterable[int]
155454
+ self, context: Context | None, location: collections.abc.Iterable[int]
155435
155455
  ) -> int:
155436
155456
  """
155437
155457
 
155438
155458
  :param context:
155439
- :type context: Context
155459
+ :type context: Context | None
155440
155460
  :param location: Location, Region coordinates
155441
155461
  :type location: collections.abc.Iterable[int]
155442
155462
  :return: Use -1 to skip this gizmo
@@ -155445,14 +155465,14 @@ class Gizmo(bpy_struct):
155445
155465
 
155446
155466
  def modal(
155447
155467
  self,
155448
- context: Context,
155468
+ context: Context | None,
155449
155469
  event: Event,
155450
155470
  tweak: set[typing.Literal["PRECISE", "SNAP"]] | None,
155451
155471
  ) -> set[bpy.typing.OperatorReturnItems]:
155452
155472
  """
155453
155473
 
155454
155474
  :param context:
155455
- :type context: Context
155475
+ :type context: Context | None
155456
155476
  :param event:
155457
155477
  :type event: Event
155458
155478
  :param tweak: Tweak
@@ -155463,23 +155483,23 @@ class Gizmo(bpy_struct):
155463
155483
 
155464
155484
  def setup(self): ...
155465
155485
  def invoke(
155466
- self, context: Context, event: Event
155486
+ self, context: Context | None, event: Event
155467
155487
  ) -> set[bpy.typing.OperatorReturnItems]:
155468
155488
  """
155469
155489
 
155470
155490
  :param context:
155471
- :type context: Context
155491
+ :type context: Context | None
155472
155492
  :param event:
155473
155493
  :type event: Event
155474
155494
  :return: result
155475
155495
  :rtype: set[bpy.typing.OperatorReturnItems]
155476
155496
  """
155477
155497
 
155478
- def exit(self, context: Context, cancel: bool | None):
155498
+ def exit(self, context: Context | None, cancel: bool | None):
155479
155499
  """
155480
155500
 
155481
155501
  :param context:
155482
- :type context: Context
155502
+ :type context: Context | None
155483
155503
  :param cancel: Cancel, otherwise confirm
155484
155504
  :type cancel: bool | None
155485
155505
  """
@@ -155729,11 +155749,11 @@ class GizmoGroup(bpy_struct):
155729
155749
  """
155730
155750
 
155731
155751
  @classmethod
155732
- def poll(cls, context: Context) -> bool:
155752
+ def poll(cls, context: Context | None) -> bool:
155733
155753
  """Test if the gizmo group can be called or not
155734
155754
 
155735
155755
  :param context:
155736
- :type context: Context
155756
+ :type context: Context | None
155737
155757
  :return:
155738
155758
  :rtype: bool
155739
155759
  """
@@ -155748,32 +155768,32 @@ class GizmoGroup(bpy_struct):
155748
155768
  :rtype: KeyMap
155749
155769
  """
155750
155770
 
155751
- def setup(self, context: Context):
155771
+ def setup(self, context: Context | None):
155752
155772
  """Create gizmos function for the gizmo group
155753
155773
 
155754
155774
  :param context:
155755
- :type context: Context
155775
+ :type context: Context | None
155756
155776
  """
155757
155777
 
155758
- def refresh(self, context: Context):
155778
+ def refresh(self, context: Context | None):
155759
155779
  """Refresh data (called on common state changes such as selection)
155760
155780
 
155761
155781
  :param context:
155762
- :type context: Context
155782
+ :type context: Context | None
155763
155783
  """
155764
155784
 
155765
- def draw_prepare(self, context: Context):
155785
+ def draw_prepare(self, context: Context | None):
155766
155786
  """Run before each redraw
155767
155787
 
155768
155788
  :param context:
155769
- :type context: Context
155789
+ :type context: Context | None
155770
155790
  """
155771
155791
 
155772
- def invoke_prepare(self, context: Context, gizmo: Gizmo):
155792
+ def invoke_prepare(self, context: Context | None, gizmo: Gizmo):
155773
155793
  """Run before invoke
155774
155794
 
155775
155795
  :param context:
155776
- :type context: Context
155796
+ :type context: Context | None
155777
155797
  :param gizmo:
155778
155798
  :type gizmo: Gizmo
155779
155799
  """
@@ -160888,11 +160908,11 @@ class Header(bpy_struct):
160888
160908
  :type: UILayout
160889
160909
  """
160890
160910
 
160891
- def draw(self, context: Context):
160911
+ def draw(self, context: Context | None):
160892
160912
  """Draw UI elements into the header UI layout
160893
160913
 
160894
160914
  :param context:
160895
- :type context: Context
160915
+ :type context: Context | None
160896
160916
  """
160897
160917
 
160898
160918
  @classmethod
@@ -164251,29 +164271,29 @@ class KeyingSetInfo(bpy_struct):
164251
164271
  :type: set[bpy.typing.KeyingFlagItems]
164252
164272
  """
164253
164273
 
164254
- def poll(self, context: Context) -> bool:
164274
+ def poll(self, context: Context | None) -> bool:
164255
164275
  """Test if Keying Set can be used or not
164256
164276
 
164257
164277
  :param context:
164258
- :type context: Context
164278
+ :type context: Context | None
164259
164279
  :return:
164260
164280
  :rtype: bool
164261
164281
  """
164262
164282
 
164263
- def iterator(self, context: Context, ks: KeyingSet | None):
164283
+ def iterator(self, context: Context | None, ks: KeyingSet | None):
164264
164284
  """Call generate() on the structs which have properties to be keyframed
164265
164285
 
164266
164286
  :param context:
164267
- :type context: Context
164287
+ :type context: Context | None
164268
164288
  :param ks:
164269
164289
  :type ks: KeyingSet | None
164270
164290
  """
164271
164291
 
164272
- def generate(self, context: Context, ks: KeyingSet | None, data: typing.Any):
164292
+ def generate(self, context: Context | None, ks: KeyingSet | None, data: typing.Any):
164273
164293
  """Add Paths to the Keying Set to keyframe the properties of the given data
164274
164294
 
164275
164295
  :param context:
164276
- :type context: Context
164296
+ :type context: Context | None
164277
164297
  :param ks:
164278
164298
  :type ks: KeyingSet | None
164279
164299
  :param data:
@@ -169923,20 +169943,20 @@ class Macro(bpy_struct):
169923
169943
  """
169924
169944
 
169925
169945
  @classmethod
169926
- def poll(cls, context: Context) -> bool:
169946
+ def poll(cls, context: Context | None) -> bool:
169927
169947
  """Test if the operator can be called or not
169928
169948
 
169929
169949
  :param context:
169930
- :type context: Context
169950
+ :type context: Context | None
169931
169951
  :return:
169932
169952
  :rtype: bool
169933
169953
  """
169934
169954
 
169935
- def draw(self, context: Context):
169955
+ def draw(self, context: Context | None):
169936
169956
  """Draw function for the operator
169937
169957
 
169938
169958
  :param context:
169939
- :type context: Context
169959
+ :type context: Context | None
169940
169960
  """
169941
169961
 
169942
169962
  @classmethod
@@ -171353,20 +171373,20 @@ class Menu(bpy_struct):
171353
171373
  """
171354
171374
 
171355
171375
  @classmethod
171356
- def poll(cls, context: Context) -> bool:
171376
+ def poll(cls, context: Context | None) -> bool:
171357
171377
  """If this method returns a non-null output, then the menu can be drawn
171358
171378
 
171359
171379
  :param context:
171360
- :type context: Context
171380
+ :type context: Context | None
171361
171381
  :return:
171362
171382
  :rtype: bool
171363
171383
  """
171364
171384
 
171365
- def draw(self, context: Context):
171385
+ def draw(self, context: Context | None):
171366
171386
  """Draw UI elements into the menu UI layout
171367
171387
 
171368
171388
  :param context:
171369
- :type context: Context
171389
+ :type context: Context | None
171370
171390
  """
171371
171391
 
171372
171392
  @classmethod
@@ -176389,11 +176409,11 @@ class Node(bpy_struct):
176389
176409
  :type: float
176390
176410
  """
176391
176411
 
176392
- def socket_value_update(self, context: Context):
176412
+ def socket_value_update(self, context: Context | None):
176393
176413
  """Update after property changes
176394
176414
 
176395
176415
  :param context:
176396
- :type context: Context
176416
+ :type context: Context | None
176397
176417
  """
176398
176418
 
176399
176419
  @classmethod
@@ -176433,11 +176453,11 @@ class Node(bpy_struct):
176433
176453
  :type link: NodeLink
176434
176454
  """
176435
176455
 
176436
- def init(self, context: Context):
176456
+ def init(self, context: Context | None):
176437
176457
  """Initialize a new instance of this node
176438
176458
 
176439
176459
  :param context:
176440
- :type context: Context
176460
+ :type context: Context | None
176441
176461
  """
176442
176462
 
176443
176463
  def copy(self, node: typing_extensions.Self):
@@ -176450,20 +176470,20 @@ class Node(bpy_struct):
176450
176470
  def free(self):
176451
176471
  """Clean up node on removal"""
176452
176472
 
176453
- def draw_buttons(self, context: Context, layout: UILayout):
176473
+ def draw_buttons(self, context: Context | None, layout: UILayout):
176454
176474
  """Draw node buttons
176455
176475
 
176456
176476
  :param context:
176457
- :type context: Context
176477
+ :type context: Context | None
176458
176478
  :param layout: Layout, Layout in the UI
176459
176479
  :type layout: UILayout
176460
176480
  """
176461
176481
 
176462
- def draw_buttons_ext(self, context: Context, layout: UILayout):
176482
+ def draw_buttons_ext(self, context: Context | None, layout: UILayout):
176463
176483
  """Draw node buttons in the sidebar
176464
176484
 
176465
176485
  :param context:
176466
- :type context: Context
176486
+ :type context: Context | None
176467
176487
  :param layout: Layout, Layout in the UI
176468
176488
  :type layout: UILayout
176469
176489
  """
@@ -176959,20 +176979,20 @@ class NodeInternal(Node, bpy_struct):
176959
176979
  def update(self):
176960
176980
  """Update on node graph topology changes (adding or removing nodes and links)"""
176961
176981
 
176962
- def draw_buttons(self, context: Context, layout: UILayout):
176982
+ def draw_buttons(self, context: Context | None, layout: UILayout):
176963
176983
  """Draw node buttons
176964
176984
 
176965
176985
  :param context:
176966
- :type context: Context
176986
+ :type context: Context | None
176967
176987
  :param layout: Layout, Layout in the UI
176968
176988
  :type layout: UILayout
176969
176989
  """
176970
176990
 
176971
- def draw_buttons_ext(self, context: Context, layout: UILayout):
176991
+ def draw_buttons_ext(self, context: Context | None, layout: UILayout):
176972
176992
  """Draw node buttons in the sidebar
176973
176993
 
176974
176994
  :param context:
176975
- :type context: Context
176995
+ :type context: Context | None
176976
176996
  :param layout: Layout, Layout in the UI
176977
176997
  :type layout: UILayout
176978
176998
  """
@@ -177389,11 +177409,11 @@ class NodeSocket(bpy_struct):
177389
177409
  links: typing.Any
177390
177410
  """ List of node links from or to this socket.(readonly)"""
177391
177411
 
177392
- def draw(self, context: Context, layout: UILayout, node: Node, text: str):
177412
+ def draw(self, context: Context | None, layout: UILayout, node: Node, text: str):
177393
177413
  """Draw socket
177394
177414
 
177395
177415
  :param context:
177396
- :type context: Context
177416
+ :type context: Context | None
177397
177417
  :param layout: Layout, Layout in the UI
177398
177418
  :type layout: UILayout
177399
177419
  :param node: Node, Node the socket belongs to
@@ -177402,11 +177422,11 @@ class NodeSocket(bpy_struct):
177402
177422
  :type text: str
177403
177423
  """
177404
177424
 
177405
- def draw_color(self, context: Context, node: Node) -> bpy_prop_array[float]:
177425
+ def draw_color(self, context: Context | None, node: Node) -> bpy_prop_array[float]:
177406
177426
  """Color of the socket icon
177407
177427
 
177408
177428
  :param context:
177409
- :type context: Context
177429
+ :type context: Context | None
177410
177430
  :param node: Node, Node the socket belongs to
177411
177431
  :type node: Node
177412
177432
  :return: Color
@@ -178313,11 +178333,11 @@ class NodeSocketStandard(NodeSocket, bpy_struct):
178313
178333
  links: typing.Any
178314
178334
  """ List of node links from or to this socket.(readonly)"""
178315
178335
 
178316
- def draw(self, context: Context, layout: UILayout, node: Node, text: str):
178336
+ def draw(self, context: Context | None, layout: UILayout, node: Node, text: str):
178317
178337
  """Draw socket
178318
178338
 
178319
178339
  :param context:
178320
- :type context: Context
178340
+ :type context: Context | None
178321
178341
  :param layout: Layout, Layout in the UI
178322
178342
  :type layout: UILayout
178323
178343
  :param node: Node, Node the socket belongs to
@@ -178326,11 +178346,11 @@ class NodeSocketStandard(NodeSocket, bpy_struct):
178326
178346
  :type text: str
178327
178347
  """
178328
178348
 
178329
- def draw_color(self, context: Context, node: Node) -> bpy_prop_array[float]:
178349
+ def draw_color(self, context: Context | None, node: Node) -> bpy_prop_array[float]:
178330
178350
  """Color of the socket icon
178331
178351
 
178332
178352
  :param context:
178333
- :type context: Context
178353
+ :type context: Context | None
178334
178354
  :param node: Node, Node the socket belongs to
178335
178355
  :type node: Node
178336
178356
  :return: Color
@@ -178839,11 +178859,11 @@ class NodeTree(ID, bpy_struct):
178839
178859
  :type: mathutils.Vector
178840
178860
  """
178841
178861
 
178842
- def interface_update(self, context: Context):
178862
+ def interface_update(self, context: Context | None):
178843
178863
  """Updated node group interface
178844
178864
 
178845
178865
  :param context:
178846
- :type context: Context
178866
+ :type context: Context | None
178847
178867
  """
178848
178868
 
178849
178869
  def contains_tree(self, sub_tree: typing_extensions.Self) -> bool:
@@ -178856,11 +178876,11 @@ class NodeTree(ID, bpy_struct):
178856
178876
  """
178857
178877
 
178858
178878
  @classmethod
178859
- def poll(cls, context: Context) -> bool:
178879
+ def poll(cls, context: Context | None) -> bool:
178860
178880
  """Check visibility in the editor
178861
178881
 
178862
178882
  :param context:
178863
- :type context: Context
178883
+ :type context: Context | None
178864
178884
  :return:
178865
178885
  :rtype: bool
178866
178886
  """
@@ -178869,11 +178889,11 @@ class NodeTree(ID, bpy_struct):
178869
178889
  """Update on editor changes"""
178870
178890
 
178871
178891
  @classmethod
178872
- def get_from_context(cls, context: Context):
178892
+ def get_from_context(cls, context: Context | None):
178873
178893
  """Get a node tree from the context
178874
178894
 
178875
178895
  :param context:
178876
- :type context: Context
178896
+ :type context: Context | None
178877
178897
  :return: result_1, Active node tree from context, `NodeTree`
178878
178898
 
178879
178899
  result_2, ID data-block that owns the node tree, `ID`
@@ -179247,11 +179267,11 @@ class NodeTreeInterfaceSocket(NodeTreeInterfaceItem, bpy_struct):
179247
179267
  :type: str
179248
179268
  """
179249
179269
 
179250
- def draw(self, context: Context, layout: UILayout):
179270
+ def draw(self, context: Context | None, layout: UILayout):
179251
179271
  """Draw properties of the socket interface
179252
179272
 
179253
179273
  :param context:
179254
- :type context: Context
179274
+ :type context: Context | None
179255
179275
  :param layout: Layout, Layout in the UI
179256
179276
  :type layout: UILayout
179257
179277
  """
@@ -179309,11 +179329,11 @@ class NodeTreeInterfaceSocketBool(
179309
179329
  :type: bool
179310
179330
  """
179311
179331
 
179312
- def draw(self, context: Context, layout: UILayout):
179332
+ def draw(self, context: Context | None, layout: UILayout):
179313
179333
  """Draw interface socket settings
179314
179334
 
179315
179335
  :param context:
179316
- :type context: Context
179336
+ :type context: Context | None
179317
179337
  :param layout: Layout, Layout in the UI
179318
179338
  :type layout: UILayout
179319
179339
  """
@@ -179371,11 +179391,11 @@ class NodeTreeInterfaceSocketCollection(
179371
179391
  :type: Collection | None
179372
179392
  """
179373
179393
 
179374
- def draw(self, context: Context, layout: UILayout):
179394
+ def draw(self, context: Context | None, layout: UILayout):
179375
179395
  """Draw interface socket settings
179376
179396
 
179377
179397
  :param context:
179378
- :type context: Context
179398
+ :type context: Context | None
179379
179399
  :param layout: Layout, Layout in the UI
179380
179400
  :type layout: UILayout
179381
179401
  """
@@ -179433,11 +179453,11 @@ class NodeTreeInterfaceSocketColor(
179433
179453
  :type: bpy_prop_array[float]
179434
179454
  """
179435
179455
 
179436
- def draw(self, context: Context, layout: UILayout):
179456
+ def draw(self, context: Context | None, layout: UILayout):
179437
179457
  """Draw interface socket settings
179438
179458
 
179439
179459
  :param context:
179440
- :type context: Context
179460
+ :type context: Context | None
179441
179461
  :param layout: Layout, Layout in the UI
179442
179462
  :type layout: UILayout
179443
179463
  """
@@ -179513,11 +179533,11 @@ class NodeTreeInterfaceSocketFloat(
179513
179533
  :type: str
179514
179534
  """
179515
179535
 
179516
- def draw(self, context: Context, layout: UILayout):
179536
+ def draw(self, context: Context | None, layout: UILayout):
179517
179537
  """Draw interface socket settings
179518
179538
 
179519
179539
  :param context:
179520
- :type context: Context
179540
+ :type context: Context | None
179521
179541
  :param layout: Layout, Layout in the UI
179522
179542
  :type layout: UILayout
179523
179543
  """
@@ -179593,11 +179613,11 @@ class NodeTreeInterfaceSocketFloatAngle(
179593
179613
  :type: str
179594
179614
  """
179595
179615
 
179596
- def draw(self, context: Context, layout: UILayout):
179616
+ def draw(self, context: Context | None, layout: UILayout):
179597
179617
  """Draw interface socket settings
179598
179618
 
179599
179619
  :param context:
179600
- :type context: Context
179620
+ :type context: Context | None
179601
179621
  :param layout: Layout, Layout in the UI
179602
179622
  :type layout: UILayout
179603
179623
  """
@@ -179673,11 +179693,11 @@ class NodeTreeInterfaceSocketFloatColorTemperature(
179673
179693
  :type: str
179674
179694
  """
179675
179695
 
179676
- def draw(self, context: Context, layout: UILayout):
179696
+ def draw(self, context: Context | None, layout: UILayout):
179677
179697
  """Draw interface socket settings
179678
179698
 
179679
179699
  :param context:
179680
- :type context: Context
179700
+ :type context: Context | None
179681
179701
  :param layout: Layout, Layout in the UI
179682
179702
  :type layout: UILayout
179683
179703
  """
@@ -179753,11 +179773,11 @@ class NodeTreeInterfaceSocketFloatDistance(
179753
179773
  :type: str
179754
179774
  """
179755
179775
 
179756
- def draw(self, context: Context, layout: UILayout):
179776
+ def draw(self, context: Context | None, layout: UILayout):
179757
179777
  """Draw interface socket settings
179758
179778
 
179759
179779
  :param context:
179760
- :type context: Context
179780
+ :type context: Context | None
179761
179781
  :param layout: Layout, Layout in the UI
179762
179782
  :type layout: UILayout
179763
179783
  """
@@ -179833,11 +179853,11 @@ class NodeTreeInterfaceSocketFloatFactor(
179833
179853
  :type: str
179834
179854
  """
179835
179855
 
179836
- def draw(self, context: Context, layout: UILayout):
179856
+ def draw(self, context: Context | None, layout: UILayout):
179837
179857
  """Draw interface socket settings
179838
179858
 
179839
179859
  :param context:
179840
- :type context: Context
179860
+ :type context: Context | None
179841
179861
  :param layout: Layout, Layout in the UI
179842
179862
  :type layout: UILayout
179843
179863
  """
@@ -179913,11 +179933,11 @@ class NodeTreeInterfaceSocketFloatFrequency(
179913
179933
  :type: str
179914
179934
  """
179915
179935
 
179916
- def draw(self, context: Context, layout: UILayout):
179936
+ def draw(self, context: Context | None, layout: UILayout):
179917
179937
  """Draw interface socket settings
179918
179938
 
179919
179939
  :param context:
179920
- :type context: Context
179940
+ :type context: Context | None
179921
179941
  :param layout: Layout, Layout in the UI
179922
179942
  :type layout: UILayout
179923
179943
  """
@@ -179993,11 +180013,11 @@ class NodeTreeInterfaceSocketFloatPercentage(
179993
180013
  :type: str
179994
180014
  """
179995
180015
 
179996
- def draw(self, context: Context, layout: UILayout):
180016
+ def draw(self, context: Context | None, layout: UILayout):
179997
180017
  """Draw interface socket settings
179998
180018
 
179999
180019
  :param context:
180000
- :type context: Context
180020
+ :type context: Context | None
180001
180021
  :param layout: Layout, Layout in the UI
180002
180022
  :type layout: UILayout
180003
180023
  """
@@ -180073,11 +180093,11 @@ class NodeTreeInterfaceSocketFloatTime(
180073
180093
  :type: str
180074
180094
  """
180075
180095
 
180076
- def draw(self, context: Context, layout: UILayout):
180096
+ def draw(self, context: Context | None, layout: UILayout):
180077
180097
  """Draw interface socket settings
180078
180098
 
180079
180099
  :param context:
180080
- :type context: Context
180100
+ :type context: Context | None
180081
180101
  :param layout: Layout, Layout in the UI
180082
180102
  :type layout: UILayout
180083
180103
  """
@@ -180153,11 +180173,11 @@ class NodeTreeInterfaceSocketFloatTimeAbsolute(
180153
180173
  :type: str
180154
180174
  """
180155
180175
 
180156
- def draw(self, context: Context, layout: UILayout):
180176
+ def draw(self, context: Context | None, layout: UILayout):
180157
180177
  """Draw interface socket settings
180158
180178
 
180159
180179
  :param context:
180160
- :type context: Context
180180
+ :type context: Context | None
180161
180181
  :param layout: Layout, Layout in the UI
180162
180182
  :type layout: UILayout
180163
180183
  """
@@ -180233,11 +180253,11 @@ class NodeTreeInterfaceSocketFloatUnsigned(
180233
180253
  :type: str
180234
180254
  """
180235
180255
 
180236
- def draw(self, context: Context, layout: UILayout):
180256
+ def draw(self, context: Context | None, layout: UILayout):
180237
180257
  """Draw interface socket settings
180238
180258
 
180239
180259
  :param context:
180240
- :type context: Context
180260
+ :type context: Context | None
180241
180261
  :param layout: Layout, Layout in the UI
180242
180262
  :type layout: UILayout
180243
180263
  """
@@ -180313,11 +180333,11 @@ class NodeTreeInterfaceSocketFloatWavelength(
180313
180333
  :type: str
180314
180334
  """
180315
180335
 
180316
- def draw(self, context: Context, layout: UILayout):
180336
+ def draw(self, context: Context | None, layout: UILayout):
180317
180337
  """Draw interface socket settings
180318
180338
 
180319
180339
  :param context:
180320
- :type context: Context
180340
+ :type context: Context | None
180321
180341
  :param layout: Layout, Layout in the UI
180322
180342
  :type layout: UILayout
180323
180343
  """
@@ -180369,11 +180389,11 @@ class NodeTreeInterfaceSocketGeometry(
180369
180389
  ):
180370
180390
  """Geometry socket of a node"""
180371
180391
 
180372
- def draw(self, context: Context, layout: UILayout):
180392
+ def draw(self, context: Context | None, layout: UILayout):
180373
180393
  """Draw interface socket settings
180374
180394
 
180375
180395
  :param context:
180376
- :type context: Context
180396
+ :type context: Context | None
180377
180397
  :param layout: Layout, Layout in the UI
180378
180398
  :type layout: UILayout
180379
180399
  """
@@ -180431,11 +180451,11 @@ class NodeTreeInterfaceSocketImage(
180431
180451
  :type: Image | None
180432
180452
  """
180433
180453
 
180434
- def draw(self, context: Context, layout: UILayout):
180454
+ def draw(self, context: Context | None, layout: UILayout):
180435
180455
  """Draw interface socket settings
180436
180456
 
180437
180457
  :param context:
180438
- :type context: Context
180458
+ :type context: Context | None
180439
180459
  :param layout: Layout, Layout in the UI
180440
180460
  :type layout: UILayout
180441
180461
  """
@@ -180511,11 +180531,11 @@ class NodeTreeInterfaceSocketInt(
180511
180531
  :type: str
180512
180532
  """
180513
180533
 
180514
- def draw(self, context: Context, layout: UILayout):
180534
+ def draw(self, context: Context | None, layout: UILayout):
180515
180535
  """Draw interface socket settings
180516
180536
 
180517
180537
  :param context:
180518
- :type context: Context
180538
+ :type context: Context | None
180519
180539
  :param layout: Layout, Layout in the UI
180520
180540
  :type layout: UILayout
180521
180541
  """
@@ -180591,11 +180611,11 @@ class NodeTreeInterfaceSocketIntFactor(
180591
180611
  :type: str
180592
180612
  """
180593
180613
 
180594
- def draw(self, context: Context, layout: UILayout):
180614
+ def draw(self, context: Context | None, layout: UILayout):
180595
180615
  """Draw interface socket settings
180596
180616
 
180597
180617
  :param context:
180598
- :type context: Context
180618
+ :type context: Context | None
180599
180619
  :param layout: Layout, Layout in the UI
180600
180620
  :type layout: UILayout
180601
180621
  """
@@ -180671,11 +180691,11 @@ class NodeTreeInterfaceSocketIntPercentage(
180671
180691
  :type: str
180672
180692
  """
180673
180693
 
180674
- def draw(self, context: Context, layout: UILayout):
180694
+ def draw(self, context: Context | None, layout: UILayout):
180675
180695
  """Draw interface socket settings
180676
180696
 
180677
180697
  :param context:
180678
- :type context: Context
180698
+ :type context: Context | None
180679
180699
  :param layout: Layout, Layout in the UI
180680
180700
  :type layout: UILayout
180681
180701
  """
@@ -180751,11 +180771,11 @@ class NodeTreeInterfaceSocketIntUnsigned(
180751
180771
  :type: str
180752
180772
  """
180753
180773
 
180754
- def draw(self, context: Context, layout: UILayout):
180774
+ def draw(self, context: Context | None, layout: UILayout):
180755
180775
  """Draw interface socket settings
180756
180776
 
180757
180777
  :param context:
180758
- :type context: Context
180778
+ :type context: Context | None
180759
180779
  :param layout: Layout, Layout in the UI
180760
180780
  :type layout: UILayout
180761
180781
  """
@@ -180813,11 +180833,11 @@ class NodeTreeInterfaceSocketMaterial(
180813
180833
  :type: Material | None
180814
180834
  """
180815
180835
 
180816
- def draw(self, context: Context, layout: UILayout):
180836
+ def draw(self, context: Context | None, layout: UILayout):
180817
180837
  """Draw interface socket settings
180818
180838
 
180819
180839
  :param context:
180820
- :type context: Context
180840
+ :type context: Context | None
180821
180841
  :param layout: Layout, Layout in the UI
180822
180842
  :type layout: UILayout
180823
180843
  """
@@ -180869,11 +180889,11 @@ class NodeTreeInterfaceSocketMatrix(
180869
180889
  ):
180870
180890
  """Matrix value socket of a node"""
180871
180891
 
180872
- def draw(self, context: Context, layout: UILayout):
180892
+ def draw(self, context: Context | None, layout: UILayout):
180873
180893
  """Draw interface socket settings
180874
180894
 
180875
180895
  :param context:
180876
- :type context: Context
180896
+ :type context: Context | None
180877
180897
  :param layout: Layout, Layout in the UI
180878
180898
  :type layout: UILayout
180879
180899
  """
@@ -180931,11 +180951,11 @@ class NodeTreeInterfaceSocketMenu(
180931
180951
  :type: str
180932
180952
  """
180933
180953
 
180934
- def draw(self, context: Context, layout: UILayout):
180954
+ def draw(self, context: Context | None, layout: UILayout):
180935
180955
  """Draw interface socket settings
180936
180956
 
180937
180957
  :param context:
180938
- :type context: Context
180958
+ :type context: Context | None
180939
180959
  :param layout: Layout, Layout in the UI
180940
180960
  :type layout: UILayout
180941
180961
  """
@@ -180993,11 +181013,11 @@ class NodeTreeInterfaceSocketObject(
180993
181013
  :type: Object | None
180994
181014
  """
180995
181015
 
180996
- def draw(self, context: Context, layout: UILayout):
181016
+ def draw(self, context: Context | None, layout: UILayout):
180997
181017
  """Draw interface socket settings
180998
181018
 
180999
181019
  :param context:
181000
- :type context: Context
181020
+ :type context: Context | None
181001
181021
  :param layout: Layout, Layout in the UI
181002
181022
  :type layout: UILayout
181003
181023
  """
@@ -181055,11 +181075,11 @@ class NodeTreeInterfaceSocketRotation(
181055
181075
  :type: mathutils.Euler
181056
181076
  """
181057
181077
 
181058
- def draw(self, context: Context, layout: UILayout):
181078
+ def draw(self, context: Context | None, layout: UILayout):
181059
181079
  """Draw interface socket settings
181060
181080
 
181061
181081
  :param context:
181062
- :type context: Context
181082
+ :type context: Context | None
181063
181083
  :param layout: Layout, Layout in the UI
181064
181084
  :type layout: UILayout
181065
181085
  """
@@ -181111,11 +181131,11 @@ class NodeTreeInterfaceSocketShader(
181111
181131
  ):
181112
181132
  """Shader socket of a node"""
181113
181133
 
181114
- def draw(self, context: Context, layout: UILayout):
181134
+ def draw(self, context: Context | None, layout: UILayout):
181115
181135
  """Draw interface socket settings
181116
181136
 
181117
181137
  :param context:
181118
- :type context: Context
181138
+ :type context: Context | None
181119
181139
  :param layout: Layout, Layout in the UI
181120
181140
  :type layout: UILayout
181121
181141
  """
@@ -181179,11 +181199,11 @@ class NodeTreeInterfaceSocketString(
181179
181199
  :type: str
181180
181200
  """
181181
181201
 
181182
- def draw(self, context: Context, layout: UILayout):
181202
+ def draw(self, context: Context | None, layout: UILayout):
181183
181203
  """Draw interface socket settings
181184
181204
 
181185
181205
  :param context:
181186
- :type context: Context
181206
+ :type context: Context | None
181187
181207
  :param layout: Layout, Layout in the UI
181188
181208
  :type layout: UILayout
181189
181209
  """
@@ -181247,11 +181267,11 @@ class NodeTreeInterfaceSocketStringFilePath(
181247
181267
  :type: str
181248
181268
  """
181249
181269
 
181250
- def draw(self, context: Context, layout: UILayout):
181270
+ def draw(self, context: Context | None, layout: UILayout):
181251
181271
  """Draw interface socket settings
181252
181272
 
181253
181273
  :param context:
181254
- :type context: Context
181274
+ :type context: Context | None
181255
181275
  :param layout: Layout, Layout in the UI
181256
181276
  :type layout: UILayout
181257
181277
  """
@@ -181309,11 +181329,11 @@ class NodeTreeInterfaceSocketTexture(
181309
181329
  :type: Texture | None
181310
181330
  """
181311
181331
 
181312
- def draw(self, context: Context, layout: UILayout):
181332
+ def draw(self, context: Context | None, layout: UILayout):
181313
181333
  """Draw interface socket settings
181314
181334
 
181315
181335
  :param context:
181316
- :type context: Context
181336
+ :type context: Context | None
181317
181337
  :param layout: Layout, Layout in the UI
181318
181338
  :type layout: UILayout
181319
181339
  """
@@ -181389,11 +181409,11 @@ class NodeTreeInterfaceSocketVector(
181389
181409
  :type: str
181390
181410
  """
181391
181411
 
181392
- def draw(self, context: Context, layout: UILayout):
181412
+ def draw(self, context: Context | None, layout: UILayout):
181393
181413
  """Draw interface socket settings
181394
181414
 
181395
181415
  :param context:
181396
- :type context: Context
181416
+ :type context: Context | None
181397
181417
  :param layout: Layout, Layout in the UI
181398
181418
  :type layout: UILayout
181399
181419
  """
@@ -181469,11 +181489,11 @@ class NodeTreeInterfaceSocketVectorAcceleration(
181469
181489
  :type: str
181470
181490
  """
181471
181491
 
181472
- def draw(self, context: Context, layout: UILayout):
181492
+ def draw(self, context: Context | None, layout: UILayout):
181473
181493
  """Draw interface socket settings
181474
181494
 
181475
181495
  :param context:
181476
- :type context: Context
181496
+ :type context: Context | None
181477
181497
  :param layout: Layout, Layout in the UI
181478
181498
  :type layout: UILayout
181479
181499
  """
@@ -181549,11 +181569,11 @@ class NodeTreeInterfaceSocketVectorDirection(
181549
181569
  :type: str
181550
181570
  """
181551
181571
 
181552
- def draw(self, context: Context, layout: UILayout):
181572
+ def draw(self, context: Context | None, layout: UILayout):
181553
181573
  """Draw interface socket settings
181554
181574
 
181555
181575
  :param context:
181556
- :type context: Context
181576
+ :type context: Context | None
181557
181577
  :param layout: Layout, Layout in the UI
181558
181578
  :type layout: UILayout
181559
181579
  """
@@ -181629,11 +181649,11 @@ class NodeTreeInterfaceSocketVectorEuler(
181629
181649
  :type: str
181630
181650
  """
181631
181651
 
181632
- def draw(self, context: Context, layout: UILayout):
181652
+ def draw(self, context: Context | None, layout: UILayout):
181633
181653
  """Draw interface socket settings
181634
181654
 
181635
181655
  :param context:
181636
- :type context: Context
181656
+ :type context: Context | None
181637
181657
  :param layout: Layout, Layout in the UI
181638
181658
  :type layout: UILayout
181639
181659
  """
@@ -181709,11 +181729,11 @@ class NodeTreeInterfaceSocketVectorTranslation(
181709
181729
  :type: str
181710
181730
  """
181711
181731
 
181712
- def draw(self, context: Context, layout: UILayout):
181732
+ def draw(self, context: Context | None, layout: UILayout):
181713
181733
  """Draw interface socket settings
181714
181734
 
181715
181735
  :param context:
181716
- :type context: Context
181736
+ :type context: Context | None
181717
181737
  :param layout: Layout, Layout in the UI
181718
181738
  :type layout: UILayout
181719
181739
  """
@@ -181789,11 +181809,11 @@ class NodeTreeInterfaceSocketVectorVelocity(
181789
181809
  :type: str
181790
181810
  """
181791
181811
 
181792
- def draw(self, context: Context, layout: UILayout):
181812
+ def draw(self, context: Context | None, layout: UILayout):
181793
181813
  """Draw interface socket settings
181794
181814
 
181795
181815
  :param context:
181796
- :type context: Context
181816
+ :type context: Context | None
181797
181817
  :param layout: Layout, Layout in the UI
181798
181818
  :type layout: UILayout
181799
181819
  """
@@ -181869,11 +181889,11 @@ class NodeTreeInterfaceSocketVectorXYZ(
181869
181889
  :type: str
181870
181890
  """
181871
181891
 
181872
- def draw(self, context: Context, layout: UILayout):
181892
+ def draw(self, context: Context | None, layout: UILayout):
181873
181893
  """Draw interface socket settings
181874
181894
 
181875
181895
  :param context:
181876
- :type context: Context
181896
+ :type context: Context | None
181877
181897
  :param layout: Layout, Layout in the UI
181878
181898
  :type layout: UILayout
181879
181899
  """
@@ -184061,40 +184081,40 @@ expanding an operator into a menu.
184061
184081
  """
184062
184082
 
184063
184083
  @classmethod
184064
- def poll(cls, context: Context) -> bool:
184084
+ def poll(cls, context: Context | None) -> bool:
184065
184085
  """Test if the operator can be called or not
184066
184086
 
184067
184087
  :param context:
184068
- :type context: Context
184088
+ :type context: Context | None
184069
184089
  :return:
184070
184090
  :rtype: bool
184071
184091
  """
184072
184092
 
184073
- def execute(self, context: Context) -> set[bpy.typing.OperatorReturnItems]:
184093
+ def execute(self, context: Context | None) -> set[bpy.typing.OperatorReturnItems]:
184074
184094
  """Execute the operator
184075
184095
 
184076
184096
  :param context:
184077
- :type context: Context
184097
+ :type context: Context | None
184078
184098
  :return: result
184079
184099
  :rtype: set[bpy.typing.OperatorReturnItems]
184080
184100
  """
184081
184101
 
184082
- def check(self, context: Context) -> bool:
184102
+ def check(self, context: Context | None) -> bool:
184083
184103
  """Check the operator settings, return True to signal a change to redraw
184084
184104
 
184085
184105
  :param context:
184086
- :type context: Context
184106
+ :type context: Context | None
184087
184107
  :return: result
184088
184108
  :rtype: bool
184089
184109
  """
184090
184110
 
184091
184111
  def invoke(
184092
- self, context: Context, event: Event
184112
+ self, context: Context | None, event: Event
184093
184113
  ) -> set[bpy.typing.OperatorReturnItems]:
184094
184114
  """Invoke the operator
184095
184115
 
184096
184116
  :param context:
184097
- :type context: Context
184117
+ :type context: Context | None
184098
184118
  :param event:
184099
184119
  :type event: Event
184100
184120
  :return: result
@@ -184102,38 +184122,40 @@ expanding an operator into a menu.
184102
184122
  """
184103
184123
 
184104
184124
  def modal(
184105
- self, context: Context, event: Event
184125
+ self, context: Context | None, event: Event
184106
184126
  ) -> set[bpy.typing.OperatorReturnItems]:
184107
184127
  """Modal operator function
184108
184128
 
184109
184129
  :param context:
184110
- :type context: Context
184130
+ :type context: Context | None
184111
184131
  :param event:
184112
184132
  :type event: Event
184113
184133
  :return: result
184114
184134
  :rtype: set[bpy.typing.OperatorReturnItems]
184115
184135
  """
184116
184136
 
184117
- def draw(self, context: Context):
184137
+ def draw(self, context: Context | None):
184118
184138
  """Draw function for the operator
184119
184139
 
184120
184140
  :param context:
184121
- :type context: Context
184141
+ :type context: Context | None
184122
184142
  """
184123
184143
 
184124
- def cancel(self, context: Context):
184144
+ def cancel(self, context: Context | None):
184125
184145
  """Called when the operator is canceled
184126
184146
 
184127
184147
  :param context:
184128
- :type context: Context
184148
+ :type context: Context | None
184129
184149
  """
184130
184150
 
184131
184151
  @classmethod
184132
- def description(cls, context: Context, properties: OperatorProperties) -> str:
184152
+ def description(
184153
+ cls, context: Context | None, properties: OperatorProperties
184154
+ ) -> str:
184133
184155
  """Compute a description string that depends on parameters
184134
184156
 
184135
184157
  :param context:
184136
- :type context: Context
184158
+ :type context: Context | None
184137
184159
  :param properties:
184138
184160
  :type properties: OperatorProperties
184139
184161
  :return: result
@@ -185092,34 +185114,34 @@ class Panel(bpy_struct):
185092
185114
  """
185093
185115
 
185094
185116
  @classmethod
185095
- def poll(cls, context: Context) -> bool:
185117
+ def poll(cls, context: Context | None) -> bool:
185096
185118
  """If this method returns a non-null output, then the panel can be drawn
185097
185119
 
185098
185120
  :param context:
185099
- :type context: Context
185121
+ :type context: Context | None
185100
185122
  :return:
185101
185123
  :rtype: bool
185102
185124
  """
185103
185125
 
185104
- def draw(self, context: Context):
185126
+ def draw(self, context: Context | None):
185105
185127
  """Draw UI elements into the panel UI layout
185106
185128
 
185107
185129
  :param context:
185108
- :type context: Context
185130
+ :type context: Context | None
185109
185131
  """
185110
185132
 
185111
- def draw_header(self, context: Context):
185133
+ def draw_header(self, context: Context | None):
185112
185134
  """Draw UI elements into the panel's header UI layout
185113
185135
 
185114
185136
  :param context:
185115
- :type context: Context
185137
+ :type context: Context | None
185116
185138
  """
185117
185139
 
185118
- def draw_header_preset(self, context: Context):
185140
+ def draw_header_preset(self, context: Context | None):
185119
185141
  """Draw UI elements for presets in the panel's header
185120
185142
 
185121
185143
  :param context:
185122
- :type context: Context
185144
+ :type context: Context | None
185123
185145
  """
185124
185146
 
185125
185147
  @classmethod
@@ -191956,11 +191978,11 @@ class RenderEngine(bpy_struct):
191956
191978
  def render_frame_finish(self):
191957
191979
  """Perform finishing operations after all view layers in a frame were rendered"""
191958
191980
 
191959
- def draw(self, context: Context, depsgraph: Depsgraph | None):
191981
+ def draw(self, context: Context | None, depsgraph: Depsgraph | None):
191960
191982
  """Draw render image
191961
191983
 
191962
191984
  :param context:
191963
- :type context: Context
191985
+ :type context: Context | None
191964
191986
  :param depsgraph:
191965
191987
  :type depsgraph: Depsgraph | None
191966
191988
  """
@@ -191990,20 +192012,20 @@ class RenderEngine(bpy_struct):
191990
192012
  :type height: int | None
191991
192013
  """
191992
192014
 
191993
- def view_update(self, context: Context, depsgraph: Depsgraph | None):
192015
+ def view_update(self, context: Context | None, depsgraph: Depsgraph | None):
191994
192016
  """Update on data changes for viewport render
191995
192017
 
191996
192018
  :param context:
191997
- :type context: Context
192019
+ :type context: Context | None
191998
192020
  :param depsgraph:
191999
192021
  :type depsgraph: Depsgraph | None
192000
192022
  """
192001
192023
 
192002
- def view_draw(self, context: Context, depsgraph: Depsgraph | None):
192024
+ def view_draw(self, context: Context | None, depsgraph: Depsgraph | None):
192003
192025
  """Draw viewport render
192004
192026
 
192005
192027
  :param context:
192006
- :type context: Context
192028
+ :type context: Context | None
192007
192029
  :param depsgraph:
192008
192030
  :type depsgraph: Depsgraph | None
192009
192031
  """
@@ -222391,7 +222413,7 @@ class UIList(bpy_struct):
222391
222413
 
222392
222414
  def draw_item(
222393
222415
  self,
222394
- context: Context,
222416
+ context: Context | None,
222395
222417
  layout: UILayout,
222396
222418
  data: typing.Any | None,
222397
222419
  item: typing.Any | None,
@@ -222404,7 +222426,7 @@ class UIList(bpy_struct):
222404
222426
  """Draw an item in the list (NOTE: when you define your own draw_item function, you may want to check given 'item' is of the right type...)
222405
222427
 
222406
222428
  :param context:
222407
- :type context: Context
222429
+ :type context: Context | None
222408
222430
  :param layout: Layout to draw the item
222409
222431
  :type layout: UILayout
222410
222432
  :param data: Data from which to take Collection property
@@ -222423,20 +222445,22 @@ class UIList(bpy_struct):
222423
222445
  :type flt_flag: int | None
222424
222446
  """
222425
222447
 
222426
- def draw_filter(self, context: Context, layout: UILayout):
222448
+ def draw_filter(self, context: Context | None, layout: UILayout):
222427
222449
  """Draw filtering options
222428
222450
 
222429
222451
  :param context:
222430
- :type context: Context
222452
+ :type context: Context | None
222431
222453
  :param layout: Layout to draw the item
222432
222454
  :type layout: UILayout
222433
222455
  """
222434
222456
 
222435
- def filter_items(self, context: Context, data: typing.Any | None, property: str):
222457
+ def filter_items(
222458
+ self, context: Context | None, data: typing.Any | None, property: str
222459
+ ):
222436
222460
  """Filter and/or re-order items of the collection (output filter results in filter_flags, and reorder results in filter_neworder arrays)
222437
222461
 
222438
222462
  :param context:
222439
- :type context: Context
222463
+ :type context: Context | None
222440
222464
  :param data: Data from which to take Collection property
222441
222465
  :type data: typing.Any | None
222442
222466
  :param property: Identifier of property in data, for the collection
@@ -229514,29 +229538,29 @@ class XrSessionState(bpy_struct):
229514
229538
  """
229515
229539
 
229516
229540
  @classmethod
229517
- def is_running(cls, context: Context) -> bool:
229541
+ def is_running(cls, context: Context | None) -> bool:
229518
229542
  """Query if the VR session is currently running
229519
229543
 
229520
229544
  :param context:
229521
- :type context: Context
229545
+ :type context: Context | None
229522
229546
  :return: Result
229523
229547
  :rtype: bool
229524
229548
  """
229525
229549
 
229526
229550
  @classmethod
229527
- def reset_to_base_pose(cls, context: Context):
229551
+ def reset_to_base_pose(cls, context: Context | None):
229528
229552
  """Force resetting of position and rotation deltas
229529
229553
 
229530
229554
  :param context:
229531
- :type context: Context
229555
+ :type context: Context | None
229532
229556
  """
229533
229557
 
229534
229558
  @classmethod
229535
- def action_set_create(cls, context: Context, actionmap: XrActionMap) -> bool:
229559
+ def action_set_create(cls, context: Context | None, actionmap: XrActionMap) -> bool:
229536
229560
  """Create a VR action set
229537
229561
 
229538
229562
  :param context:
229539
- :type context: Context
229563
+ :type context: Context | None
229540
229564
  :param actionmap:
229541
229565
  :type actionmap: XrActionMap
229542
229566
  :return: Result
@@ -229545,12 +229569,15 @@ class XrSessionState(bpy_struct):
229545
229569
 
229546
229570
  @classmethod
229547
229571
  def action_create(
229548
- cls, context: Context, actionmap: XrActionMap, actionmap_item: XrActionMapItem
229572
+ cls,
229573
+ context: Context | None,
229574
+ actionmap: XrActionMap,
229575
+ actionmap_item: XrActionMapItem,
229549
229576
  ) -> bool:
229550
229577
  """Create a VR action
229551
229578
 
229552
229579
  :param context:
229553
- :type context: Context
229580
+ :type context: Context | None
229554
229581
  :param actionmap:
229555
229582
  :type actionmap: XrActionMap
229556
229583
  :param actionmap_item:
@@ -229562,7 +229589,7 @@ class XrSessionState(bpy_struct):
229562
229589
  @classmethod
229563
229590
  def action_binding_create(
229564
229591
  cls,
229565
- context: Context,
229592
+ context: Context | None,
229566
229593
  actionmap: XrActionMap,
229567
229594
  actionmap_item: XrActionMapItem,
229568
229595
  actionmap_binding: XrActionMapBinding,
@@ -229570,7 +229597,7 @@ class XrSessionState(bpy_struct):
229570
229597
  """Create a VR action binding
229571
229598
 
229572
229599
  :param context:
229573
- :type context: Context
229600
+ :type context: Context | None
229574
229601
  :param actionmap:
229575
229602
  :type actionmap: XrActionMap
229576
229603
  :param actionmap_item:
@@ -229582,11 +229609,11 @@ class XrSessionState(bpy_struct):
229582
229609
  """
229583
229610
 
229584
229611
  @classmethod
229585
- def active_action_set_set(cls, context: Context, action_set: str) -> bool:
229612
+ def active_action_set_set(cls, context: Context | None, action_set: str) -> bool:
229586
229613
  """Set the active VR action set
229587
229614
 
229588
229615
  :param context:
229589
- :type context: Context
229616
+ :type context: Context | None
229590
229617
  :param action_set: Action Set, Action set name
229591
229618
  :type action_set: str
229592
229619
  :return: Result
@@ -229595,12 +229622,12 @@ class XrSessionState(bpy_struct):
229595
229622
 
229596
229623
  @classmethod
229597
229624
  def controller_pose_actions_set(
229598
- cls, context: Context, action_set: str, grip_action: str, aim_action: str
229625
+ cls, context: Context | None, action_set: str, grip_action: str, aim_action: str
229599
229626
  ) -> bool:
229600
229627
  """Set the actions that determine the VR controller poses
229601
229628
 
229602
229629
  :param context:
229603
- :type context: Context
229630
+ :type context: Context | None
229604
229631
  :param action_set: Action Set, Action set name
229605
229632
  :type action_set: str
229606
229633
  :param grip_action: Grip Action, Name of the action representing the controller grips
@@ -229613,12 +229640,16 @@ class XrSessionState(bpy_struct):
229613
229640
 
229614
229641
  @classmethod
229615
229642
  def action_state_get(
229616
- cls, context: Context, action_set_name: str, action_name: str, user_path: str
229643
+ cls,
229644
+ context: Context | None,
229645
+ action_set_name: str,
229646
+ action_name: str,
229647
+ user_path: str,
229617
229648
  ) -> bpy_prop_array[float]:
229618
229649
  """Get the current state of a VR action
229619
229650
 
229620
229651
  :param context:
229621
- :type context: Context
229652
+ :type context: Context | None
229622
229653
  :param action_set_name: Action Set, Action set name
229623
229654
  :type action_set_name: str
229624
229655
  :param action_name: Action, Action name
@@ -229632,7 +229663,7 @@ class XrSessionState(bpy_struct):
229632
229663
  @classmethod
229633
229664
  def haptic_action_apply(
229634
229665
  cls,
229635
- context: Context,
229666
+ context: Context | None,
229636
229667
  action_set_name: str,
229637
229668
  action_name: str,
229638
229669
  user_path: str,
@@ -229643,7 +229674,7 @@ class XrSessionState(bpy_struct):
229643
229674
  """Apply a VR haptic action
229644
229675
 
229645
229676
  :param context:
229646
- :type context: Context
229677
+ :type context: Context | None
229647
229678
  :param action_set_name: Action Set, Action set name
229648
229679
  :type action_set_name: str
229649
229680
  :param action_name: Action, Action name
@@ -229662,12 +229693,16 @@ class XrSessionState(bpy_struct):
229662
229693
 
229663
229694
  @classmethod
229664
229695
  def haptic_action_stop(
229665
- cls, context: Context, action_set_name: str, action_name: str, user_path: str
229696
+ cls,
229697
+ context: Context | None,
229698
+ action_set_name: str,
229699
+ action_name: str,
229700
+ user_path: str,
229666
229701
  ):
229667
229702
  """Stop a VR haptic action
229668
229703
 
229669
229704
  :param context:
229670
- :type context: Context
229705
+ :type context: Context | None
229671
229706
  :param action_set_name: Action Set, Action set name
229672
229707
  :type action_set_name: str
229673
229708
  :param action_name: Action, Action name
@@ -229678,12 +229713,12 @@ class XrSessionState(bpy_struct):
229678
229713
 
229679
229714
  @classmethod
229680
229715
  def controller_grip_location_get(
229681
- cls, context: Context, index: int | None
229716
+ cls, context: Context | None, index: int | None
229682
229717
  ) -> mathutils.Vector:
229683
229718
  """Get the last known controller grip location in world space
229684
229719
 
229685
229720
  :param context:
229686
- :type context: Context
229721
+ :type context: Context | None
229687
229722
  :param index: Index, Controller index
229688
229723
  :type index: int | None
229689
229724
  :return: Location, Controller grip location
@@ -229692,12 +229727,12 @@ class XrSessionState(bpy_struct):
229692
229727
 
229693
229728
  @classmethod
229694
229729
  def controller_grip_rotation_get(
229695
- cls, context: Context, index: int | None
229730
+ cls, context: Context | None, index: int | None
229696
229731
  ) -> mathutils.Quaternion:
229697
229732
  """Get the last known controller grip rotation (quaternion) in world space
229698
229733
 
229699
229734
  :param context:
229700
- :type context: Context
229735
+ :type context: Context | None
229701
229736
  :param index: Index, Controller index
229702
229737
  :type index: int | None
229703
229738
  :return: Rotation, Controller grip quaternion rotation
@@ -229706,12 +229741,12 @@ class XrSessionState(bpy_struct):
229706
229741
 
229707
229742
  @classmethod
229708
229743
  def controller_aim_location_get(
229709
- cls, context: Context, index: int | None
229744
+ cls, context: Context | None, index: int | None
229710
229745
  ) -> mathutils.Vector:
229711
229746
  """Get the last known controller aim location in world space
229712
229747
 
229713
229748
  :param context:
229714
- :type context: Context
229749
+ :type context: Context | None
229715
229750
  :param index: Index, Controller index
229716
229751
  :type index: int | None
229717
229752
  :return: Location, Controller aim location
@@ -229720,12 +229755,12 @@ class XrSessionState(bpy_struct):
229720
229755
 
229721
229756
  @classmethod
229722
229757
  def controller_aim_rotation_get(
229723
- cls, context: Context, index: int | None
229758
+ cls, context: Context | None, index: int | None
229724
229759
  ) -> mathutils.Quaternion:
229725
229760
  """Get the last known controller aim rotation (quaternion) in world space
229726
229761
 
229727
229762
  :param context:
229728
- :type context: Context
229763
+ :type context: Context | None
229729
229764
  :param index: Index, Controller index
229730
229765
  :type index: int | None
229731
229766
  :return: Rotation, Controller aim quaternion rotation