fake-bge-module 20250228__py3-none-any.whl → 20250301__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.
bpy/types/__init__.pyi CHANGED
@@ -168515,6 +168515,12 @@ class GreasePencilLayer(GreasePencilTreeNode, bpy_struct):
168515
168515
  class GreasePencilLayerGroup(GreasePencilTreeNode, bpy_struct):
168516
168516
  """Group of Grease Pencil layers"""
168517
168517
 
168518
+ channel_color: mathutils.Color
168519
+ """
168520
+
168521
+ :type: mathutils.Color
168522
+ """
168523
+
168518
168524
  color_tag: typing.Literal[
168519
168525
  "NONE",
168520
168526
  "COLOR1",
@@ -63,6 +63,13 @@ class KeyframesCo:
63
63
  :type action_group_name: str
64
64
  """
65
65
 
66
+ def action_get_channelbag_for_slot(action, slot):
67
+ """Returns the first channelbag found for the slot.
68
+ In case there are multiple layers or strips they are iterated until a
69
+ channelbag for that slot is found. In case no matching channelbag is found, returns None.
70
+
71
+ """
72
+
66
73
  def bake_action(
67
74
  obj: bpy.types.Object, *, action: None | bpy.types.Action, frames: int, bake_options
68
75
  ) -> None | bpy.types.Action:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: fake-bge-module
3
- Version: 20250228
3
+ Version: 20250301
4
4
  Summary: Collection of the fake Blender Game Engine (BGE) Python API module for the code completion.
5
5
  Author: nutti
6
6
  Author-email: nutti.metro@gmail.com
@@ -307,13 +307,13 @@ bpy/ops/workspace/__init__.pyi,sha256=BHvDV5CcVBnuKaL8akhm-Es7VcGUjf3jGFTbfx5YHC
307
307
  bpy/ops/world/__init__.pyi,sha256=pBV8EDA8HoWovDSul6mxkF7Mt6N3PQWuukRhkw3dBr8,601
308
308
  bpy/path/__init__.pyi,sha256=emlV7ocbsOuOSMzxJXr6ldKRk2-_K0DWlKc3Ylt5dsU,5484
309
309
  bpy/props/__init__.pyi,sha256=Ky1J5ndL8p_pvAaQakudyKKVynbr1NxXvzoN-5E9_I0,35237
310
- bpy/types/__init__.pyi,sha256=lUVIZ89oC0RGSCjjOZl-ui5-yFFrubjdp8oB6qqlu2w,5706648
310
+ bpy/types/__init__.pyi,sha256=1KI79FT60958sMMi-6qdE4a_mepmm2n47kFIwEnnWn4,5706729
311
311
  bpy/utils/__init__.pyi,sha256=y7dfOaWh9PE_q0Qs8gEKOm71RQuMZI0wQ1B07DCDHF4,14909
312
312
  bpy/utils/previews/__init__.pyi,sha256=AsbDN4vRLbSTZ7_S_4LqmI1sJmV_8NnqDt1QfBdH94Y,2280
313
313
  bpy/utils/units/__init__.pyi,sha256=QuXx22JjmObRmP_KcdoqOlDSvVtXZHeK5nTIvwjcUnI,2645
314
314
  bpy_extras/__init__.pyi,sha256=wejK55NeAEGsAzM9psNhBokX9H0DBihwOdNQ5XlCHB4,968
315
315
  bpy_extras/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
316
- bpy_extras/anim_utils/__init__.pyi,sha256=X7i1EWhLlGBe16Zc0KqKf7c2mVz81zhXcvmvkk6xMAM,4210
316
+ bpy_extras/anim_utils/__init__.pyi,sha256=v9ZaaOJDugts77G7WHIFtNoCJ1kgGzkAF4oGpdf92uE,4494
317
317
  bpy_extras/asset_utils/__init__.pyi,sha256=AaHtXcv1a-TrQUpu7Rm1A9gcwXRUZVaHOKjVV_hCcyM,194
318
318
  bpy_extras/bmesh_utils/__init__.pyi,sha256=oo5HU1Z0ILE04jc7p68-4vFP8k7sD3qhcLGSoCbxv9g,478
319
319
  bpy_extras/id_map_utils/__init__.pyi,sha256=oTM7UGvrLRIhWXjHhXcwE20PNjSyRVXlV9FLAn_QCk4,450
@@ -356,7 +356,7 @@ gpu/texture/__init__.pyi,sha256=NWixhD9M2vFrAIWlQDM0Co-CNRiU7BbL7imkSOloHHI,641
356
356
  gpu/types/__init__.pyi,sha256=Q8Gym2MsHoDFLW7snVIfPMUGCQns-XA2URYfeOV3nnk,27923
357
357
  gpu_extras/__init__.pyi,sha256=oNgtMNheClZ_iCmKSH63hBJ4U0huayOWKil-qPvYHds,213
358
358
  gpu_extras/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
359
- gpu_extras/batch/__init__.pyi,sha256=nbeZNWRKChMLBkKYc4mLF9abAffVyzEHp01yf64gZK8,1279
359
+ gpu_extras/batch/__init__.pyi,sha256=t-kFLEyZ0OABqt8VbtSwvo60S7vw15Tq5HRea-G3odE,1278
360
360
  gpu_extras/presets/__init__.pyi,sha256=pDhGELr5vKTZ9yDsLJ4Y836Kmh7cs95rDhSwd1i5e-s,1647
361
361
  graphviz_export/__init__.pyi,sha256=LBiepSfMSL7Qix8FZ6LYKmbPgu1AHRvRw3yHDDWYrEw,215
362
362
  graphviz_export/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -389,7 +389,7 @@ rna_prop_ui/__init__.pyi,sha256=lShhkbbeJ_ANi2dy4J4HIkyp1HZrMqCfhcf8QpAQsj0,1281
389
389
  rna_prop_ui/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
390
390
  rna_xml/__init__.pyi,sha256=idYsAZj-_egBKMA2pQl2P9IoNhZxXIkBSALFuq-ylO8,577
391
391
  rna_xml/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
392
- fake_bge_module-20250228.dist-info/METADATA,sha256=tvD6jjIQobVACqV4IUgWtpPc6SLhoWE-2gdl0zQdWIs,4872
393
- fake_bge_module-20250228.dist-info/WHEEL,sha256=jB7zZ3N9hIM9adW7qlTAyycLYW9npaWKLRzaoVcLKcM,91
394
- fake_bge_module-20250228.dist-info/top_level.txt,sha256=eE5ylpw84TnTp2h-RCfTJgCBykd4PsHdymQwBM_dVls,544
395
- fake_bge_module-20250228.dist-info/RECORD,,
392
+ fake_bge_module-20250301.dist-info/METADATA,sha256=-9mOzve6-CoEYwrPP9-bTbDtpxTG3aGQmnl8iNhcc14,4872
393
+ fake_bge_module-20250301.dist-info/WHEEL,sha256=jB7zZ3N9hIM9adW7qlTAyycLYW9npaWKLRzaoVcLKcM,91
394
+ fake_bge_module-20250301.dist-info/top_level.txt,sha256=eE5ylpw84TnTp2h-RCfTJgCBykd4PsHdymQwBM_dVls,544
395
+ fake_bge_module-20250301.dist-info/RECORD,,
@@ -1,6 +1,7 @@
1
1
  import typing
2
2
  import collections.abc
3
3
  import typing_extensions
4
+ import bgl
4
5
  import gpu.types
5
6
 
6
7
  def batch_for_shader(
@@ -8,7 +9,7 @@ def batch_for_shader(
8
9
  type: str,
9
10
  content: dict[
10
11
  str,
11
- gpu.types.Buffer
12
+ bgl.Buffer
12
13
  | collections.abc.Sequence[float]
13
14
  | collections.abc.Sequence[int]
14
15
  | collections.abc.Sequence[collections.abc.Sequence[float]]
@@ -25,7 +26,7 @@ def batch_for_shader(
25
26
  :type type: str
26
27
  :param content: Maps the name of the shader attribute with the data to fill the vertex buffer.
27
28
  For the dictionary values see documentation for `gpu.types.GPUVertBuf.attr_fill` data argument.
28
- :type content: dict[str, gpu.types.Buffer | collections.abc.Sequence[float] | collections.abc.Sequence[int] | collections.abc.Sequence[collections.abc.Sequence[float]] | collections.abc.Sequence[collections.abc.Sequence[int]]]
29
+ :type content: dict[str, bgl.Buffer | collections.abc.Sequence[float] | collections.abc.Sequence[int] | collections.abc.Sequence[collections.abc.Sequence[float]] | collections.abc.Sequence[collections.abc.Sequence[int]]]
29
30
  :return: compatible batch
30
31
  :rtype: gpu.types.GPUBatch
31
32
  """