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

bpy/types/__init__.pyi CHANGED
@@ -116060,11 +116060,11 @@ class AssetShelf(bpy_struct):
116060
116060
  """
116061
116061
 
116062
116062
  @classmethod
116063
- def poll(cls, context: Context | None) -> bool:
116063
+ def poll(cls, context: Context) -> bool:
116064
116064
  """If this method returns a non-null output, the asset shelf will be visible
116065
116065
 
116066
116066
  :param context:
116067
- :type context: Context | None
116067
+ :type context: Context
116068
116068
  :return:
116069
116069
  :rtype: bool
116070
116070
  """
@@ -116090,14 +116090,14 @@ class AssetShelf(bpy_struct):
116090
116090
  @classmethod
116091
116091
  def draw_context_menu(
116092
116092
  cls,
116093
- context: Context | None,
116093
+ context: Context,
116094
116094
  asset: AssetRepresentation | None,
116095
116095
  layout: UILayout | None,
116096
116096
  ):
116097
116097
  """Draw UI elements into the context menu UI layout displayed on right click
116098
116098
 
116099
116099
  :param context:
116100
- :type context: Context | None
116100
+ :type context: Context
116101
116101
  :param asset:
116102
116102
  :type asset: AssetRepresentation | None
116103
116103
  :param layout:
@@ -139004,11 +139004,11 @@ For Example: ".blend;.ble"
139004
139004
  """
139005
139005
 
139006
139006
  @classmethod
139007
- def poll_drop(cls, context: Context | None) -> bool:
139007
+ def poll_drop(cls, context: Context) -> bool:
139008
139008
  """If this method returns True, can be used to handle the drop of a drag-and-drop action
139009
139009
 
139010
139010
  :param context:
139011
- :type context: Context | None
139011
+ :type context: Context
139012
139012
  :return:
139013
139013
  :rtype: bool
139014
139014
  """
@@ -157683,29 +157683,29 @@ class Gizmo(bpy_struct):
157683
157683
  :type: bool
157684
157684
  """
157685
157685
 
157686
- def draw(self, context: Context | None):
157686
+ def draw(self, context: Context):
157687
157687
  """
157688
157688
 
157689
157689
  :param context:
157690
- :type context: Context | None
157690
+ :type context: Context
157691
157691
  """
157692
157692
 
157693
- def draw_select(self, context: Context | None, *, select_id: int | None = 0):
157693
+ def draw_select(self, context: Context, *, select_id: int | None = 0):
157694
157694
  """
157695
157695
 
157696
157696
  :param context:
157697
- :type context: Context | None
157697
+ :type context: Context
157698
157698
  :param select_id:
157699
157699
  :type select_id: int | None
157700
157700
  """
157701
157701
 
157702
157702
  def test_select(
157703
- self, context: Context | None, location: collections.abc.Iterable[int]
157703
+ self, context: Context, location: collections.abc.Iterable[int]
157704
157704
  ) -> int:
157705
157705
  """
157706
157706
 
157707
157707
  :param context:
157708
- :type context: Context | None
157708
+ :type context: Context
157709
157709
  :param location: Location, Region coordinates
157710
157710
  :type location: collections.abc.Iterable[int]
157711
157711
  :return: Use -1 to skip this gizmo
@@ -157714,14 +157714,14 @@ class Gizmo(bpy_struct):
157714
157714
 
157715
157715
  def modal(
157716
157716
  self,
157717
- context: Context | None,
157717
+ context: Context,
157718
157718
  event: Event,
157719
157719
  tweak: set[typing.Literal["PRECISE", "SNAP"]] | None,
157720
157720
  ) -> set[bpy.typing.OperatorReturnItems]:
157721
157721
  """
157722
157722
 
157723
157723
  :param context:
157724
- :type context: Context | None
157724
+ :type context: Context
157725
157725
  :param event:
157726
157726
  :type event: Event
157727
157727
  :param tweak: Tweak
@@ -157732,23 +157732,23 @@ class Gizmo(bpy_struct):
157732
157732
 
157733
157733
  def setup(self): ...
157734
157734
  def invoke(
157735
- self, context: Context | None, event: Event
157735
+ self, context: Context, event: Event
157736
157736
  ) -> set[bpy.typing.OperatorReturnItems]:
157737
157737
  """
157738
157738
 
157739
157739
  :param context:
157740
- :type context: Context | None
157740
+ :type context: Context
157741
157741
  :param event:
157742
157742
  :type event: Event
157743
157743
  :return: result
157744
157744
  :rtype: set[bpy.typing.OperatorReturnItems]
157745
157745
  """
157746
157746
 
157747
- def exit(self, context: Context | None, cancel: bool | None):
157747
+ def exit(self, context: Context, cancel: bool | None):
157748
157748
  """
157749
157749
 
157750
157750
  :param context:
157751
- :type context: Context | None
157751
+ :type context: Context
157752
157752
  :param cancel: Cancel, otherwise confirm
157753
157753
  :type cancel: bool | None
157754
157754
  """
@@ -158006,11 +158006,11 @@ class GizmoGroup(bpy_struct):
158006
158006
  """
158007
158007
 
158008
158008
  @classmethod
158009
- def poll(cls, context: Context | None) -> bool:
158009
+ def poll(cls, context: Context) -> bool:
158010
158010
  """Test if the gizmo group can be called or not
158011
158011
 
158012
158012
  :param context:
158013
- :type context: Context | None
158013
+ :type context: Context
158014
158014
  :return:
158015
158015
  :rtype: bool
158016
158016
  """
@@ -158025,32 +158025,32 @@ class GizmoGroup(bpy_struct):
158025
158025
  :rtype: KeyMap
158026
158026
  """
158027
158027
 
158028
- def setup(self, context: Context | None):
158028
+ def setup(self, context: Context):
158029
158029
  """Create gizmos function for the gizmo group
158030
158030
 
158031
158031
  :param context:
158032
- :type context: Context | None
158032
+ :type context: Context
158033
158033
  """
158034
158034
 
158035
- def refresh(self, context: Context | None):
158035
+ def refresh(self, context: Context):
158036
158036
  """Refresh data (called on common state changes such as selection)
158037
158037
 
158038
158038
  :param context:
158039
- :type context: Context | None
158039
+ :type context: Context
158040
158040
  """
158041
158041
 
158042
- def draw_prepare(self, context: Context | None):
158042
+ def draw_prepare(self, context: Context):
158043
158043
  """Run before each redraw
158044
158044
 
158045
158045
  :param context:
158046
- :type context: Context | None
158046
+ :type context: Context
158047
158047
  """
158048
158048
 
158049
- def invoke_prepare(self, context: Context | None, gizmo: Gizmo):
158049
+ def invoke_prepare(self, context: Context, gizmo: Gizmo):
158050
158050
  """Run before invoke
158051
158051
 
158052
158052
  :param context:
158053
- :type context: Context | None
158053
+ :type context: Context
158054
158054
  :param gizmo:
158055
158055
  :type gizmo: Gizmo
158056
158056
  """
@@ -163248,11 +163248,11 @@ class Header(bpy_struct):
163248
163248
  :type: UILayout
163249
163249
  """
163250
163250
 
163251
- def draw(self, context: Context | None):
163251
+ def draw(self, context: Context):
163252
163252
  """Draw UI elements into the header UI layout
163253
163253
 
163254
163254
  :param context:
163255
- :type context: Context | None
163255
+ :type context: Context
163256
163256
  """
163257
163257
 
163258
163258
  @classmethod
@@ -166629,29 +166629,29 @@ class KeyingSetInfo(bpy_struct):
166629
166629
  :type: set[bpy.typing.KeyingFlagItems]
166630
166630
  """
166631
166631
 
166632
- def poll(self, context: Context | None) -> bool:
166632
+ def poll(self, context: Context) -> bool:
166633
166633
  """Test if Keying Set can be used or not
166634
166634
 
166635
166635
  :param context:
166636
- :type context: Context | None
166636
+ :type context: Context
166637
166637
  :return:
166638
166638
  :rtype: bool
166639
166639
  """
166640
166640
 
166641
- def iterator(self, context: Context | None, ks: KeyingSet | None):
166641
+ def iterator(self, context: Context, ks: KeyingSet | None):
166642
166642
  """Call generate() on the structs which have properties to be keyframed
166643
166643
 
166644
166644
  :param context:
166645
- :type context: Context | None
166645
+ :type context: Context
166646
166646
  :param ks:
166647
166647
  :type ks: KeyingSet | None
166648
166648
  """
166649
166649
 
166650
- def generate(self, context: Context | None, ks: KeyingSet | None, data: typing.Any):
166650
+ def generate(self, context: Context, ks: KeyingSet | None, data: typing.Any):
166651
166651
  """Add Paths to the Keying Set to keyframe the properties of the given data
166652
166652
 
166653
166653
  :param context:
166654
- :type context: Context | None
166654
+ :type context: Context
166655
166655
  :param ks:
166656
166656
  :type ks: KeyingSet | None
166657
166657
  :param data:
@@ -172302,20 +172302,20 @@ class Macro(bpy_struct):
172302
172302
  """
172303
172303
 
172304
172304
  @classmethod
172305
- def poll(cls, context: Context | None) -> bool:
172305
+ def poll(cls, context: Context) -> bool:
172306
172306
  """Test if the operator can be called or not
172307
172307
 
172308
172308
  :param context:
172309
- :type context: Context | None
172309
+ :type context: Context
172310
172310
  :return:
172311
172311
  :rtype: bool
172312
172312
  """
172313
172313
 
172314
- def draw(self, context: Context | None):
172314
+ def draw(self, context: Context):
172315
172315
  """Draw function for the operator
172316
172316
 
172317
172317
  :param context:
172318
- :type context: Context | None
172318
+ :type context: Context
172319
172319
  """
172320
172320
 
172321
172321
  @classmethod
@@ -173726,20 +173726,20 @@ class Menu(bpy_struct):
173726
173726
  """
173727
173727
 
173728
173728
  @classmethod
173729
- def poll(cls, context: Context | None) -> bool:
173729
+ def poll(cls, context: Context) -> bool:
173730
173730
  """If this method returns a non-null output, then the menu can be drawn
173731
173731
 
173732
173732
  :param context:
173733
- :type context: Context | None
173733
+ :type context: Context
173734
173734
  :return:
173735
173735
  :rtype: bool
173736
173736
  """
173737
173737
 
173738
- def draw(self, context: Context | None):
173738
+ def draw(self, context: Context):
173739
173739
  """Draw UI elements into the menu UI layout
173740
173740
 
173741
173741
  :param context:
173742
- :type context: Context | None
173742
+ :type context: Context
173743
173743
  """
173744
173744
 
173745
173745
  @classmethod
@@ -178784,11 +178784,11 @@ class Node(bpy_struct):
178784
178784
  :type: float
178785
178785
  """
178786
178786
 
178787
- def socket_value_update(self, context: Context | None):
178787
+ def socket_value_update(self, context: Context):
178788
178788
  """Update after property changes
178789
178789
 
178790
178790
  :param context:
178791
- :type context: Context | None
178791
+ :type context: Context
178792
178792
  """
178793
178793
 
178794
178794
  @classmethod
@@ -178828,11 +178828,11 @@ class Node(bpy_struct):
178828
178828
  :type link: NodeLink
178829
178829
  """
178830
178830
 
178831
- def init(self, context: Context | None):
178831
+ def init(self, context: Context):
178832
178832
  """Initialize a new instance of this node
178833
178833
 
178834
178834
  :param context:
178835
- :type context: Context | None
178835
+ :type context: Context
178836
178836
  """
178837
178837
 
178838
178838
  def copy(self, node: typing_extensions.Self):
@@ -178845,20 +178845,20 @@ class Node(bpy_struct):
178845
178845
  def free(self):
178846
178846
  """Clean up node on removal"""
178847
178847
 
178848
- def draw_buttons(self, context: Context | None, layout: UILayout):
178848
+ def draw_buttons(self, context: Context, layout: UILayout):
178849
178849
  """Draw node buttons
178850
178850
 
178851
178851
  :param context:
178852
- :type context: Context | None
178852
+ :type context: Context
178853
178853
  :param layout: Layout, Layout in the UI
178854
178854
  :type layout: UILayout
178855
178855
  """
178856
178856
 
178857
- def draw_buttons_ext(self, context: Context | None, layout: UILayout):
178857
+ def draw_buttons_ext(self, context: Context, layout: UILayout):
178858
178858
  """Draw node buttons in the sidebar
178859
178859
 
178860
178860
  :param context:
178861
- :type context: Context | None
178861
+ :type context: Context
178862
178862
  :param layout: Layout, Layout in the UI
178863
178863
  :type layout: UILayout
178864
178864
  """
@@ -179354,20 +179354,20 @@ class NodeInternal(Node, bpy_struct):
179354
179354
  def update(self):
179355
179355
  """Update on node graph topology changes (adding or removing nodes and links)"""
179356
179356
 
179357
- def draw_buttons(self, context: Context | None, layout: UILayout):
179357
+ def draw_buttons(self, context: Context, layout: UILayout):
179358
179358
  """Draw node buttons
179359
179359
 
179360
179360
  :param context:
179361
- :type context: Context | None
179361
+ :type context: Context
179362
179362
  :param layout: Layout, Layout in the UI
179363
179363
  :type layout: UILayout
179364
179364
  """
179365
179365
 
179366
- def draw_buttons_ext(self, context: Context | None, layout: UILayout):
179366
+ def draw_buttons_ext(self, context: Context, layout: UILayout):
179367
179367
  """Draw node buttons in the sidebar
179368
179368
 
179369
179369
  :param context:
179370
- :type context: Context | None
179370
+ :type context: Context
179371
179371
  :param layout: Layout, Layout in the UI
179372
179372
  :type layout: UILayout
179373
179373
  """
@@ -179787,11 +179787,11 @@ class NodeSocket(bpy_struct):
179787
179787
  :type: NodeLinks | None
179788
179788
  """
179789
179789
 
179790
- def draw(self, context: Context | None, layout: UILayout, node: Node, text: str):
179790
+ def draw(self, context: Context, layout: UILayout, node: Node, text: str):
179791
179791
  """Draw socket
179792
179792
 
179793
179793
  :param context:
179794
- :type context: Context | None
179794
+ :type context: Context
179795
179795
  :param layout: Layout, Layout in the UI
179796
179796
  :type layout: UILayout
179797
179797
  :param node: Node, Node the socket belongs to
@@ -179800,11 +179800,11 @@ class NodeSocket(bpy_struct):
179800
179800
  :type text: str
179801
179801
  """
179802
179802
 
179803
- def draw_color(self, context: Context | None, node: Node) -> bpy_prop_array[float]:
179803
+ def draw_color(self, context: Context, node: Node) -> bpy_prop_array[float]:
179804
179804
  """Color of the socket icon
179805
179805
 
179806
179806
  :param context:
179807
- :type context: Context | None
179807
+ :type context: Context
179808
179808
  :param node: Node, Node the socket belongs to
179809
179809
  :type node: Node
179810
179810
  :return: Color
@@ -180792,11 +180792,11 @@ class NodeSocketStandard(NodeSocket, bpy_struct):
180792
180792
  :type: NodeLinks | None
180793
180793
  """
180794
180794
 
180795
- def draw(self, context: Context | None, layout: UILayout, node: Node, text: str):
180795
+ def draw(self, context: Context, layout: UILayout, node: Node, text: str):
180796
180796
  """Draw socket
180797
180797
 
180798
180798
  :param context:
180799
- :type context: Context | None
180799
+ :type context: Context
180800
180800
  :param layout: Layout, Layout in the UI
180801
180801
  :type layout: UILayout
180802
180802
  :param node: Node, Node the socket belongs to
@@ -180805,11 +180805,11 @@ class NodeSocketStandard(NodeSocket, bpy_struct):
180805
180805
  :type text: str
180806
180806
  """
180807
180807
 
180808
- def draw_color(self, context: Context | None, node: Node) -> bpy_prop_array[float]:
180808
+ def draw_color(self, context: Context, node: Node) -> bpy_prop_array[float]:
180809
180809
  """Color of the socket icon
180810
180810
 
180811
180811
  :param context:
180812
- :type context: Context | None
180812
+ :type context: Context
180813
180813
  :param node: Node, Node the socket belongs to
180814
180814
  :type node: Node
180815
180815
  :return: Color
@@ -181360,11 +181360,11 @@ class NodeTree(ID, bpy_struct):
181360
181360
  :type: mathutils.Vector
181361
181361
  """
181362
181362
 
181363
- def interface_update(self, context: Context | None):
181363
+ def interface_update(self, context: Context):
181364
181364
  """Updated node group interface
181365
181365
 
181366
181366
  :param context:
181367
- :type context: Context | None
181367
+ :type context: Context
181368
181368
  """
181369
181369
 
181370
181370
  def contains_tree(self, sub_tree: typing_extensions.Self) -> bool:
@@ -181377,11 +181377,11 @@ class NodeTree(ID, bpy_struct):
181377
181377
  """
181378
181378
 
181379
181379
  @classmethod
181380
- def poll(cls, context: Context | None) -> bool:
181380
+ def poll(cls, context: Context) -> bool:
181381
181381
  """Check visibility in the editor
181382
181382
 
181383
181383
  :param context:
181384
- :type context: Context | None
181384
+ :type context: Context
181385
181385
  :return:
181386
181386
  :rtype: bool
181387
181387
  """
@@ -181390,11 +181390,11 @@ class NodeTree(ID, bpy_struct):
181390
181390
  """Update on editor changes"""
181391
181391
 
181392
181392
  @classmethod
181393
- def get_from_context(cls, context: Context | None):
181393
+ def get_from_context(cls, context: Context):
181394
181394
  """Get a node tree from the context
181395
181395
 
181396
181396
  :param context:
181397
- :type context: Context | None
181397
+ :type context: Context
181398
181398
  :return: result_1, Active node tree from context, `NodeTree`
181399
181399
 
181400
181400
  result_2, ID data-block that owns the node tree, `ID`
@@ -181769,11 +181769,11 @@ class NodeTreeInterfaceSocket(NodeTreeInterfaceItem, bpy_struct):
181769
181769
  :type: str
181770
181770
  """
181771
181771
 
181772
- def draw(self, context: Context | None, layout: UILayout):
181772
+ def draw(self, context: Context, layout: UILayout):
181773
181773
  """Draw properties of the socket interface
181774
181774
 
181775
181775
  :param context:
181776
- :type context: Context | None
181776
+ :type context: Context
181777
181777
  :param layout: Layout, Layout in the UI
181778
181778
  :type layout: UILayout
181779
181779
  """
@@ -181831,11 +181831,11 @@ class NodeTreeInterfaceSocketBool(
181831
181831
  :type: bool
181832
181832
  """
181833
181833
 
181834
- def draw(self, context: Context | None, layout: UILayout):
181834
+ def draw(self, context: Context, layout: UILayout):
181835
181835
  """Draw interface socket settings
181836
181836
 
181837
181837
  :param context:
181838
- :type context: Context | None
181838
+ :type context: Context
181839
181839
  :param layout: Layout, Layout in the UI
181840
181840
  :type layout: UILayout
181841
181841
  """
@@ -181893,11 +181893,11 @@ class NodeTreeInterfaceSocketCollection(
181893
181893
  :type: Collection | None
181894
181894
  """
181895
181895
 
181896
- def draw(self, context: Context | None, layout: UILayout):
181896
+ def draw(self, context: Context, layout: UILayout):
181897
181897
  """Draw interface socket settings
181898
181898
 
181899
181899
  :param context:
181900
- :type context: Context | None
181900
+ :type context: Context
181901
181901
  :param layout: Layout, Layout in the UI
181902
181902
  :type layout: UILayout
181903
181903
  """
@@ -181955,11 +181955,11 @@ class NodeTreeInterfaceSocketColor(
181955
181955
  :type: bpy_prop_array[float]
181956
181956
  """
181957
181957
 
181958
- def draw(self, context: Context | None, layout: UILayout):
181958
+ def draw(self, context: Context, layout: UILayout):
181959
181959
  """Draw interface socket settings
181960
181960
 
181961
181961
  :param context:
181962
- :type context: Context | None
181962
+ :type context: Context
181963
181963
  :param layout: Layout, Layout in the UI
181964
181964
  :type layout: UILayout
181965
181965
  """
@@ -182035,11 +182035,11 @@ class NodeTreeInterfaceSocketFloat(
182035
182035
  :type: str
182036
182036
  """
182037
182037
 
182038
- def draw(self, context: Context | None, layout: UILayout):
182038
+ def draw(self, context: Context, layout: UILayout):
182039
182039
  """Draw interface socket settings
182040
182040
 
182041
182041
  :param context:
182042
- :type context: Context | None
182042
+ :type context: Context
182043
182043
  :param layout: Layout, Layout in the UI
182044
182044
  :type layout: UILayout
182045
182045
  """
@@ -182115,11 +182115,11 @@ class NodeTreeInterfaceSocketFloatAngle(
182115
182115
  :type: str
182116
182116
  """
182117
182117
 
182118
- def draw(self, context: Context | None, layout: UILayout):
182118
+ def draw(self, context: Context, layout: UILayout):
182119
182119
  """Draw interface socket settings
182120
182120
 
182121
182121
  :param context:
182122
- :type context: Context | None
182122
+ :type context: Context
182123
182123
  :param layout: Layout, Layout in the UI
182124
182124
  :type layout: UILayout
182125
182125
  """
@@ -182195,11 +182195,11 @@ class NodeTreeInterfaceSocketFloatColorTemperature(
182195
182195
  :type: str
182196
182196
  """
182197
182197
 
182198
- def draw(self, context: Context | None, layout: UILayout):
182198
+ def draw(self, context: Context, layout: UILayout):
182199
182199
  """Draw interface socket settings
182200
182200
 
182201
182201
  :param context:
182202
- :type context: Context | None
182202
+ :type context: Context
182203
182203
  :param layout: Layout, Layout in the UI
182204
182204
  :type layout: UILayout
182205
182205
  """
@@ -182275,11 +182275,11 @@ class NodeTreeInterfaceSocketFloatDistance(
182275
182275
  :type: str
182276
182276
  """
182277
182277
 
182278
- def draw(self, context: Context | None, layout: UILayout):
182278
+ def draw(self, context: Context, layout: UILayout):
182279
182279
  """Draw interface socket settings
182280
182280
 
182281
182281
  :param context:
182282
- :type context: Context | None
182282
+ :type context: Context
182283
182283
  :param layout: Layout, Layout in the UI
182284
182284
  :type layout: UILayout
182285
182285
  """
@@ -182355,11 +182355,11 @@ class NodeTreeInterfaceSocketFloatFactor(
182355
182355
  :type: str
182356
182356
  """
182357
182357
 
182358
- def draw(self, context: Context | None, layout: UILayout):
182358
+ def draw(self, context: Context, layout: UILayout):
182359
182359
  """Draw interface socket settings
182360
182360
 
182361
182361
  :param context:
182362
- :type context: Context | None
182362
+ :type context: Context
182363
182363
  :param layout: Layout, Layout in the UI
182364
182364
  :type layout: UILayout
182365
182365
  """
@@ -182435,11 +182435,11 @@ class NodeTreeInterfaceSocketFloatFrequency(
182435
182435
  :type: str
182436
182436
  """
182437
182437
 
182438
- def draw(self, context: Context | None, layout: UILayout):
182438
+ def draw(self, context: Context, layout: UILayout):
182439
182439
  """Draw interface socket settings
182440
182440
 
182441
182441
  :param context:
182442
- :type context: Context | None
182442
+ :type context: Context
182443
182443
  :param layout: Layout, Layout in the UI
182444
182444
  :type layout: UILayout
182445
182445
  """
@@ -182515,11 +182515,11 @@ class NodeTreeInterfaceSocketFloatPercentage(
182515
182515
  :type: str
182516
182516
  """
182517
182517
 
182518
- def draw(self, context: Context | None, layout: UILayout):
182518
+ def draw(self, context: Context, layout: UILayout):
182519
182519
  """Draw interface socket settings
182520
182520
 
182521
182521
  :param context:
182522
- :type context: Context | None
182522
+ :type context: Context
182523
182523
  :param layout: Layout, Layout in the UI
182524
182524
  :type layout: UILayout
182525
182525
  """
@@ -182595,11 +182595,11 @@ class NodeTreeInterfaceSocketFloatTime(
182595
182595
  :type: str
182596
182596
  """
182597
182597
 
182598
- def draw(self, context: Context | None, layout: UILayout):
182598
+ def draw(self, context: Context, layout: UILayout):
182599
182599
  """Draw interface socket settings
182600
182600
 
182601
182601
  :param context:
182602
- :type context: Context | None
182602
+ :type context: Context
182603
182603
  :param layout: Layout, Layout in the UI
182604
182604
  :type layout: UILayout
182605
182605
  """
@@ -182675,11 +182675,11 @@ class NodeTreeInterfaceSocketFloatTimeAbsolute(
182675
182675
  :type: str
182676
182676
  """
182677
182677
 
182678
- def draw(self, context: Context | None, layout: UILayout):
182678
+ def draw(self, context: Context, layout: UILayout):
182679
182679
  """Draw interface socket settings
182680
182680
 
182681
182681
  :param context:
182682
- :type context: Context | None
182682
+ :type context: Context
182683
182683
  :param layout: Layout, Layout in the UI
182684
182684
  :type layout: UILayout
182685
182685
  """
@@ -182755,11 +182755,11 @@ class NodeTreeInterfaceSocketFloatUnsigned(
182755
182755
  :type: str
182756
182756
  """
182757
182757
 
182758
- def draw(self, context: Context | None, layout: UILayout):
182758
+ def draw(self, context: Context, layout: UILayout):
182759
182759
  """Draw interface socket settings
182760
182760
 
182761
182761
  :param context:
182762
- :type context: Context | None
182762
+ :type context: Context
182763
182763
  :param layout: Layout, Layout in the UI
182764
182764
  :type layout: UILayout
182765
182765
  """
@@ -182835,11 +182835,11 @@ class NodeTreeInterfaceSocketFloatWavelength(
182835
182835
  :type: str
182836
182836
  """
182837
182837
 
182838
- def draw(self, context: Context | None, layout: UILayout):
182838
+ def draw(self, context: Context, layout: UILayout):
182839
182839
  """Draw interface socket settings
182840
182840
 
182841
182841
  :param context:
182842
- :type context: Context | None
182842
+ :type context: Context
182843
182843
  :param layout: Layout, Layout in the UI
182844
182844
  :type layout: UILayout
182845
182845
  """
@@ -182891,11 +182891,11 @@ class NodeTreeInterfaceSocketGeometry(
182891
182891
  ):
182892
182892
  """Geometry socket of a node"""
182893
182893
 
182894
- def draw(self, context: Context | None, layout: UILayout):
182894
+ def draw(self, context: Context, layout: UILayout):
182895
182895
  """Draw interface socket settings
182896
182896
 
182897
182897
  :param context:
182898
- :type context: Context | None
182898
+ :type context: Context
182899
182899
  :param layout: Layout, Layout in the UI
182900
182900
  :type layout: UILayout
182901
182901
  """
@@ -182953,11 +182953,11 @@ class NodeTreeInterfaceSocketImage(
182953
182953
  :type: Image | None
182954
182954
  """
182955
182955
 
182956
- def draw(self, context: Context | None, layout: UILayout):
182956
+ def draw(self, context: Context, layout: UILayout):
182957
182957
  """Draw interface socket settings
182958
182958
 
182959
182959
  :param context:
182960
- :type context: Context | None
182960
+ :type context: Context
182961
182961
  :param layout: Layout, Layout in the UI
182962
182962
  :type layout: UILayout
182963
182963
  """
@@ -183033,11 +183033,11 @@ class NodeTreeInterfaceSocketInt(
183033
183033
  :type: str
183034
183034
  """
183035
183035
 
183036
- def draw(self, context: Context | None, layout: UILayout):
183036
+ def draw(self, context: Context, layout: UILayout):
183037
183037
  """Draw interface socket settings
183038
183038
 
183039
183039
  :param context:
183040
- :type context: Context | None
183040
+ :type context: Context
183041
183041
  :param layout: Layout, Layout in the UI
183042
183042
  :type layout: UILayout
183043
183043
  """
@@ -183113,11 +183113,11 @@ class NodeTreeInterfaceSocketIntFactor(
183113
183113
  :type: str
183114
183114
  """
183115
183115
 
183116
- def draw(self, context: Context | None, layout: UILayout):
183116
+ def draw(self, context: Context, layout: UILayout):
183117
183117
  """Draw interface socket settings
183118
183118
 
183119
183119
  :param context:
183120
- :type context: Context | None
183120
+ :type context: Context
183121
183121
  :param layout: Layout, Layout in the UI
183122
183122
  :type layout: UILayout
183123
183123
  """
@@ -183193,11 +183193,11 @@ class NodeTreeInterfaceSocketIntPercentage(
183193
183193
  :type: str
183194
183194
  """
183195
183195
 
183196
- def draw(self, context: Context | None, layout: UILayout):
183196
+ def draw(self, context: Context, layout: UILayout):
183197
183197
  """Draw interface socket settings
183198
183198
 
183199
183199
  :param context:
183200
- :type context: Context | None
183200
+ :type context: Context
183201
183201
  :param layout: Layout, Layout in the UI
183202
183202
  :type layout: UILayout
183203
183203
  """
@@ -183273,11 +183273,11 @@ class NodeTreeInterfaceSocketIntUnsigned(
183273
183273
  :type: str
183274
183274
  """
183275
183275
 
183276
- def draw(self, context: Context | None, layout: UILayout):
183276
+ def draw(self, context: Context, layout: UILayout):
183277
183277
  """Draw interface socket settings
183278
183278
 
183279
183279
  :param context:
183280
- :type context: Context | None
183280
+ :type context: Context
183281
183281
  :param layout: Layout, Layout in the UI
183282
183282
  :type layout: UILayout
183283
183283
  """
@@ -183335,11 +183335,11 @@ class NodeTreeInterfaceSocketMaterial(
183335
183335
  :type: Material | None
183336
183336
  """
183337
183337
 
183338
- def draw(self, context: Context | None, layout: UILayout):
183338
+ def draw(self, context: Context, layout: UILayout):
183339
183339
  """Draw interface socket settings
183340
183340
 
183341
183341
  :param context:
183342
- :type context: Context | None
183342
+ :type context: Context
183343
183343
  :param layout: Layout, Layout in the UI
183344
183344
  :type layout: UILayout
183345
183345
  """
@@ -183391,11 +183391,11 @@ class NodeTreeInterfaceSocketMatrix(
183391
183391
  ):
183392
183392
  """Matrix value socket of a node"""
183393
183393
 
183394
- def draw(self, context: Context | None, layout: UILayout):
183394
+ def draw(self, context: Context, layout: UILayout):
183395
183395
  """Draw interface socket settings
183396
183396
 
183397
183397
  :param context:
183398
- :type context: Context | None
183398
+ :type context: Context
183399
183399
  :param layout: Layout, Layout in the UI
183400
183400
  :type layout: UILayout
183401
183401
  """
@@ -183453,11 +183453,11 @@ class NodeTreeInterfaceSocketMenu(
183453
183453
  :type: str
183454
183454
  """
183455
183455
 
183456
- def draw(self, context: Context | None, layout: UILayout):
183456
+ def draw(self, context: Context, layout: UILayout):
183457
183457
  """Draw interface socket settings
183458
183458
 
183459
183459
  :param context:
183460
- :type context: Context | None
183460
+ :type context: Context
183461
183461
  :param layout: Layout, Layout in the UI
183462
183462
  :type layout: UILayout
183463
183463
  """
@@ -183515,11 +183515,11 @@ class NodeTreeInterfaceSocketObject(
183515
183515
  :type: Object | None
183516
183516
  """
183517
183517
 
183518
- def draw(self, context: Context | None, layout: UILayout):
183518
+ def draw(self, context: Context, layout: UILayout):
183519
183519
  """Draw interface socket settings
183520
183520
 
183521
183521
  :param context:
183522
- :type context: Context | None
183522
+ :type context: Context
183523
183523
  :param layout: Layout, Layout in the UI
183524
183524
  :type layout: UILayout
183525
183525
  """
@@ -183577,11 +183577,11 @@ class NodeTreeInterfaceSocketRotation(
183577
183577
  :type: mathutils.Euler
183578
183578
  """
183579
183579
 
183580
- def draw(self, context: Context | None, layout: UILayout):
183580
+ def draw(self, context: Context, layout: UILayout):
183581
183581
  """Draw interface socket settings
183582
183582
 
183583
183583
  :param context:
183584
- :type context: Context | None
183584
+ :type context: Context
183585
183585
  :param layout: Layout, Layout in the UI
183586
183586
  :type layout: UILayout
183587
183587
  """
@@ -183633,11 +183633,11 @@ class NodeTreeInterfaceSocketShader(
183633
183633
  ):
183634
183634
  """Shader socket of a node"""
183635
183635
 
183636
- def draw(self, context: Context | None, layout: UILayout):
183636
+ def draw(self, context: Context, layout: UILayout):
183637
183637
  """Draw interface socket settings
183638
183638
 
183639
183639
  :param context:
183640
- :type context: Context | None
183640
+ :type context: Context
183641
183641
  :param layout: Layout, Layout in the UI
183642
183642
  :type layout: UILayout
183643
183643
  """
@@ -183701,11 +183701,11 @@ class NodeTreeInterfaceSocketString(
183701
183701
  :type: str
183702
183702
  """
183703
183703
 
183704
- def draw(self, context: Context | None, layout: UILayout):
183704
+ def draw(self, context: Context, layout: UILayout):
183705
183705
  """Draw interface socket settings
183706
183706
 
183707
183707
  :param context:
183708
- :type context: Context | None
183708
+ :type context: Context
183709
183709
  :param layout: Layout, Layout in the UI
183710
183710
  :type layout: UILayout
183711
183711
  """
@@ -183769,11 +183769,11 @@ class NodeTreeInterfaceSocketStringFilePath(
183769
183769
  :type: str
183770
183770
  """
183771
183771
 
183772
- def draw(self, context: Context | None, layout: UILayout):
183772
+ def draw(self, context: Context, layout: UILayout):
183773
183773
  """Draw interface socket settings
183774
183774
 
183775
183775
  :param context:
183776
- :type context: Context | None
183776
+ :type context: Context
183777
183777
  :param layout: Layout, Layout in the UI
183778
183778
  :type layout: UILayout
183779
183779
  """
@@ -183831,11 +183831,11 @@ class NodeTreeInterfaceSocketTexture(
183831
183831
  :type: Texture | None
183832
183832
  """
183833
183833
 
183834
- def draw(self, context: Context | None, layout: UILayout):
183834
+ def draw(self, context: Context, layout: UILayout):
183835
183835
  """Draw interface socket settings
183836
183836
 
183837
183837
  :param context:
183838
- :type context: Context | None
183838
+ :type context: Context
183839
183839
  :param layout: Layout, Layout in the UI
183840
183840
  :type layout: UILayout
183841
183841
  """
@@ -183911,11 +183911,11 @@ class NodeTreeInterfaceSocketVector(
183911
183911
  :type: str
183912
183912
  """
183913
183913
 
183914
- def draw(self, context: Context | None, layout: UILayout):
183914
+ def draw(self, context: Context, layout: UILayout):
183915
183915
  """Draw interface socket settings
183916
183916
 
183917
183917
  :param context:
183918
- :type context: Context | None
183918
+ :type context: Context
183919
183919
  :param layout: Layout, Layout in the UI
183920
183920
  :type layout: UILayout
183921
183921
  """
@@ -183991,11 +183991,11 @@ class NodeTreeInterfaceSocketVectorAcceleration(
183991
183991
  :type: str
183992
183992
  """
183993
183993
 
183994
- def draw(self, context: Context | None, layout: UILayout):
183994
+ def draw(self, context: Context, layout: UILayout):
183995
183995
  """Draw interface socket settings
183996
183996
 
183997
183997
  :param context:
183998
- :type context: Context | None
183998
+ :type context: Context
183999
183999
  :param layout: Layout, Layout in the UI
184000
184000
  :type layout: UILayout
184001
184001
  """
@@ -184071,11 +184071,11 @@ class NodeTreeInterfaceSocketVectorDirection(
184071
184071
  :type: str
184072
184072
  """
184073
184073
 
184074
- def draw(self, context: Context | None, layout: UILayout):
184074
+ def draw(self, context: Context, layout: UILayout):
184075
184075
  """Draw interface socket settings
184076
184076
 
184077
184077
  :param context:
184078
- :type context: Context | None
184078
+ :type context: Context
184079
184079
  :param layout: Layout, Layout in the UI
184080
184080
  :type layout: UILayout
184081
184081
  """
@@ -184151,11 +184151,11 @@ class NodeTreeInterfaceSocketVectorEuler(
184151
184151
  :type: str
184152
184152
  """
184153
184153
 
184154
- def draw(self, context: Context | None, layout: UILayout):
184154
+ def draw(self, context: Context, layout: UILayout):
184155
184155
  """Draw interface socket settings
184156
184156
 
184157
184157
  :param context:
184158
- :type context: Context | None
184158
+ :type context: Context
184159
184159
  :param layout: Layout, Layout in the UI
184160
184160
  :type layout: UILayout
184161
184161
  """
@@ -184231,11 +184231,11 @@ class NodeTreeInterfaceSocketVectorTranslation(
184231
184231
  :type: str
184232
184232
  """
184233
184233
 
184234
- def draw(self, context: Context | None, layout: UILayout):
184234
+ def draw(self, context: Context, layout: UILayout):
184235
184235
  """Draw interface socket settings
184236
184236
 
184237
184237
  :param context:
184238
- :type context: Context | None
184238
+ :type context: Context
184239
184239
  :param layout: Layout, Layout in the UI
184240
184240
  :type layout: UILayout
184241
184241
  """
@@ -184311,11 +184311,11 @@ class NodeTreeInterfaceSocketVectorVelocity(
184311
184311
  :type: str
184312
184312
  """
184313
184313
 
184314
- def draw(self, context: Context | None, layout: UILayout):
184314
+ def draw(self, context: Context, layout: UILayout):
184315
184315
  """Draw interface socket settings
184316
184316
 
184317
184317
  :param context:
184318
- :type context: Context | None
184318
+ :type context: Context
184319
184319
  :param layout: Layout, Layout in the UI
184320
184320
  :type layout: UILayout
184321
184321
  """
@@ -184391,11 +184391,11 @@ class NodeTreeInterfaceSocketVectorXYZ(
184391
184391
  :type: str
184392
184392
  """
184393
184393
 
184394
- def draw(self, context: Context | None, layout: UILayout):
184394
+ def draw(self, context: Context, layout: UILayout):
184395
184395
  """Draw interface socket settings
184396
184396
 
184397
184397
  :param context:
184398
- :type context: Context | None
184398
+ :type context: Context
184399
184399
  :param layout: Layout, Layout in the UI
184400
184400
  :type layout: UILayout
184401
184401
  """
@@ -186583,40 +186583,40 @@ expanding an operator into a menu.
186583
186583
  """
186584
186584
 
186585
186585
  @classmethod
186586
- def poll(cls, context: Context | None) -> bool:
186586
+ def poll(cls, context: Context) -> bool:
186587
186587
  """Test if the operator can be called or not
186588
186588
 
186589
186589
  :param context:
186590
- :type context: Context | None
186590
+ :type context: Context
186591
186591
  :return:
186592
186592
  :rtype: bool
186593
186593
  """
186594
186594
 
186595
- def execute(self, context: Context | None) -> set[bpy.typing.OperatorReturnItems]:
186595
+ def execute(self, context: Context) -> set[bpy.typing.OperatorReturnItems]:
186596
186596
  """Execute the operator
186597
186597
 
186598
186598
  :param context:
186599
- :type context: Context | None
186599
+ :type context: Context
186600
186600
  :return: result
186601
186601
  :rtype: set[bpy.typing.OperatorReturnItems]
186602
186602
  """
186603
186603
 
186604
- def check(self, context: Context | None) -> bool:
186604
+ def check(self, context: Context) -> bool:
186605
186605
  """Check the operator settings, return True to signal a change to redraw
186606
186606
 
186607
186607
  :param context:
186608
- :type context: Context | None
186608
+ :type context: Context
186609
186609
  :return: result
186610
186610
  :rtype: bool
186611
186611
  """
186612
186612
 
186613
186613
  def invoke(
186614
- self, context: Context | None, event: Event
186614
+ self, context: Context, event: Event
186615
186615
  ) -> set[bpy.typing.OperatorReturnItems]:
186616
186616
  """Invoke the operator
186617
186617
 
186618
186618
  :param context:
186619
- :type context: Context | None
186619
+ :type context: Context
186620
186620
  :param event:
186621
186621
  :type event: Event
186622
186622
  :return: result
@@ -186624,40 +186624,38 @@ expanding an operator into a menu.
186624
186624
  """
186625
186625
 
186626
186626
  def modal(
186627
- self, context: Context | None, event: Event
186627
+ self, context: Context, event: Event
186628
186628
  ) -> set[bpy.typing.OperatorReturnItems]:
186629
186629
  """Modal operator function
186630
186630
 
186631
186631
  :param context:
186632
- :type context: Context | None
186632
+ :type context: Context
186633
186633
  :param event:
186634
186634
  :type event: Event
186635
186635
  :return: result
186636
186636
  :rtype: set[bpy.typing.OperatorReturnItems]
186637
186637
  """
186638
186638
 
186639
- def draw(self, context: Context | None):
186639
+ def draw(self, context: Context):
186640
186640
  """Draw function for the operator
186641
186641
 
186642
186642
  :param context:
186643
- :type context: Context | None
186643
+ :type context: Context
186644
186644
  """
186645
186645
 
186646
- def cancel(self, context: Context | None):
186646
+ def cancel(self, context: Context):
186647
186647
  """Called when the operator is canceled
186648
186648
 
186649
186649
  :param context:
186650
- :type context: Context | None
186650
+ :type context: Context
186651
186651
  """
186652
186652
 
186653
186653
  @classmethod
186654
- def description(
186655
- cls, context: Context | None, properties: OperatorProperties
186656
- ) -> str:
186654
+ def description(cls, context: Context, properties: OperatorProperties) -> str:
186657
186655
  """Compute a description string that depends on parameters
186658
186656
 
186659
186657
  :param context:
186660
- :type context: Context | None
186658
+ :type context: Context
186661
186659
  :param properties:
186662
186660
  :type properties: OperatorProperties
186663
186661
  :return: result
@@ -187618,34 +187616,34 @@ class Panel(bpy_struct):
187618
187616
  """
187619
187617
 
187620
187618
  @classmethod
187621
- def poll(cls, context: Context | None) -> bool:
187619
+ def poll(cls, context: Context) -> bool:
187622
187620
  """If this method returns a non-null output, then the panel can be drawn
187623
187621
 
187624
187622
  :param context:
187625
- :type context: Context | None
187623
+ :type context: Context
187626
187624
  :return:
187627
187625
  :rtype: bool
187628
187626
  """
187629
187627
 
187630
- def draw(self, context: Context | None):
187628
+ def draw(self, context: Context):
187631
187629
  """Draw UI elements into the panel UI layout
187632
187630
 
187633
187631
  :param context:
187634
- :type context: Context | None
187632
+ :type context: Context
187635
187633
  """
187636
187634
 
187637
- def draw_header(self, context: Context | None):
187635
+ def draw_header(self, context: Context):
187638
187636
  """Draw UI elements into the panel's header UI layout
187639
187637
 
187640
187638
  :param context:
187641
- :type context: Context | None
187639
+ :type context: Context
187642
187640
  """
187643
187641
 
187644
- def draw_header_preset(self, context: Context | None):
187642
+ def draw_header_preset(self, context: Context):
187645
187643
  """Draw UI elements for presets in the panel's header
187646
187644
 
187647
187645
  :param context:
187648
- :type context: Context | None
187646
+ :type context: Context
187649
187647
  """
187650
187648
 
187651
187649
  @classmethod
@@ -194442,11 +194440,11 @@ class RenderEngine(bpy_struct):
194442
194440
  def render_frame_finish(self):
194443
194441
  """Perform finishing operations after all view layers in a frame were rendered"""
194444
194442
 
194445
- def draw(self, context: Context | None, depsgraph: Depsgraph | None):
194443
+ def draw(self, context: Context, depsgraph: Depsgraph | None):
194446
194444
  """Draw render image
194447
194445
 
194448
194446
  :param context:
194449
- :type context: Context | None
194447
+ :type context: Context
194450
194448
  :param depsgraph:
194451
194449
  :type depsgraph: Depsgraph | None
194452
194450
  """
@@ -194476,20 +194474,20 @@ class RenderEngine(bpy_struct):
194476
194474
  :type height: int | None
194477
194475
  """
194478
194476
 
194479
- def view_update(self, context: Context | None, depsgraph: Depsgraph | None):
194477
+ def view_update(self, context: Context, depsgraph: Depsgraph | None):
194480
194478
  """Update on data changes for viewport render
194481
194479
 
194482
194480
  :param context:
194483
- :type context: Context | None
194481
+ :type context: Context
194484
194482
  :param depsgraph:
194485
194483
  :type depsgraph: Depsgraph | None
194486
194484
  """
194487
194485
 
194488
- def view_draw(self, context: Context | None, depsgraph: Depsgraph | None):
194486
+ def view_draw(self, context: Context, depsgraph: Depsgraph | None):
194489
194487
  """Draw viewport render
194490
194488
 
194491
194489
  :param context:
194492
- :type context: Context | None
194490
+ :type context: Context
194493
194491
  :param depsgraph:
194494
194492
  :type depsgraph: Depsgraph | None
194495
194493
  """
@@ -224732,7 +224730,7 @@ class UIList(bpy_struct):
224732
224730
 
224733
224731
  def draw_item(
224734
224732
  self,
224735
- context: Context | None,
224733
+ context: Context,
224736
224734
  layout: UILayout,
224737
224735
  data: typing.Any | None,
224738
224736
  item: typing.Any | None,
@@ -224746,7 +224744,7 @@ class UIList(bpy_struct):
224746
224744
  """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...)
224747
224745
 
224748
224746
  :param context:
224749
- :type context: Context | None
224747
+ :type context: Context
224750
224748
  :param layout: Layout to draw the item
224751
224749
  :type layout: UILayout
224752
224750
  :param data: Data from which to take Collection property
@@ -224765,22 +224763,20 @@ class UIList(bpy_struct):
224765
224763
  :type flt_flag: int | None
224766
224764
  """
224767
224765
 
224768
- def draw_filter(self, context: Context | None, layout: UILayout):
224766
+ def draw_filter(self, context: Context, layout: UILayout):
224769
224767
  """Draw filtering options
224770
224768
 
224771
224769
  :param context:
224772
- :type context: Context | None
224770
+ :type context: Context
224773
224771
  :param layout: Layout to draw the item
224774
224772
  :type layout: UILayout
224775
224773
  """
224776
224774
 
224777
- def filter_items(
224778
- self, context: Context | None, data: typing.Any | None, property: str
224779
- ):
224775
+ def filter_items(self, context: Context, data: typing.Any | None, property: str):
224780
224776
  """Filter and/or re-order items of the collection (output filter results in filter_flags, and reorder results in filter_neworder arrays)
224781
224777
 
224782
224778
  :param context:
224783
- :type context: Context | None
224779
+ :type context: Context
224784
224780
  :param data: Data from which to take Collection property
224785
224781
  :type data: typing.Any | None
224786
224782
  :param property: Identifier of property in data, for the collection
@@ -231891,29 +231887,29 @@ class XrSessionState(bpy_struct):
231891
231887
  """
231892
231888
 
231893
231889
  @classmethod
231894
- def is_running(cls, context: Context | None) -> bool:
231890
+ def is_running(cls, context: Context) -> bool:
231895
231891
  """Query if the VR session is currently running
231896
231892
 
231897
231893
  :param context:
231898
- :type context: Context | None
231894
+ :type context: Context
231899
231895
  :return: Result
231900
231896
  :rtype: bool
231901
231897
  """
231902
231898
 
231903
231899
  @classmethod
231904
- def reset_to_base_pose(cls, context: Context | None):
231900
+ def reset_to_base_pose(cls, context: Context):
231905
231901
  """Force resetting of position and rotation deltas
231906
231902
 
231907
231903
  :param context:
231908
- :type context: Context | None
231904
+ :type context: Context
231909
231905
  """
231910
231906
 
231911
231907
  @classmethod
231912
- def action_set_create(cls, context: Context | None, actionmap: XrActionMap) -> bool:
231908
+ def action_set_create(cls, context: Context, actionmap: XrActionMap) -> bool:
231913
231909
  """Create a VR action set
231914
231910
 
231915
231911
  :param context:
231916
- :type context: Context | None
231912
+ :type context: Context
231917
231913
  :param actionmap:
231918
231914
  :type actionmap: XrActionMap
231919
231915
  :return: Result
@@ -231922,15 +231918,12 @@ class XrSessionState(bpy_struct):
231922
231918
 
231923
231919
  @classmethod
231924
231920
  def action_create(
231925
- cls,
231926
- context: Context | None,
231927
- actionmap: XrActionMap,
231928
- actionmap_item: XrActionMapItem,
231921
+ cls, context: Context, actionmap: XrActionMap, actionmap_item: XrActionMapItem
231929
231922
  ) -> bool:
231930
231923
  """Create a VR action
231931
231924
 
231932
231925
  :param context:
231933
- :type context: Context | None
231926
+ :type context: Context
231934
231927
  :param actionmap:
231935
231928
  :type actionmap: XrActionMap
231936
231929
  :param actionmap_item:
@@ -231942,7 +231935,7 @@ class XrSessionState(bpy_struct):
231942
231935
  @classmethod
231943
231936
  def action_binding_create(
231944
231937
  cls,
231945
- context: Context | None,
231938
+ context: Context,
231946
231939
  actionmap: XrActionMap,
231947
231940
  actionmap_item: XrActionMapItem,
231948
231941
  actionmap_binding: XrActionMapBinding,
@@ -231950,7 +231943,7 @@ class XrSessionState(bpy_struct):
231950
231943
  """Create a VR action binding
231951
231944
 
231952
231945
  :param context:
231953
- :type context: Context | None
231946
+ :type context: Context
231954
231947
  :param actionmap:
231955
231948
  :type actionmap: XrActionMap
231956
231949
  :param actionmap_item:
@@ -231962,11 +231955,11 @@ class XrSessionState(bpy_struct):
231962
231955
  """
231963
231956
 
231964
231957
  @classmethod
231965
- def active_action_set_set(cls, context: Context | None, action_set: str) -> bool:
231958
+ def active_action_set_set(cls, context: Context, action_set: str) -> bool:
231966
231959
  """Set the active VR action set
231967
231960
 
231968
231961
  :param context:
231969
- :type context: Context | None
231962
+ :type context: Context
231970
231963
  :param action_set: Action Set, Action set name
231971
231964
  :type action_set: str
231972
231965
  :return: Result
@@ -231975,12 +231968,12 @@ class XrSessionState(bpy_struct):
231975
231968
 
231976
231969
  @classmethod
231977
231970
  def controller_pose_actions_set(
231978
- cls, context: Context | None, action_set: str, grip_action: str, aim_action: str
231971
+ cls, context: Context, action_set: str, grip_action: str, aim_action: str
231979
231972
  ) -> bool:
231980
231973
  """Set the actions that determine the VR controller poses
231981
231974
 
231982
231975
  :param context:
231983
- :type context: Context | None
231976
+ :type context: Context
231984
231977
  :param action_set: Action Set, Action set name
231985
231978
  :type action_set: str
231986
231979
  :param grip_action: Grip Action, Name of the action representing the controller grips
@@ -231993,16 +231986,12 @@ class XrSessionState(bpy_struct):
231993
231986
 
231994
231987
  @classmethod
231995
231988
  def action_state_get(
231996
- cls,
231997
- context: Context | None,
231998
- action_set_name: str,
231999
- action_name: str,
232000
- user_path: str,
231989
+ cls, context: Context, action_set_name: str, action_name: str, user_path: str
232001
231990
  ) -> bpy_prop_array[float]:
232002
231991
  """Get the current state of a VR action
232003
231992
 
232004
231993
  :param context:
232005
- :type context: Context | None
231994
+ :type context: Context
232006
231995
  :param action_set_name: Action Set, Action set name
232007
231996
  :type action_set_name: str
232008
231997
  :param action_name: Action, Action name
@@ -232016,7 +232005,7 @@ class XrSessionState(bpy_struct):
232016
232005
  @classmethod
232017
232006
  def haptic_action_apply(
232018
232007
  cls,
232019
- context: Context | None,
232008
+ context: Context,
232020
232009
  action_set_name: str,
232021
232010
  action_name: str,
232022
232011
  user_path: str,
@@ -232027,7 +232016,7 @@ class XrSessionState(bpy_struct):
232027
232016
  """Apply a VR haptic action
232028
232017
 
232029
232018
  :param context:
232030
- :type context: Context | None
232019
+ :type context: Context
232031
232020
  :param action_set_name: Action Set, Action set name
232032
232021
  :type action_set_name: str
232033
232022
  :param action_name: Action, Action name
@@ -232046,16 +232035,12 @@ class XrSessionState(bpy_struct):
232046
232035
 
232047
232036
  @classmethod
232048
232037
  def haptic_action_stop(
232049
- cls,
232050
- context: Context | None,
232051
- action_set_name: str,
232052
- action_name: str,
232053
- user_path: str,
232038
+ cls, context: Context, action_set_name: str, action_name: str, user_path: str
232054
232039
  ):
232055
232040
  """Stop a VR haptic action
232056
232041
 
232057
232042
  :param context:
232058
- :type context: Context | None
232043
+ :type context: Context
232059
232044
  :param action_set_name: Action Set, Action set name
232060
232045
  :type action_set_name: str
232061
232046
  :param action_name: Action, Action name
@@ -232066,12 +232051,12 @@ class XrSessionState(bpy_struct):
232066
232051
 
232067
232052
  @classmethod
232068
232053
  def controller_grip_location_get(
232069
- cls, context: Context | None, index: int | None
232054
+ cls, context: Context, index: int | None
232070
232055
  ) -> mathutils.Vector:
232071
232056
  """Get the last known controller grip location in world space
232072
232057
 
232073
232058
  :param context:
232074
- :type context: Context | None
232059
+ :type context: Context
232075
232060
  :param index: Index, Controller index
232076
232061
  :type index: int | None
232077
232062
  :return: Location, Controller grip location
@@ -232080,12 +232065,12 @@ class XrSessionState(bpy_struct):
232080
232065
 
232081
232066
  @classmethod
232082
232067
  def controller_grip_rotation_get(
232083
- cls, context: Context | None, index: int | None
232068
+ cls, context: Context, index: int | None
232084
232069
  ) -> mathutils.Quaternion:
232085
232070
  """Get the last known controller grip rotation (quaternion) in world space
232086
232071
 
232087
232072
  :param context:
232088
- :type context: Context | None
232073
+ :type context: Context
232089
232074
  :param index: Index, Controller index
232090
232075
  :type index: int | None
232091
232076
  :return: Rotation, Controller grip quaternion rotation
@@ -232094,12 +232079,12 @@ class XrSessionState(bpy_struct):
232094
232079
 
232095
232080
  @classmethod
232096
232081
  def controller_aim_location_get(
232097
- cls, context: Context | None, index: int | None
232082
+ cls, context: Context, index: int | None
232098
232083
  ) -> mathutils.Vector:
232099
232084
  """Get the last known controller aim location in world space
232100
232085
 
232101
232086
  :param context:
232102
- :type context: Context | None
232087
+ :type context: Context
232103
232088
  :param index: Index, Controller index
232104
232089
  :type index: int | None
232105
232090
  :return: Location, Controller aim location
@@ -232108,12 +232093,12 @@ class XrSessionState(bpy_struct):
232108
232093
 
232109
232094
  @classmethod
232110
232095
  def controller_aim_rotation_get(
232111
- cls, context: Context | None, index: int | None
232096
+ cls, context: Context, index: int | None
232112
232097
  ) -> mathutils.Quaternion:
232113
232098
  """Get the last known controller aim rotation (quaternion) in world space
232114
232099
 
232115
232100
  :param context:
232116
- :type context: Context | None
232101
+ :type context: Context
232117
232102
  :param index: Index, Controller index
232118
232103
  :type index: int | None
232119
232104
  :return: Rotation, Controller aim quaternion rotation