pyobjc-framework-SceneKit 12.2__cp315-cp315-macosx_10_15_universal2.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.
- SceneKit/_SceneKit.cpython-315-darwin.so +0 -0
- SceneKit/__init__.py +63 -0
- SceneKit/_inlines.cpython-315-darwin.so +0 -0
- SceneKit/_metadata.py +2310 -0
- pyobjc_framework_scenekit-12.2.dist-info/METADATA +69 -0
- pyobjc_framework_scenekit-12.2.dist-info/RECORD +9 -0
- pyobjc_framework_scenekit-12.2.dist-info/WHEEL +5 -0
- pyobjc_framework_scenekit-12.2.dist-info/pyobjc-build-info.txt +3 -0
- pyobjc_framework_scenekit-12.2.dist-info/top_level.txt +1 -0
|
Binary file
|
SceneKit/__init__.py
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Python mapping for the SceneKit framework.
|
|
3
|
+
|
|
4
|
+
This module does not contain docstrings for the wrapped code, check Apple's
|
|
5
|
+
documentation for details on how to use these functions and classes.
|
|
6
|
+
"""
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
def _setup():
|
|
10
|
+
import sys
|
|
11
|
+
|
|
12
|
+
import AppKit
|
|
13
|
+
import Quartz
|
|
14
|
+
import objc
|
|
15
|
+
from . import _metadata, _SceneKit
|
|
16
|
+
from ._inlines import _inline_list_
|
|
17
|
+
|
|
18
|
+
dir_func, getattr_func = objc.createFrameworkDirAndGetattr(
|
|
19
|
+
name="SceneKit",
|
|
20
|
+
frameworkIdentifier="com.apple.SceneKit",
|
|
21
|
+
frameworkPath=objc.pathForFramework(
|
|
22
|
+
"/System/Library/Frameworks/SceneKit.framework"
|
|
23
|
+
),
|
|
24
|
+
globals_dict=globals(),
|
|
25
|
+
inline_list=_inline_list_,
|
|
26
|
+
parents=(
|
|
27
|
+
_SceneKit,
|
|
28
|
+
AppKit,
|
|
29
|
+
Quartz,
|
|
30
|
+
),
|
|
31
|
+
metadict=_metadata.__dict__,
|
|
32
|
+
)
|
|
33
|
+
|
|
34
|
+
globals()["__dir__"] = dir_func
|
|
35
|
+
globals()["__getattr__"] = getattr_func
|
|
36
|
+
|
|
37
|
+
for cls, sel in (("SCNAudioPlayer", b"init"),):
|
|
38
|
+
objc.registerUnavailableMethod(cls, sel)
|
|
39
|
+
|
|
40
|
+
del sys.modules["SceneKit._metadata"]
|
|
41
|
+
|
|
42
|
+
import SceneKit as mod # isort:skip
|
|
43
|
+
|
|
44
|
+
try:
|
|
45
|
+
mod.SCNMatrix4Identity
|
|
46
|
+
except AttributeError:
|
|
47
|
+
# Two "inline" functions that use a symbol that is available on 10.10 or later,
|
|
48
|
+
# avoid crashes by removing the inline function wrappers when that symbol
|
|
49
|
+
# is not available.
|
|
50
|
+
try:
|
|
51
|
+
mod.SCNMatrix4MakeTranslation
|
|
52
|
+
del mod.SCNMatrix4MakeTranslation
|
|
53
|
+
except AttributeError:
|
|
54
|
+
pass
|
|
55
|
+
|
|
56
|
+
try:
|
|
57
|
+
mod.SCNMatrix4MakeScale
|
|
58
|
+
del mod.SCNMatrix4MakeScale
|
|
59
|
+
except AttributeError:
|
|
60
|
+
pass
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
globals().pop("_setup")()
|
|
Binary file
|