@octane-xplat/macos-renderer 0.14.0 → 0.15.0

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.
Files changed (222) hide show
  1. package/README.md +95 -20
  2. package/package.json +15 -2
  3. package/src/appearance.ts +2 -0
  4. package/src/fonts.ts +2 -0
  5. package/src/formatted-text.ts +147 -0
  6. package/src/gestures.ts +196 -0
  7. package/src/host-globals.d.ts +55 -0
  8. package/src/html-text.ts +88 -0
  9. package/src/image.ts +91 -16
  10. package/src/index.d.ts +9 -0
  11. package/src/index.ts +5030 -678
  12. package/src/layer.ts +11 -9
  13. package/src/list-template.ts +266 -0
  14. package/src/list-view.ts +445 -0
  15. package/src/portal-components.macos.tsx +86 -0
  16. package/src/presentation.ts +48 -15
  17. package/src/scroll-view.ts +124 -0
  18. package/src/tab-view.ts +512 -0
  19. package/src/template-props.ts +402 -0
  20. package/src/vendor/listview/LICENSE +19 -0
  21. package/src/vendor/listview/README.md +1 -0
  22. package/src/vendor/listview/binding-options.ts +189 -0
  23. package/src/vendor/listview/expressions.ts +285 -0
  24. package/src/webview.ts +36 -7
  25. package/types/ARKitCore.d.ts +199 -0
  26. package/types/AVFAudio.d.ts +2304 -0
  27. package/types/AVFoundation.d.ts +6974 -0
  28. package/types/AVKit.d.ts +215 -0
  29. package/types/AVRouting.d.ts +7 -0
  30. package/types/Accelerate.d.ts +4776 -0
  31. package/types/Accessibility.d.ts +69 -0
  32. package/types/Accounts.d.ts +134 -0
  33. package/types/AdSupport.d.ts +12 -0
  34. package/types/AddressBook.d.ts +1012 -0
  35. package/types/AppKit.d.ts +34247 -0
  36. package/types/AppTrackingTransparency.d.ts +23 -0
  37. package/types/AppleScriptKit.d.ts +6 -0
  38. package/types/ApplicationServices.d.ts +6346 -0
  39. package/types/AudioToolbox.d.ts +7129 -0
  40. package/types/AudioVideoBridging.d.ts +613 -0
  41. package/types/AuthenticationServices.d.ts +982 -0
  42. package/types/AutomaticAssessmentConfiguration.d.ts +46 -0
  43. package/types/Automator.d.ts +248 -0
  44. package/types/BackgroundAssets.d.ts +9 -0
  45. package/types/BrowserEngineKit.d.ts +166 -0
  46. package/types/BusinessChat.d.ts +29 -0
  47. package/types/CFNetwork.d.ts +931 -0
  48. package/types/CalendarStore.d.ts +354 -0
  49. package/types/CallKit.d.ts +30 -0
  50. package/types/Carbon.d.ts +16207 -0
  51. package/types/ClassKit.d.ts +281 -0
  52. package/types/CloudKit.d.ts +1565 -0
  53. package/types/Collaboration.d.ts +123 -0
  54. package/types/ColorSync.d.ts +562 -0
  55. package/types/CompositorServices.d.ts +60 -0
  56. package/types/ComputeGraph.d.ts +16 -0
  57. package/types/Contacts.d.ts +1558 -0
  58. package/types/ContactsUI.d.ts +39 -0
  59. package/types/CoreAudio.d.ts +1376 -0
  60. package/types/CoreAudioKit.d.ts +122 -0
  61. package/types/CoreAudioTypes.d.ts +1003 -0
  62. package/types/CoreBluetooth.d.ts +657 -0
  63. package/types/CoreData.d.ts +2479 -0
  64. package/types/CoreFoundation.d.ts +5546 -0
  65. package/types/CoreGraphics.d.ts +3676 -0
  66. package/types/CoreHaptics.d.ts +361 -0
  67. package/types/CoreImage.d.ts +4781 -0
  68. package/types/CoreLocation.d.ts +564 -0
  69. package/types/CoreMIDI.d.ts +1538 -0
  70. package/types/CoreML.d.ts +905 -0
  71. package/types/CoreMedia.d.ts +2615 -0
  72. package/types/CoreMediaIO.d.ts +1046 -0
  73. package/types/CoreMotion.d.ts +316 -0
  74. package/types/CoreServices.d.ts +24810 -0
  75. package/types/CoreSpotlight.d.ts +789 -0
  76. package/types/CoreTelephony.d.ts +31 -0
  77. package/types/CoreText.d.ts +3973 -0
  78. package/types/CoreTransferable.d.ts +3 -0
  79. package/types/CoreVideo.d.ts +1162 -0
  80. package/types/CoreWLAN.d.ts +556 -0
  81. package/types/CryptoTokenKit.d.ts +548 -0
  82. package/types/DVDPlayback.d.ts +931 -0
  83. package/types/DataDetection.d.ts +66 -0
  84. package/types/DeviceCheck.d.ts +46 -0
  85. package/types/DeviceDiscoveryExtension.d.ts +142 -0
  86. package/types/DirectoryService.d.ts +966 -0
  87. package/types/DiscRecording.d.ts +2345 -0
  88. package/types/DiscRecordingUI.d.ts +288 -0
  89. package/types/DiskArbitration.d.ts +366 -0
  90. package/types/DriverKit.d.ts +639 -0
  91. package/types/EventKit.d.ts +640 -0
  92. package/types/ExceptionHandling.d.ts +56 -0
  93. package/types/ExecutionPolicy.d.ts +30 -0
  94. package/types/ExternalAccessory.d.ts +98 -0
  95. package/types/FSKit.d.ts +237 -0
  96. package/types/FileProvider.d.ts +495 -0
  97. package/types/FileProviderUI.d.ts +31 -0
  98. package/types/FinderSync.d.ts +165 -0
  99. package/types/FocusEngine.d.ts +133 -0
  100. package/types/ForceFeedback.d.ts +399 -0
  101. package/types/Foundation.d.ts +18216 -0
  102. package/types/GLKit.d.ts +937 -0
  103. package/types/GLUT.d.ts +1018 -0
  104. package/types/GSS.d.ts +855 -0
  105. package/types/GameController.d.ts +1394 -0
  106. package/types/GameKit.d.ts +1958 -0
  107. package/types/GameSave.d.ts +54 -0
  108. package/types/GameplayKit.d.ts +1645 -0
  109. package/types/HealthKit.d.ts +278 -0
  110. package/types/Hypervisor.d.ts +2079 -0
  111. package/types/ICADevices.d.ts +1400 -0
  112. package/types/IOBluetooth.d.ts +6094 -0
  113. package/types/IOBluetoothUI.d.ts +250 -0
  114. package/types/IOKit.d.ts +25804 -0
  115. package/types/IOSurface.d.ts +435 -0
  116. package/types/IOUSBHost.d.ts +809 -0
  117. package/types/ImageCaptureCore.d.ts +1104 -0
  118. package/types/ImageIO.d.ts +1697 -0
  119. package/types/InputMethodKit.d.ts +264 -0
  120. package/types/InstallerPlugins.d.ts +102 -0
  121. package/types/InstantMessage.d.ts +229 -0
  122. package/types/Intents.d.ts +1833 -0
  123. package/types/IntentsUI.d.ts +5 -0
  124. package/types/JavaRuntimeSupport.d.ts +520 -0
  125. package/types/JavaScriptCore.d.ts +934 -0
  126. package/types/Kerberos.d.ts +3754 -0
  127. package/types/Kernel.d.ts +33698 -0
  128. package/types/KernelManagement.d.ts +5 -0
  129. package/types/LatentSemanticMapping.d.ts +152 -0
  130. package/types/LinkPresentation.d.ts +57 -0
  131. package/types/LocalAuthentication.d.ts +94 -0
  132. package/types/MLCompute.d.ts +2343 -0
  133. package/types/MapKit.d.ts +2125 -0
  134. package/types/Matter.d.ts +151 -0
  135. package/types/MediaAccessibility.d.ts +137 -0
  136. package/types/MediaLibrary.d.ts +394 -0
  137. package/types/MediaPlayer.d.ts +475 -0
  138. package/types/MediaToolbox.d.ts +70 -0
  139. package/types/Metal.d.ts +4542 -0
  140. package/types/MetalFX.d.ts +107 -0
  141. package/types/MetalKit.d.ts +524 -0
  142. package/types/MetalPerformanceShaders.d.ts +9306 -0
  143. package/types/MetalPerformanceShadersGraph.d.ts +1394 -0
  144. package/types/MetricKit.d.ts +231 -0
  145. package/types/ModelIO.d.ts +2908 -0
  146. package/types/MultipeerConnectivity.d.ts +348 -0
  147. package/types/NaturalLanguage.d.ts +556 -0
  148. package/types/NearbyInteraction.d.ts +51 -0
  149. package/types/NetFS.d.ts +99 -0
  150. package/types/Network.d.ts +1622 -0
  151. package/types/NetworkExtension.d.ts +1574 -0
  152. package/types/NotificationCenter.d.ts +103 -0
  153. package/types/OSAKit.d.ts +260 -0
  154. package/types/OSLog.d.ts +208 -0
  155. package/types/OpenAL.d.ts +314 -0
  156. package/types/OpenCL.d.ts +2489 -0
  157. package/types/OpenDirectory.d.ts +1919 -0
  158. package/types/OpenGL.d.ts +11322 -0
  159. package/types/PCSC.d.ts +534 -0
  160. package/types/PDFKit.d.ts +1575 -0
  161. package/types/PHASE.d.ts +166 -0
  162. package/types/ParavirtualizedGraphics.d.ts +153 -0
  163. package/types/PassKit.d.ts +1287 -0
  164. package/types/PencilKit.d.ts +201 -0
  165. package/types/Photos.d.ts +1125 -0
  166. package/types/PhotosUI.d.ts +397 -0
  167. package/types/PreferencePanes.d.ts +68 -0
  168. package/types/ProximityReaderStub.d.ts +5 -0
  169. package/types/PushKit.d.ts +45 -0
  170. package/types/Quartz.d.ts +1642 -0
  171. package/types/QuartzCore.d.ts +1398 -0
  172. package/types/QuickLook.d.ts +212 -0
  173. package/types/QuickLookThumbnailing.d.ts +131 -0
  174. package/types/QuickLookUI.d.ts +117 -0
  175. package/types/REVISION.json +5 -0
  176. package/types/ReplayKit.d.ts +294 -0
  177. package/types/Runtime.d.ts +51605 -0
  178. package/types/SafariServices.d.ts +430 -0
  179. package/types/SafetyKit.d.ts +7 -0
  180. package/types/SceneKit.d.ts +4996 -0
  181. package/types/ScreenCaptureKit.d.ts +16 -0
  182. package/types/ScreenSaver.d.ts +41 -0
  183. package/types/ScreenTime.d.ts +41 -0
  184. package/types/ScriptingBridge.d.ts +96 -0
  185. package/types/Security.d.ts +14336 -0
  186. package/types/SecurityFoundation.d.ts +53 -0
  187. package/types/SecurityInterface.d.ts +297 -0
  188. package/types/SensorKit.d.ts +7 -0
  189. package/types/ServiceManagement.d.ts +71 -0
  190. package/types/SharedWithYou.d.ts +9 -0
  191. package/types/SharedWithYouCore.d.ts +5 -0
  192. package/types/ShazamKit.d.ts +12 -0
  193. package/types/Social.d.ts +306 -0
  194. package/types/SoundAnalysis.d.ts +177 -0
  195. package/types/Speech.d.ts +246 -0
  196. package/types/SpriteKit.d.ts +2766 -0
  197. package/types/StoreKit.d.ts +509 -0
  198. package/types/SyncServices.d.ts +551 -0
  199. package/types/SystemConfiguration.d.ts +1415 -0
  200. package/types/SystemExtensions.d.ts +89 -0
  201. package/types/TWAIN.d.ts +380 -0
  202. package/types/Tcl.d.ts +4013 -0
  203. package/types/ThreadNetwork.d.ts +77 -0
  204. package/types/Tk.d.ts +3750 -0
  205. package/types/UIUtilities.d.ts +31 -0
  206. package/types/UniformTypeIdentifiers.d.ts +358 -0
  207. package/types/UserNotifications.d.ts +538 -0
  208. package/types/UserNotificationsUI.d.ts +38 -0
  209. package/types/VideoDecodeAcceleration.d.ts +50 -0
  210. package/types/VideoSubscriberAccount.d.ts +139 -0
  211. package/types/VideoToolbox.d.ts +907 -0
  212. package/types/Virtualization.d.ts +302 -0
  213. package/types/Vision.d.ts +1723 -0
  214. package/types/WebKit.d.ts +5195 -0
  215. package/types/WidgetKit.d.ts +9 -0
  216. package/types/_LocationEssentials.d.ts +159 -0
  217. package/types/_ScreenCaptureKit_SwiftUI.d.ts +5 -0
  218. package/types/iTunesLibrary.d.ts +528 -0
  219. package/types/index.d.ts +9 -0
  220. package/types/vecLib.d.ts +33586 -0
  221. package/types/vmnet.d.ts +178 -0
  222. package/src/appkit.d.ts +0 -472
@@ -0,0 +1,4996 @@
1
+ /// <reference types="@nativescript/objc-node-api" />
2
+ /// <reference path="./Runtime.d.ts" />
3
+ /// <reference path="./AppKit.d.ts" />
4
+ /// <reference path="./QuartzCore.d.ts" />
5
+
6
+ declare const SCNPhysicsTestSearchModeKey: string
7
+
8
+ declare const SCNSceneSourceConvertToYUpKey: string
9
+
10
+ declare const SCNHitTestBackFaceCullingKey: string
11
+
12
+ declare const SCNSceneSourceAssetAuthorKey: string
13
+
14
+ declare const SCNModelTransform: string
15
+
16
+ declare const SCNLightTypeArea: string
17
+
18
+ declare const SCNLightShadowFarClippingKey: string
19
+
20
+ declare const SCNLightShadowNearClippingKey: string
21
+
22
+ declare const SCNLightAttenuationFalloffExponentKey: string
23
+
24
+ declare const SCNLightAttenuationStartKey: string
25
+
26
+ declare const SCNPhysicsTestSearchModeAny: string
27
+
28
+ declare const SCNPhysicsTestBackfaceCullingKey: string
29
+
30
+ declare const SCNPhysicsShapeOptionCollisionMargin: string
31
+
32
+ declare const SCNPhysicsShapeScaleKey: string
33
+
34
+ declare const SCNPhysicsShapeKeepAsCompoundKey: string
35
+
36
+ declare const SCNParticlePropertyCharge: string
37
+
38
+ declare const SCNParticlePropertyLife: string
39
+
40
+ declare const SCNParticlePropertyPosition: string
41
+
42
+ declare const SCNGeometrySourceSemanticBoneIndices: string
43
+
44
+ declare const SCNGeometrySourceSemanticBoneWeights: string
45
+
46
+ declare const SCNLightingModelShadowOnly: string
47
+
48
+ declare const SCNLightingModelConstant: string
49
+
50
+ declare const SCNLightTypeProbe: string
51
+
52
+ declare const SCNLightTypeSpot: string
53
+
54
+ declare const SCNLightTypeAmbient: string
55
+
56
+ declare const SCNModelViewProjectionTransform: string
57
+
58
+ declare const SCNModelViewTransform: string
59
+
60
+ declare const SCNViewTransform: string
61
+
62
+ declare const SCNSceneUpAxisAttributeKey: string
63
+
64
+ declare const SCNSceneFrameRateAttributeKey: string
65
+
66
+ declare const SCNSceneExportDestinationURL: string
67
+
68
+ declare const SCNConsistencyMissingAttributeError: number
69
+
70
+ declare const SCNConsistencyInvalidCountError: number
71
+
72
+ declare const SCNConsistencyElementTypeErrorKey: string
73
+
74
+ declare const SCNConsistencyElementIDErrorKey: string
75
+
76
+ declare const SCNSceneSourceAnimationImportPolicyPlayUsingSceneTimeBase: string
77
+
78
+ declare const SCNSceneSourceAnimationImportPolicyPlayRepeatedly: string
79
+
80
+ declare const SCNSceneSourceAnimationImportPolicyKey: string
81
+
82
+ declare const SCNSceneSourceConvertUnitsToMetersKey: string
83
+
84
+ declare const SCNSceneSourceStrictConformanceKey: string
85
+
86
+ declare const SCNSceneSourceCreateNormalsIfAbsentKey: string
87
+
88
+ declare const SCNSceneSourceAssetUnitMeterKey: string
89
+
90
+ declare const SCNSceneSourceAssetUnitNameKey: string
91
+
92
+ declare const SCNSceneSourceAssetUnitKey: string
93
+
94
+ declare const SCNSceneSourceAssetContributorsKey: string
95
+
96
+ declare const SCNShaderModifierEntryPointGeometry: string
97
+
98
+ declare const SCNHitTestSortResultsKey: string
99
+
100
+ declare const SCNHitTestFirstFoundOnlyKey: string
101
+
102
+ declare const SCNHitTestOptionIgnoreLightArea: string
103
+
104
+ declare const SCNHitTestOptionSearchMode: string
105
+
106
+ declare const SCNHitTestOptionCategoryBitMask: string
107
+
108
+ declare const SCNHitTestIgnoreHiddenNodesKey: string
109
+
110
+ declare const SCNHitTestRootNodeKey: string
111
+
112
+ declare const SCNHitTestIgnoreChildNodesKey: string
113
+
114
+ declare const SCNHitTestClipToZRangeKey: string
115
+
116
+ declare const SCNErrorDomain: string
117
+
118
+ declare const SCNMatrix4Identity: CATransform3D
119
+
120
+ declare const SCNSceneSourceAnimationImportPolicyDoNotPlay: string
121
+
122
+ declare const SCNSceneEndTimeAttributeKey: string
123
+
124
+ declare const SCNSceneSourceAssetUpAxisKey: string
125
+
126
+ declare const SCNDetailedErrorsKey: string
127
+
128
+ declare const SCNPreferredDeviceKey: string
129
+
130
+ declare const SCNShaderModifierEntryPointLightingModel: string
131
+
132
+ declare const SCNPhysicsTestSearchModeAll: string
133
+
134
+ declare const SCNParticlePropertyContactPoint: string
135
+
136
+ declare const SCNProgramMappingChannelKey: string
137
+
138
+ declare const SCNPhysicsShapeTypeConvexHull: string
139
+
140
+ declare const SCNPreferLowPowerDeviceKey: string
141
+
142
+ declare const SCNSceneSourceLoadingOptionPreserveOriginalTopology: string
143
+
144
+ declare const SCNLightTypeDirectional: string
145
+
146
+ declare const SCNGeometrySourceSemanticTexcoord: string
147
+
148
+ declare const SCNParticlePropertyAngle: string
149
+
150
+ declare const SCNGeometrySourceSemanticVertex: string
151
+
152
+ declare const SCNLightAttenuationEndKey: string
153
+
154
+ declare const SCNSceneSourceAssetDirectoryURLsKey: string
155
+
156
+ declare const SCNConsistencyMissingElementError: number
157
+
158
+ declare const SCNLightingModelLambert: string
159
+
160
+ declare const SCNGeometrySourceSemanticNormal: string
161
+
162
+ declare const SCNShaderModifierEntryPointSurface: string
163
+
164
+ declare const SCNProjectionTransform: string
165
+
166
+ declare const SCNSceneSourceAnimationImportPolicyPlay: string
167
+
168
+ declare const SCNGeometrySourceSemanticTangent: string
169
+
170
+ declare const SCNNormalTransform: string
171
+
172
+ declare const SCNHitTestBoundingBoxOnlyKey: string
173
+
174
+ declare const SCNLightSpotInnerAngleKey: string
175
+
176
+ declare const SCNConsistencyInvalidArgumentError: number
177
+
178
+ declare const SCNParticlePropertyVelocity: string
179
+
180
+ declare const SCNSceneSourceAssetAuthoringToolKey: string
181
+
182
+ declare const SCNParticlePropertyContactNormal: string
183
+
184
+ declare const SCNParticlePropertyOpacity: string
185
+
186
+ declare const SCNProgramCompilationError: number
187
+
188
+ declare const SCNPhysicsTestCollisionBitMaskKey: string
189
+
190
+ declare const SCNConsistencyInvalidURIError: number
191
+
192
+ declare const SCNShaderModifierEntryPointFragment: string
193
+
194
+ declare const SCNSceneSourceOverrideAssetURLsKey: string
195
+
196
+ declare const SCNPhysicsShapeTypeBoundingBox: string
197
+
198
+ declare const SCNVector4Zero: SCNVector4
199
+
200
+ declare const SCNParticlePropertyRotationAxis: string
201
+
202
+ declare const SCNLightingModelPhysicallyBased: string
203
+
204
+ declare const SCNSceneSourceUseSafeModeKey: string
205
+
206
+ declare const SCNPhysicsShapeTypeConcavePolyhedron: string
207
+
208
+ declare const SCNSceneSourceCheckConsistencyKey: string
209
+
210
+ declare const SCNParticlePropertyColor: string
211
+
212
+ declare const SCNLightTypeIES: string
213
+
214
+ declare const SCNParticlePropertySize: string
215
+
216
+ declare const SCNParticlePropertyFriction: string
217
+
218
+ declare const SCNGeometrySourceSemanticEdgeCrease: string
219
+
220
+ declare const SCNLightingModelBlinn: string
221
+
222
+ declare const SCNGeometrySourceSemanticVertexCrease: string
223
+
224
+ declare const SCNLightTypeOmni: string
225
+
226
+ declare const SCNConsistencyLineNumberErrorKey: string
227
+
228
+ declare const SCNParticlePropertyFrame: string
229
+
230
+ declare const SCNParticlePropertyFrameRate: string
231
+
232
+ declare const SCNLightSpotOuterAngleKey: string
233
+
234
+ declare const SCNSceneSourceAssetCreatedDateKey: string
235
+
236
+ declare const SCNPhysicsTestSearchModeClosest: string
237
+
238
+ declare const SCNVector3Zero: SCNVector3
239
+
240
+ declare const SCNPhysicsShapeTypeKey: string
241
+
242
+ declare const SCNSceneStartTimeAttributeKey: string
243
+
244
+ declare const SCNConsistencyXMLSchemaValidationError: number
245
+
246
+ declare const SCNLightingModelPhong: string
247
+
248
+ declare const SCNParticlePropertyAngularVelocity: string
249
+
250
+ declare const SCNParticlePropertyBounce: string
251
+
252
+ declare const SCNGeometrySourceSemanticColor: string
253
+
254
+ declare const SCNSceneSourceAssetModifiedDateKey: string
255
+
256
+ declare const SCNPreferredRenderingAPIKey: string
257
+
258
+ declare const SCNSceneSourceFlattenSceneKey: string
259
+
260
+ declare const SCNParticleEvent: {
261
+ Birth: 0
262
+ Death: 1
263
+ Collision: 2
264
+ }
265
+
266
+ declare const SCNFillMode: {
267
+ Fill: 0
268
+ Lines: 1
269
+ }
270
+
271
+ declare const SCNCullMode: {
272
+ Back: 0
273
+ Front: 1
274
+ }
275
+
276
+ declare const SCNDebugOptions: {
277
+ None: 0
278
+ ShowPhysicsShapes: 1
279
+ ShowBoundingBoxes: 2
280
+ ShowLightInfluences: 4
281
+ ShowLightExtents: 8
282
+ ShowPhysicsFields: 16
283
+ ShowWireframe: 32
284
+ RenderAsWireframe: 64
285
+ ShowSkeletons: 128
286
+ ShowCreases: 256
287
+ ShowConstraints: 512
288
+ ShowCameras: 1024
289
+ }
290
+
291
+ declare const SCNBufferFrequency: {
292
+ Frame: 0
293
+ Node: 1
294
+ Shadable: 2
295
+ }
296
+
297
+ declare const SCNInteractionMode: {
298
+ Fly: 0
299
+ OrbitTurntable: 1
300
+ OrbitAngleMapping: 2
301
+ OrbitCenteredArcball: 3
302
+ OrbitArcball: 4
303
+ Pan: 5
304
+ Truck: 6
305
+ }
306
+
307
+ declare const SCNReferenceLoadingPolicy: {
308
+ Immediate: 0
309
+ OnDemand: 1
310
+ }
311
+
312
+ declare const SCNParticleBirthDirection: {
313
+ Constant: 0
314
+ SurfaceNormal: 1
315
+ Random: 2
316
+ }
317
+
318
+ declare const SCNParticleBlendMode: {
319
+ Additive: 0
320
+ Subtract: 1
321
+ Multiply: 2
322
+ Screen: 3
323
+ Alpha: 4
324
+ Replace: 5
325
+ }
326
+
327
+ declare const SCNParticleSortingMode: {
328
+ None: 0
329
+ ProjectedDepth: 1
330
+ Distance: 2
331
+ OldestFirst: 3
332
+ YoungestFirst: 4
333
+ }
334
+
335
+ declare const SCNBillboardAxis: {
336
+ X: 1
337
+ Y: 2
338
+ Z: 4
339
+ All: 7
340
+ }
341
+
342
+ declare const SCNGeometryPrimitiveType: {
343
+ Triangles: 0
344
+ TriangleStrip: 1
345
+ Line: 2
346
+ Point: 3
347
+ Polygon: 4
348
+ }
349
+
350
+ declare const SCNTransparencyMode: {
351
+ AOne: 0
352
+ RGBZero: 1
353
+ SingleLayer: 2
354
+ DualLayer: 3
355
+ Default: 0
356
+ }
357
+
358
+ declare const SCNLightAreaType: {
359
+ Rectangle: 1
360
+ Polygon: 4
361
+ }
362
+
363
+ declare const SCNLightProbeUpdateType: {
364
+ Never: 0
365
+ Realtime: 1
366
+ }
367
+
368
+ declare const SCNMovabilityHint: {
369
+ Fixed: 0
370
+ Movable: 1
371
+ }
372
+
373
+ declare const SCNSceneSourceStatus: {
374
+ Error: -1
375
+ Parsing: 4
376
+ Validating: 8
377
+ Processing: 12
378
+ Complete: 16
379
+ }
380
+
381
+ declare const SCNRenderingAPI: {
382
+ Metal: 0
383
+ OpenGLLegacy: 1
384
+ OpenGLCore32: 2
385
+ OpenGLCore41: 3
386
+ }
387
+
388
+ declare const SCNAntialiasingMode: {
389
+ None: 0
390
+ Multisampling2X: 1
391
+ Multisampling4X: 2
392
+ Multisampling8X: 3
393
+ Multisampling16X: 4
394
+ }
395
+
396
+ declare const SCNHitTestSearchMode: {
397
+ Closest: 0
398
+ All: 1
399
+ Any: 2
400
+ }
401
+
402
+ declare const SCNColorMask: {
403
+ None: 0
404
+ Red: 8
405
+ Green: 4
406
+ Blue: 2
407
+ Alpha: 1
408
+ All: 15
409
+ }
410
+
411
+ declare const SCNCameraProjectionDirection: {
412
+ Vertical: 0
413
+ Horizontal: 1
414
+ }
415
+
416
+ declare const SCNBlendMode: {
417
+ Alpha: 0
418
+ Add: 1
419
+ Subtract: 2
420
+ Multiply: 3
421
+ Screen: 4
422
+ Replace: 5
423
+ Max: 6
424
+ }
425
+
426
+ declare const SCNNodeFocusBehavior: {
427
+ None: 0
428
+ Occluding: 1
429
+ Focusable: 2
430
+ }
431
+
432
+ declare const SCNParticleInputMode: {
433
+ Life: 0
434
+ Distance: 1
435
+ OtherProperty: 2
436
+ }
437
+
438
+ declare const SCNPhysicsFieldScope: {
439
+ Inside: 0
440
+ Outside: 1
441
+ }
442
+
443
+ declare const SCNParticleModifierStage: {
444
+ PreDynamics: 0
445
+ PostDynamics: 1
446
+ PreCollision: 2
447
+ PostCollision: 3
448
+ }
449
+
450
+ declare const SCNLightProbeType: {
451
+ Irradiance: 0
452
+ Radiance: 1
453
+ }
454
+
455
+ declare const SCNFilterMode: {
456
+ None: 0
457
+ Nearest: 1
458
+ Linear: 2
459
+ }
460
+
461
+ declare const SCNParticleOrientationMode: {
462
+ BillboardScreenAligned: 0
463
+ BillboardViewAligned: 1
464
+ Free: 2
465
+ BillboardYAligned: 3
466
+ }
467
+
468
+ declare const SCNActionTimingMode: {
469
+ Linear: 0
470
+ EaseIn: 1
471
+ EaseOut: 2
472
+ EaseInEaseOut: 3
473
+ }
474
+
475
+ declare const SCNPhysicsCollisionCategory: {
476
+ Default: 1
477
+ Static: 2
478
+ All: -1
479
+ }
480
+
481
+ declare const SCNShadowMode: {
482
+ Forward: 0
483
+ Deferred: 1
484
+ Modulated: 2
485
+ }
486
+
487
+ declare const SCNWrapMode: {
488
+ Clamp: 1
489
+ Repeat: 2
490
+ ClampToBorder: 3
491
+ Mirror: 4
492
+ }
493
+
494
+ declare const SCNParticleBirthLocation: {
495
+ Surface: 0
496
+ Volume: 1
497
+ Vertex: 2
498
+ }
499
+
500
+ declare const SCNMorpherCalculationMode: {
501
+ Normalized: 0
502
+ Additive: 1
503
+ }
504
+
505
+ declare const SCNPhysicsBodyType: {
506
+ Static: 0
507
+ Dynamic: 1
508
+ Kinematic: 2
509
+ }
510
+
511
+ declare const SCNTessellationSmoothingMode: {
512
+ None: 0
513
+ PNTriangles: 1
514
+ Phong: 2
515
+ }
516
+
517
+ declare const SCNParticleImageSequenceAnimationMode: {
518
+ Repeat: 0
519
+ Clamp: 1
520
+ AutoReverse: 2
521
+ }
522
+
523
+ declare const SCNChamferMode: {
524
+ Both: 0
525
+ Front: 1
526
+ Back: 2
527
+ }
528
+
529
+ declare class SCNVector3 {
530
+ constructor(init?: SCNVector3)
531
+ x: number
532
+ y: number
533
+ z: number
534
+ }
535
+
536
+ declare class SCNVector4 {
537
+ constructor(init?: SCNVector4)
538
+ x: number
539
+ y: number
540
+ z: number
541
+ w: number
542
+ }
543
+
544
+ declare function SCNVector3EqualToVector3(a: SCNVector3, b: SCNVector3): boolean
545
+
546
+ declare function SCNVector4EqualToVector4(a: SCNVector4, b: SCNVector4): boolean
547
+
548
+ declare function SCNMatrix4IsIdentity(m: CATransform3D): boolean
549
+
550
+ declare function SCNMatrix4EqualToMatrix4(a: CATransform3D, b: CATransform3D): boolean
551
+
552
+ declare function SCNMatrix4MakeRotation(
553
+ angle: number,
554
+ x: number,
555
+ y: number,
556
+ z: number,
557
+ ): CATransform3D
558
+
559
+ declare function SCNMatrix4Scale(
560
+ m: CATransform3D,
561
+ sx: number,
562
+ sy: number,
563
+ sz: number,
564
+ ): CATransform3D
565
+
566
+ declare function SCNMatrix4Rotate(
567
+ m: CATransform3D,
568
+ angle: number,
569
+ x: number,
570
+ y: number,
571
+ z: number,
572
+ ): CATransform3D
573
+
574
+ declare function SCNMatrix4Invert(m: CATransform3D): CATransform3D
575
+
576
+ declare function SCNMatrix4Mult(a: CATransform3D, b: CATransform3D): CATransform3D
577
+
578
+ declare function SCNMatrix4ToGLKMatrix4(mat: CATransform3D): _GLKMatrix4
579
+
580
+ declare function SCNMatrix4FromGLKMatrix4(mat: _GLKMatrix4): CATransform3D
581
+
582
+ declare function SCNExportJavaScriptModule(context: JSContext): void
583
+
584
+ declare interface SCNAnimationProtocol extends NSObjectProtocol {}
585
+
586
+ declare class SCNAnimationProtocol extends NativeObject implements SCNAnimationProtocol {}
587
+
588
+ declare interface SCNBoundingVolume extends NSObjectProtocol {
589
+ getBoundingBoxMinMax(min: interop.PointerConvertible, max: interop.PointerConvertible): boolean
590
+
591
+ setBoundingBoxMinMax(min: interop.PointerConvertible, max: interop.PointerConvertible): void
592
+
593
+ getBoundingSphereCenterRadius(
594
+ center: interop.PointerConvertible,
595
+ radius: interop.PointerConvertible,
596
+ ): boolean
597
+ }
598
+
599
+ declare class SCNBoundingVolume extends NativeObject implements SCNBoundingVolume {}
600
+
601
+ declare interface SCNCameraControllerDelegate extends NSObjectProtocol {
602
+ cameraInertiaWillStartForController?(cameraController: SCNCameraController): void
603
+
604
+ cameraInertiaDidEndForController?(cameraController: SCNCameraController): void
605
+ }
606
+
607
+ declare class SCNCameraControllerDelegate
608
+ extends NativeObject
609
+ implements SCNCameraControllerDelegate {}
610
+
611
+ declare interface SCNCameraControlConfiguration extends NSObjectProtocol {
612
+ autoSwitchToFreeCamera: boolean
613
+
614
+ allowsTranslation: boolean
615
+
616
+ flyModeVelocity: number
617
+
618
+ panSensitivity: number
619
+
620
+ truckSensitivity: number
621
+
622
+ rotationSensitivity: number
623
+ }
624
+
625
+ declare class SCNCameraControlConfiguration
626
+ extends NativeObject
627
+ implements SCNCameraControlConfiguration {}
628
+
629
+ declare interface SCNProgramDelegate extends NSObjectProtocol {
630
+ programBindValueForSymbolAtLocationProgramIDRenderer?(
631
+ program: SCNProgram,
632
+ symbol: string,
633
+ location: number,
634
+ programID: number,
635
+ renderer: SCNRenderer,
636
+ ): boolean
637
+
638
+ programUnbindValueForSymbolAtLocationProgramIDRenderer?(
639
+ program: SCNProgram,
640
+ symbol: string,
641
+ location: number,
642
+ programID: number,
643
+ renderer: SCNRenderer,
644
+ ): void
645
+
646
+ programHandleError?(program: SCNProgram, error: NSError): void
647
+
648
+ programIsOpaque?(program: SCNProgram): boolean
649
+ }
650
+
651
+ declare class SCNProgramDelegate extends NativeObject implements SCNProgramDelegate {}
652
+
653
+ declare interface SCNTechniqueSupport extends NSObjectProtocol {
654
+ technique: SCNTechnique
655
+ }
656
+
657
+ declare class SCNTechniqueSupport extends NativeObject implements SCNTechniqueSupport {}
658
+
659
+ declare interface SCNShadable extends NSObjectProtocol {
660
+ program?: SCNProgram
661
+
662
+ handleBindingOfSymbolUsingBlock?(
663
+ symbol: string,
664
+ block: (p1: number, p2: number, p3: SCNNode, p4: SCNRenderer) => void | null,
665
+ ): void
666
+
667
+ handleUnbindingOfSymbolUsingBlock?(
668
+ symbol: string,
669
+ block: (p1: number, p2: number, p3: SCNNode, p4: SCNRenderer) => void | null,
670
+ ): void
671
+
672
+ get shaderModifiers(): NSDictionary | undefined
673
+ set shaderModifiers(
674
+ value:
675
+ | NSDictionary<interop.Object, interop.Object>
676
+ | Record<interop.Object, interop.Object>
677
+ | undefined,
678
+ )
679
+ }
680
+
681
+ declare class SCNShadable extends NativeObject implements SCNShadable {}
682
+
683
+ declare interface SCNBufferStream extends NSObjectProtocol {
684
+ writeBytesLength(bytes: interop.PointerConvertible, length: number): void
685
+ }
686
+
687
+ declare class SCNBufferStream extends NativeObject implements SCNBufferStream {}
688
+
689
+ declare interface SCNSceneRenderer extends NSObjectProtocol {
690
+ scene: SCNScene
691
+
692
+ presentSceneWithTransitionIncomingPointOfViewCompletionHandler(
693
+ scene: SCNScene,
694
+ transition: SKTransition,
695
+ pointOfView: SCNNode | null,
696
+ completionHandler: () => void | null,
697
+ ): void
698
+
699
+ sceneTime: number
700
+
701
+ delegate: SCNSceneRendererDelegate
702
+
703
+ hitTestOptions(
704
+ point: CGPoint,
705
+ options:
706
+ | NSDictionary<interop.Object, interop.Object>
707
+ | Record<interop.Object, interop.Object>
708
+ | null,
709
+ ): NSArray
710
+
711
+ isNodeInsideFrustumWithPointOfView(node: SCNNode, pointOfView: SCNNode): boolean
712
+
713
+ nodesInsideFrustumWithPointOfView(pointOfView: SCNNode): NSArray
714
+
715
+ projectPoint(point: SCNVector3): SCNVector3
716
+
717
+ unprojectPoint(point: SCNVector3): SCNVector3
718
+
719
+ playing: boolean
720
+
721
+ loops: boolean
722
+
723
+ pointOfView: SCNNode
724
+
725
+ autoenablesDefaultLighting: boolean
726
+
727
+ jitteringEnabled: boolean
728
+
729
+ temporalAntialiasingEnabled: boolean
730
+
731
+ prepareObjectShouldAbortBlock(object: interop.Object, block: () => boolean | null): boolean
732
+
733
+ prepareObjectsWithCompletionHandler(
734
+ objects: NSArray<interop.Object> | Array<interop.Object>,
735
+ completionHandler: (p1: boolean) => void | null,
736
+ ): void
737
+
738
+ showsStatistics: boolean
739
+
740
+ debugOptions: interop.Enum<typeof SCNDebugOptions>
741
+
742
+ overlaySKScene: SKScene
743
+
744
+ readonly renderingAPI: interop.Enum<typeof SCNRenderingAPI>
745
+
746
+ readonly context: interop.Pointer
747
+
748
+ readonly currentRenderCommandEncoder: MTLRenderCommandEncoder
749
+
750
+ readonly currentRenderPassDescriptor: MTLRenderPassDescriptor
751
+
752
+ readonly device: MTLDevice
753
+
754
+ readonly colorPixelFormat: interop.Enum<typeof MTLPixelFormat>
755
+
756
+ readonly depthPixelFormat: interop.Enum<typeof MTLPixelFormat>
757
+
758
+ readonly stencilPixelFormat: interop.Enum<typeof MTLPixelFormat>
759
+
760
+ readonly commandQueue: MTLCommandQueue
761
+
762
+ readonly audioEngine: AVAudioEngine
763
+
764
+ readonly audioEnvironmentNode: AVAudioEnvironmentNode
765
+
766
+ audioListener: SCNNode
767
+
768
+ readonly currentViewport: CGRect
769
+
770
+ currentTime: number
771
+
772
+ usesReverseZ: boolean
773
+
774
+ isPlaying(): boolean
775
+
776
+ isJitteringEnabled(): boolean
777
+
778
+ isTemporalAntialiasingEnabled(): boolean
779
+ }
780
+
781
+ declare class SCNSceneRenderer extends NativeObject implements SCNSceneRenderer {}
782
+
783
+ declare interface SCNPhysicsContactDelegate extends NSObjectProtocol {
784
+ physicsWorldDidBeginContact?(world: SCNPhysicsWorld, contact: SCNPhysicsContact): void
785
+
786
+ physicsWorldDidUpdateContact?(world: SCNPhysicsWorld, contact: SCNPhysicsContact): void
787
+
788
+ physicsWorldDidEndContact?(world: SCNPhysicsWorld, contact: SCNPhysicsContact): void
789
+ }
790
+
791
+ declare class SCNPhysicsContactDelegate extends NativeObject implements SCNPhysicsContactDelegate {}
792
+
793
+ declare interface SCNSceneExportDelegate extends NSObjectProtocol {
794
+ writeImageWithSceneDocumentURLOriginalImageURL?(
795
+ image: NSImage,
796
+ documentURL: NSURL,
797
+ originalImageURL: NSURL | null,
798
+ ): NSURL
799
+ }
800
+
801
+ declare class SCNSceneExportDelegate extends NativeObject implements SCNSceneExportDelegate {}
802
+
803
+ declare interface SCNActionable extends NSObjectProtocol {
804
+ runAction(action: SCNAction): void
805
+
806
+ runActionCompletionHandler(action: SCNAction, block: () => void | null): void
807
+
808
+ runActionForKey(action: SCNAction, key: string | null): void
809
+
810
+ runActionForKeyCompletionHandler(
811
+ action: SCNAction,
812
+ key: string | null,
813
+ block: () => void | null,
814
+ ): void
815
+
816
+ readonly hasActions: boolean
817
+
818
+ actionForKey(key: string): SCNAction
819
+
820
+ removeActionForKey(key: string): void
821
+
822
+ removeAllActions(): void
823
+
824
+ readonly actionKeys: NSArray
825
+ }
826
+
827
+ declare class SCNActionable extends NativeObject implements SCNActionable {}
828
+
829
+ declare interface SCNAvoidOccluderConstraintDelegate extends NSObjectProtocol {
830
+ avoidOccluderConstraintShouldAvoidOccluderForNode?(
831
+ constraint: SCNAvoidOccluderConstraint,
832
+ occluder: SCNNode,
833
+ node: SCNNode,
834
+ ): boolean
835
+
836
+ avoidOccluderConstraintDidAvoidOccluderForNode?(
837
+ constraint: SCNAvoidOccluderConstraint,
838
+ occluder: SCNNode,
839
+ node: SCNNode,
840
+ ): void
841
+ }
842
+
843
+ declare class SCNAvoidOccluderConstraintDelegate
844
+ extends NativeObject
845
+ implements SCNAvoidOccluderConstraintDelegate {}
846
+
847
+ declare interface SCNSceneRendererDelegate extends NSObjectProtocol {
848
+ rendererUpdateAtTime?(renderer: SCNSceneRenderer, time: number): void
849
+
850
+ rendererDidApplyAnimationsAtTime?(renderer: SCNSceneRenderer, time: number): void
851
+
852
+ rendererDidSimulatePhysicsAtTime?(renderer: SCNSceneRenderer, time: number): void
853
+
854
+ rendererDidApplyConstraintsAtTime?(renderer: SCNSceneRenderer, time: number): void
855
+
856
+ rendererWillRenderSceneAtTime?(renderer: SCNSceneRenderer, scene: SCNScene, time: number): void
857
+
858
+ rendererDidRenderSceneAtTime?(renderer: SCNSceneRenderer, scene: SCNScene, time: number): void
859
+ }
860
+
861
+ declare class SCNSceneRendererDelegate extends NativeObject implements SCNSceneRendererDelegate {}
862
+
863
+ declare interface SCNNodeRendererDelegate extends NSObjectProtocol {
864
+ renderNodeRendererArguments?(
865
+ node: SCNNode,
866
+ renderer: SCNRenderer,
867
+ arguments$:
868
+ | NSDictionary<interop.Object, interop.Object>
869
+ | Record<interop.Object, interop.Object>,
870
+ ): void
871
+ }
872
+
873
+ declare class SCNNodeRendererDelegate extends NativeObject implements SCNNodeRendererDelegate {}
874
+
875
+ declare interface SCNAnimatable extends NSObjectProtocol {
876
+ addAnimationForKey(animation: SCNAnimation, key: string | null): void
877
+
878
+ addAnimationPlayerForKey(player: SCNAnimationPlayer, key: string | null): void
879
+
880
+ removeAllAnimations(): void
881
+
882
+ removeAnimationForKey(key: string): void
883
+
884
+ removeAnimationForKeyBlendOutDuration(key: string, duration: number): void
885
+
886
+ readonly animationKeys: NSArray
887
+
888
+ animationPlayerForKey(key: string): SCNAnimationPlayer
889
+
890
+ removeAnimationForKeyFadeOutDuration(key: string, duration: number): void
891
+
892
+ animationForKey(key: string): CAAnimation
893
+
894
+ pauseAnimationForKey(key: string): void
895
+
896
+ resumeAnimationForKey(key: string): void
897
+
898
+ setSpeedForAnimationKey(speed: number, key: string): void
899
+
900
+ isAnimationForKeyPaused(key: string): boolean
901
+ }
902
+
903
+ declare class SCNAnimatable extends NativeObject implements SCNAnimatable {}
904
+
905
+ declare class SCNMaterial
906
+ extends NSObject
907
+ implements SCNAnimatable, SCNShadable, NSCopying, NSSecureCoding
908
+ {
909
+ static material<This extends abstract new (...args: any) => any>(this: This): InstanceType<This>
910
+
911
+ name: string
912
+
913
+ readonly diffuse: SCNMaterialProperty
914
+
915
+ readonly ambient: SCNMaterialProperty
916
+
917
+ readonly specular: SCNMaterialProperty
918
+
919
+ readonly emission: SCNMaterialProperty
920
+
921
+ readonly transparent: SCNMaterialProperty
922
+
923
+ readonly reflective: SCNMaterialProperty
924
+
925
+ readonly multiply: SCNMaterialProperty
926
+
927
+ readonly normal: SCNMaterialProperty
928
+
929
+ readonly displacement: SCNMaterialProperty
930
+
931
+ readonly ambientOcclusion: SCNMaterialProperty
932
+
933
+ readonly selfIllumination: SCNMaterialProperty
934
+
935
+ readonly metalness: SCNMaterialProperty
936
+
937
+ readonly roughness: SCNMaterialProperty
938
+
939
+ readonly clearCoat: SCNMaterialProperty
940
+
941
+ readonly clearCoatRoughness: SCNMaterialProperty
942
+
943
+ readonly clearCoatNormal: SCNMaterialProperty
944
+
945
+ shininess: number
946
+
947
+ transparency: number
948
+
949
+ lightingModelName: string
950
+
951
+ litPerPixel: boolean
952
+
953
+ doubleSided: boolean
954
+
955
+ fillMode: interop.Enum<typeof SCNFillMode>
956
+
957
+ cullMode: interop.Enum<typeof SCNCullMode>
958
+
959
+ transparencyMode: interop.Enum<typeof SCNTransparencyMode>
960
+
961
+ locksAmbientWithDiffuse: boolean
962
+
963
+ writesToDepthBuffer: boolean
964
+
965
+ colorBufferWriteMask: interop.Enum<typeof SCNColorMask>
966
+
967
+ readsFromDepthBuffer: boolean
968
+
969
+ fresnelExponent: number
970
+
971
+ blendMode: interop.Enum<typeof SCNBlendMode>
972
+
973
+ isLitPerPixel(): boolean
974
+
975
+ isDoubleSided(): boolean
976
+
977
+ static materialWithMDLMaterial<This extends abstract new (...args: any) => any>(
978
+ this: This,
979
+ mdlMaterial: MDLMaterial,
980
+ ): InstanceType<This>
981
+
982
+ addAnimationForKey(animation: SCNAnimation, key: string | null): void
983
+
984
+ addAnimationPlayerForKey(player: SCNAnimationPlayer, key: string | null): void
985
+
986
+ removeAllAnimations(): void
987
+
988
+ removeAnimationForKey(key: string): void
989
+
990
+ removeAnimationForKeyBlendOutDuration(key: string, duration: number): void
991
+
992
+ readonly animationKeys: NSArray
993
+
994
+ animationPlayerForKey(key: string): SCNAnimationPlayer
995
+
996
+ removeAnimationForKeyFadeOutDuration(key: string, duration: number): void
997
+
998
+ animationForKey(key: string): CAAnimation
999
+
1000
+ pauseAnimationForKey(key: string): void
1001
+
1002
+ resumeAnimationForKey(key: string): void
1003
+
1004
+ setSpeedForAnimationKey(speed: number, key: string): void
1005
+
1006
+ isAnimationForKeyPaused(key: string): boolean
1007
+
1008
+ isEqual(object: interop.Object): boolean
1009
+
1010
+ readonly hash: number
1011
+
1012
+ readonly superclass: interop.Pointer
1013
+
1014
+ class(): interop.Pointer
1015
+
1016
+ self(): this
1017
+
1018
+ performSelector(aSelector: string): interop.Object
1019
+
1020
+ performSelectorWithObject(aSelector: string, object: interop.Object): interop.Object
1021
+
1022
+ performSelectorWithObjectWithObject(
1023
+ aSelector: string,
1024
+ object1: interop.Object,
1025
+ object2: interop.Object,
1026
+ ): interop.Object
1027
+
1028
+ readonly isProxy: boolean
1029
+
1030
+ isKindOfClass(aClass: interop.PointerConvertible): boolean
1031
+
1032
+ isMemberOfClass(aClass: interop.PointerConvertible): boolean
1033
+
1034
+ conformsToProtocol(aProtocol: interop.PointerConvertible): boolean
1035
+
1036
+ respondsToSelector(aSelector: string): boolean
1037
+
1038
+ retain(): this
1039
+
1040
+ release(): void
1041
+
1042
+ autorelease(): this
1043
+
1044
+ retainCount(): number
1045
+
1046
+ readonly zone: interop.Pointer
1047
+
1048
+ readonly description: string
1049
+
1050
+ readonly debugDescription: string
1051
+
1052
+ program: SCNProgram
1053
+
1054
+ handleBindingOfSymbolUsingBlock(
1055
+ symbol: string,
1056
+ block: (p1: number, p2: number, p3: SCNNode, p4: SCNRenderer) => void | null,
1057
+ ): void
1058
+
1059
+ handleUnbindingOfSymbolUsingBlock(
1060
+ symbol: string,
1061
+ block: (p1: number, p2: number, p3: SCNNode, p4: SCNRenderer) => void | null,
1062
+ ): void
1063
+
1064
+ get shaderModifiers(): NSDictionary
1065
+ set shaderModifiers(
1066
+ value: NSDictionary<interop.Object, interop.Object> | Record<interop.Object, interop.Object>,
1067
+ )
1068
+
1069
+ copyWithZone(zone: interop.PointerConvertible): interop.Object
1070
+
1071
+ static readonly supportsSecureCoding: boolean
1072
+
1073
+ encodeWithCoder(coder: NSCoder): void
1074
+
1075
+ initWithCoder(coder: NSCoder): this
1076
+ }
1077
+
1078
+ declare class SCNPhysicsField extends NSObject implements NSCopying, NSSecureCoding {
1079
+ strength: number
1080
+
1081
+ falloffExponent: number
1082
+
1083
+ minimumDistance: number
1084
+
1085
+ active: boolean
1086
+
1087
+ exclusive: boolean
1088
+
1089
+ halfExtent: SCNVector3
1090
+
1091
+ usesEllipsoidalExtent: boolean
1092
+
1093
+ scope: interop.Enum<typeof SCNPhysicsFieldScope>
1094
+
1095
+ offset: SCNVector3
1096
+
1097
+ direction: SCNVector3
1098
+
1099
+ categoryBitMask: number
1100
+
1101
+ static dragField(): SCNPhysicsField
1102
+
1103
+ static vortexField(): SCNPhysicsField
1104
+
1105
+ static radialGravityField(): SCNPhysicsField
1106
+
1107
+ static linearGravityField(): SCNPhysicsField
1108
+
1109
+ static noiseFieldWithSmoothnessAnimationSpeed(smoothness: number, speed: number): SCNPhysicsField
1110
+
1111
+ static turbulenceFieldWithSmoothnessAnimationSpeed(
1112
+ smoothness: number,
1113
+ speed: number,
1114
+ ): SCNPhysicsField
1115
+
1116
+ static springField(): SCNPhysicsField
1117
+
1118
+ static electricField(): SCNPhysicsField
1119
+
1120
+ static magneticField(): SCNPhysicsField
1121
+
1122
+ static customFieldWithEvaluationBlock(
1123
+ block: (p1: SCNVector3, p2: SCNVector3, p3: number, p4: number, p5: number) => SCNVector3,
1124
+ ): SCNPhysicsField
1125
+
1126
+ isActive(): boolean
1127
+
1128
+ isExclusive(): boolean
1129
+
1130
+ copyWithZone(zone: interop.PointerConvertible): interop.Object
1131
+
1132
+ static readonly supportsSecureCoding: boolean
1133
+
1134
+ encodeWithCoder(coder: NSCoder): void
1135
+
1136
+ initWithCoder(coder: NSCoder): this
1137
+ }
1138
+
1139
+ declare class SCNCone extends SCNGeometry {
1140
+ static coneWithTopRadiusBottomRadiusHeight<This extends abstract new (...args: any) => any>(
1141
+ this: This,
1142
+ topRadius: number,
1143
+ bottomRadius: number,
1144
+ height: number,
1145
+ ): InstanceType<This>
1146
+
1147
+ topRadius: number
1148
+
1149
+ bottomRadius: number
1150
+
1151
+ height: number
1152
+
1153
+ radialSegmentCount: number
1154
+
1155
+ heightSegmentCount: number
1156
+ }
1157
+
1158
+ declare class SCNPhysicsBehavior extends NSObject implements NSSecureCoding {
1159
+ static readonly supportsSecureCoding: boolean
1160
+
1161
+ encodeWithCoder(coder: NSCoder): void
1162
+
1163
+ initWithCoder(coder: NSCoder): this
1164
+ }
1165
+
1166
+ declare class SCNCameraController extends NSObject {
1167
+ delegate: SCNCameraControllerDelegate
1168
+
1169
+ pointOfView: SCNNode
1170
+
1171
+ interactionMode: interop.Enum<typeof SCNInteractionMode>
1172
+
1173
+ target: SCNVector3
1174
+
1175
+ automaticTarget: boolean
1176
+
1177
+ worldUp: SCNVector3
1178
+
1179
+ inertiaEnabled: boolean
1180
+
1181
+ inertiaFriction: number
1182
+
1183
+ readonly inertiaRunning: boolean
1184
+
1185
+ minimumVerticalAngle: number
1186
+
1187
+ maximumVerticalAngle: number
1188
+
1189
+ minimumHorizontalAngle: number
1190
+
1191
+ maximumHorizontalAngle: number
1192
+
1193
+ translateInCameraSpaceByXYZ(deltaX: number, deltaY: number, deltaZ: number): void
1194
+
1195
+ frameNodes(nodes: NSArray<interop.Object> | Array<interop.Object>): void
1196
+
1197
+ rotateByXY(deltaX: number, deltaY: number): void
1198
+
1199
+ rollByAroundScreenPointViewport(delta: number, point: CGPoint, viewport: CGSize): void
1200
+
1201
+ dollyByOnScreenPointViewport(delta: number, point: CGPoint, viewport: CGSize): void
1202
+
1203
+ rollAroundTarget(delta: number): void
1204
+
1205
+ dollyToTarget(delta: number): void
1206
+
1207
+ clearRoll(): void
1208
+
1209
+ stopInertia(): void
1210
+
1211
+ beginInteractionWithViewport(location: CGPoint, viewport: CGSize): void
1212
+
1213
+ continueInteractionWithViewportSensitivity(
1214
+ location: CGPoint,
1215
+ viewport: CGSize,
1216
+ sensitivity: number,
1217
+ ): void
1218
+
1219
+ endInteractionWithViewportVelocity(location: CGPoint, viewport: CGSize, velocity: CGPoint): void
1220
+
1221
+ isInertiaRunning(): boolean
1222
+ }
1223
+
1224
+ declare class SCNAudioPlayer extends NSObject {
1225
+ initWithSource(source: SCNAudioSource): this
1226
+
1227
+ initWithAVAudioNode(audioNode: AVAudioNode): this
1228
+
1229
+ static audioPlayerWithSource<This extends abstract new (...args: any) => any>(
1230
+ this: This,
1231
+ source: SCNAudioSource,
1232
+ ): InstanceType<This>
1233
+
1234
+ static audioPlayerWithAVAudioNode<This extends abstract new (...args: any) => any>(
1235
+ this: This,
1236
+ audioNode: AVAudioNode,
1237
+ ): InstanceType<This>
1238
+
1239
+ willStartPlayback: () => void
1240
+
1241
+ didFinishPlayback: () => void
1242
+
1243
+ readonly audioNode: AVAudioNode
1244
+
1245
+ readonly audioSource: SCNAudioSource
1246
+ }
1247
+
1248
+ declare class SCNReferenceNode extends SCNNode {
1249
+ initWithURL(referenceURL: NSURL): this
1250
+
1251
+ initWithCoder(coder: NSCoder): this
1252
+ initWithCoder(aDecoder: NSCoder): this
1253
+
1254
+ static referenceNodeWithURL<This extends abstract new (...args: any) => any>(
1255
+ this: This,
1256
+ referenceURL: NSURL,
1257
+ ): InstanceType<This>
1258
+
1259
+ referenceURL: NSURL
1260
+
1261
+ loadingPolicy: interop.Enum<typeof SCNReferenceLoadingPolicy>
1262
+
1263
+ load(): void
1264
+
1265
+ unload(): void
1266
+
1267
+ readonly loaded: boolean
1268
+
1269
+ isLoaded(): boolean
1270
+ }
1271
+
1272
+ declare class SCNPhysicsVehicle extends SCNPhysicsBehavior {
1273
+ static vehicleWithChassisBodyWheels<This extends abstract new (...args: any) => any>(
1274
+ this: This,
1275
+ chassisBody: SCNPhysicsBody,
1276
+ wheels: NSArray<interop.Object> | Array<interop.Object>,
1277
+ ): InstanceType<This>
1278
+
1279
+ readonly speedInKilometersPerHour: number
1280
+
1281
+ readonly wheels: NSArray
1282
+
1283
+ readonly chassisBody: SCNPhysicsBody
1284
+
1285
+ applyEngineForceForWheelAtIndex(value: number, index: number): void
1286
+
1287
+ setSteeringAngleForWheelAtIndex(value: number, index: number): void
1288
+
1289
+ applyBrakingForceForWheelAtIndex(value: number, index: number): void
1290
+ }
1291
+
1292
+ declare class SCNPhysicsBallSocketJoint extends SCNPhysicsBehavior {
1293
+ static jointWithBodyAAnchorABodyBAnchorB<This extends abstract new (...args: any) => any>(
1294
+ this: This,
1295
+ bodyA: SCNPhysicsBody,
1296
+ anchorA: SCNVector3,
1297
+ bodyB: SCNPhysicsBody,
1298
+ anchorB: SCNVector3,
1299
+ ): InstanceType<This>
1300
+
1301
+ static jointWithBodyAnchor<This extends abstract new (...args: any) => any>(
1302
+ this: This,
1303
+ body: SCNPhysicsBody,
1304
+ anchor: SCNVector3,
1305
+ ): InstanceType<This>
1306
+
1307
+ readonly bodyA: SCNPhysicsBody
1308
+
1309
+ anchorA: SCNVector3
1310
+
1311
+ readonly bodyB: SCNPhysicsBody
1312
+
1313
+ anchorB: SCNVector3
1314
+ }
1315
+
1316
+ declare class SCNPhysicsHingeJoint extends SCNPhysicsBehavior {
1317
+ static jointWithBodyAAxisAAnchorABodyBAxisBAnchorB<
1318
+ This extends abstract new (...args: any) => any,
1319
+ >(
1320
+ this: This,
1321
+ bodyA: SCNPhysicsBody,
1322
+ axisA: SCNVector3,
1323
+ anchorA: SCNVector3,
1324
+ bodyB: SCNPhysicsBody,
1325
+ axisB: SCNVector3,
1326
+ anchorB: SCNVector3,
1327
+ ): InstanceType<This>
1328
+
1329
+ static jointWithBodyAxisAnchor<This extends abstract new (...args: any) => any>(
1330
+ this: This,
1331
+ body: SCNPhysicsBody,
1332
+ axis: SCNVector3,
1333
+ anchor: SCNVector3,
1334
+ ): InstanceType<This>
1335
+
1336
+ readonly bodyA: SCNPhysicsBody
1337
+
1338
+ axisA: SCNVector3
1339
+
1340
+ anchorA: SCNVector3
1341
+
1342
+ readonly bodyB: SCNPhysicsBody
1343
+
1344
+ axisB: SCNVector3
1345
+
1346
+ anchorB: SCNVector3
1347
+ }
1348
+
1349
+ declare class SCNPhysicsWorld extends NSObject implements NSSecureCoding {
1350
+ gravity: SCNVector3
1351
+
1352
+ speed: number
1353
+
1354
+ timeStep: number
1355
+
1356
+ contactDelegate: SCNPhysicsContactDelegate
1357
+
1358
+ addBehavior(behavior: SCNPhysicsBehavior): void
1359
+
1360
+ removeBehavior(behavior: SCNPhysicsBehavior): void
1361
+
1362
+ removeAllBehaviors(): void
1363
+
1364
+ readonly allBehaviors: NSArray
1365
+
1366
+ rayTestWithSegmentFromPointToPointOptions(
1367
+ origin: SCNVector3,
1368
+ dest: SCNVector3,
1369
+ options:
1370
+ | NSDictionary<interop.Object, interop.Object>
1371
+ | Record<interop.Object, interop.Object>
1372
+ | null,
1373
+ ): NSArray
1374
+
1375
+ contactTestBetweenBodyAndBodyOptions(
1376
+ bodyA: SCNPhysicsBody,
1377
+ bodyB: SCNPhysicsBody,
1378
+ options:
1379
+ | NSDictionary<interop.Object, interop.Object>
1380
+ | Record<interop.Object, interop.Object>
1381
+ | null,
1382
+ ): NSArray
1383
+
1384
+ contactTestWithBodyOptions(
1385
+ body: SCNPhysicsBody,
1386
+ options:
1387
+ | NSDictionary<interop.Object, interop.Object>
1388
+ | Record<interop.Object, interop.Object>
1389
+ | null,
1390
+ ): NSArray
1391
+
1392
+ convexSweepTestWithShapeFromTransformToTransformOptions(
1393
+ shape: SCNPhysicsShape,
1394
+ from: CATransform3D,
1395
+ to: CATransform3D,
1396
+ options:
1397
+ | NSDictionary<interop.Object, interop.Object>
1398
+ | Record<interop.Object, interop.Object>
1399
+ | null,
1400
+ ): NSArray
1401
+
1402
+ updateCollisionPairs(): void
1403
+
1404
+ static readonly supportsSecureCoding: boolean
1405
+
1406
+ encodeWithCoder(coder: NSCoder): void
1407
+
1408
+ initWithCoder(coder: NSCoder): this
1409
+ }
1410
+
1411
+ declare class SCNPhysicsShape extends NSObject implements NSCopying, NSSecureCoding {
1412
+ static shapeWithGeometryOptions<This extends abstract new (...args: any) => any>(
1413
+ this: This,
1414
+ geometry: SCNGeometry,
1415
+ options:
1416
+ | NSDictionary<interop.Object, interop.Object>
1417
+ | Record<interop.Object, interop.Object>
1418
+ | null,
1419
+ ): InstanceType<This>
1420
+
1421
+ static shapeWithNodeOptions<This extends abstract new (...args: any) => any>(
1422
+ this: This,
1423
+ node: SCNNode,
1424
+ options:
1425
+ | NSDictionary<interop.Object, interop.Object>
1426
+ | Record<interop.Object, interop.Object>
1427
+ | null,
1428
+ ): InstanceType<This>
1429
+
1430
+ static shapeWithShapesTransforms<This extends abstract new (...args: any) => any>(
1431
+ this: This,
1432
+ shapes: NSArray<interop.Object> | Array<interop.Object>,
1433
+ transforms: NSArray<interop.Object> | Array<interop.Object> | null,
1434
+ ): InstanceType<This>
1435
+
1436
+ readonly options: NSDictionary
1437
+
1438
+ readonly sourceObject: interop.Object
1439
+
1440
+ readonly transforms: NSArray
1441
+
1442
+ copyWithZone(zone: interop.PointerConvertible): interop.Object
1443
+
1444
+ static readonly supportsSecureCoding: boolean
1445
+
1446
+ encodeWithCoder(coder: NSCoder): void
1447
+
1448
+ initWithCoder(coder: NSCoder): this
1449
+ }
1450
+
1451
+ declare class SCNParticleSystem
1452
+ extends NSObject
1453
+ implements NSCopying, NSSecureCoding, SCNAnimatable
1454
+ {
1455
+ static particleSystem<This extends abstract new (...args: any) => any>(
1456
+ this: This,
1457
+ ): InstanceType<This>
1458
+
1459
+ static particleSystemNamedInDirectory<This extends abstract new (...args: any) => any>(
1460
+ this: This,
1461
+ name: string,
1462
+ directory: string | null,
1463
+ ): InstanceType<This>
1464
+
1465
+ emissionDuration: number
1466
+
1467
+ emissionDurationVariation: number
1468
+
1469
+ idleDuration: number
1470
+
1471
+ idleDurationVariation: number
1472
+
1473
+ loops: boolean
1474
+
1475
+ birthRate: number
1476
+
1477
+ birthRateVariation: number
1478
+
1479
+ warmupDuration: number
1480
+
1481
+ emitterShape: SCNGeometry
1482
+
1483
+ birthLocation: interop.Enum<typeof SCNParticleBirthLocation>
1484
+
1485
+ birthDirection: interop.Enum<typeof SCNParticleBirthDirection>
1486
+
1487
+ spreadingAngle: number
1488
+
1489
+ emittingDirection: SCNVector3
1490
+
1491
+ orientationDirection: SCNVector3
1492
+
1493
+ acceleration: SCNVector3
1494
+
1495
+ local: boolean
1496
+
1497
+ particleAngle: number
1498
+
1499
+ particleAngleVariation: number
1500
+
1501
+ particleVelocity: number
1502
+
1503
+ particleVelocityVariation: number
1504
+
1505
+ particleAngularVelocity: number
1506
+
1507
+ particleAngularVelocityVariation: number
1508
+
1509
+ particleLifeSpan: number
1510
+
1511
+ particleLifeSpanVariation: number
1512
+
1513
+ systemSpawnedOnDying: SCNParticleSystem
1514
+
1515
+ systemSpawnedOnCollision: SCNParticleSystem
1516
+
1517
+ systemSpawnedOnLiving: SCNParticleSystem
1518
+
1519
+ particleImage: interop.Object
1520
+
1521
+ imageSequenceColumnCount: number
1522
+
1523
+ imageSequenceRowCount: number
1524
+
1525
+ imageSequenceInitialFrame: number
1526
+
1527
+ imageSequenceInitialFrameVariation: number
1528
+
1529
+ imageSequenceFrameRate: number
1530
+
1531
+ imageSequenceFrameRateVariation: number
1532
+
1533
+ imageSequenceAnimationMode: interop.Enum<typeof SCNParticleImageSequenceAnimationMode>
1534
+
1535
+ particleColor: NSColor
1536
+
1537
+ particleColorVariation: SCNVector4
1538
+
1539
+ particleSize: number
1540
+
1541
+ particleSizeVariation: number
1542
+
1543
+ particleIntensity: number
1544
+
1545
+ particleIntensityVariation: number
1546
+
1547
+ blendMode: interop.Enum<typeof SCNParticleBlendMode>
1548
+
1549
+ blackPassEnabled: boolean
1550
+
1551
+ orientationMode: interop.Enum<typeof SCNParticleOrientationMode>
1552
+
1553
+ sortingMode: interop.Enum<typeof SCNParticleSortingMode>
1554
+
1555
+ lightingEnabled: boolean
1556
+
1557
+ affectedByGravity: boolean
1558
+
1559
+ affectedByPhysicsFields: boolean
1560
+
1561
+ particleDiesOnCollision: boolean
1562
+
1563
+ get colliderNodes(): NSArray
1564
+ set colliderNodes(value: NSArray<interop.Object> | Array<interop.Object>)
1565
+
1566
+ particleMass: number
1567
+
1568
+ particleMassVariation: number
1569
+
1570
+ particleBounce: number
1571
+
1572
+ particleBounceVariation: number
1573
+
1574
+ particleFriction: number
1575
+
1576
+ particleFrictionVariation: number
1577
+
1578
+ particleCharge: number
1579
+
1580
+ particleChargeVariation: number
1581
+
1582
+ dampingFactor: number
1583
+
1584
+ speedFactor: number
1585
+
1586
+ stretchFactor: number
1587
+
1588
+ fresnelExponent: number
1589
+
1590
+ get propertyControllers(): NSDictionary
1591
+ set propertyControllers(
1592
+ value: NSDictionary<interop.Object, interop.Object> | Record<interop.Object, interop.Object>,
1593
+ )
1594
+
1595
+ reset(): void
1596
+
1597
+ handleEventForPropertiesWithBlock(
1598
+ event: interop.Enum<typeof SCNParticleEvent>,
1599
+ properties: NSArray<interop.Object> | Array<interop.Object>,
1600
+ block: (
1601
+ p1: interop.PointerConvertible,
1602
+ p2: interop.PointerConvertible,
1603
+ p3: interop.PointerConvertible,
1604
+ p4: number,
1605
+ ) => void,
1606
+ ): void
1607
+
1608
+ addModifierForPropertiesAtStageWithBlock(
1609
+ properties: NSArray<interop.Object> | Array<interop.Object>,
1610
+ stage: interop.Enum<typeof SCNParticleModifierStage>,
1611
+ block: (
1612
+ p1: interop.PointerConvertible,
1613
+ p2: interop.PointerConvertible,
1614
+ p3: number,
1615
+ p4: number,
1616
+ p5: number,
1617
+ ) => void,
1618
+ ): void
1619
+
1620
+ removeModifiersOfStage(stage: interop.Enum<typeof SCNParticleModifierStage>): void
1621
+
1622
+ removeAllModifiers(): void
1623
+
1624
+ isLocal(): boolean
1625
+
1626
+ isBlackPassEnabled(): boolean
1627
+
1628
+ isLightingEnabled(): boolean
1629
+
1630
+ copyWithZone(zone: interop.PointerConvertible): interop.Object
1631
+
1632
+ static readonly supportsSecureCoding: boolean
1633
+
1634
+ encodeWithCoder(coder: NSCoder): void
1635
+
1636
+ initWithCoder(coder: NSCoder): this
1637
+
1638
+ addAnimationForKey(animation: SCNAnimation, key: string | null): void
1639
+
1640
+ addAnimationPlayerForKey(player: SCNAnimationPlayer, key: string | null): void
1641
+
1642
+ removeAllAnimations(): void
1643
+
1644
+ removeAnimationForKey(key: string): void
1645
+
1646
+ removeAnimationForKeyBlendOutDuration(key: string, duration: number): void
1647
+
1648
+ readonly animationKeys: NSArray
1649
+
1650
+ animationPlayerForKey(key: string): SCNAnimationPlayer
1651
+
1652
+ removeAnimationForKeyFadeOutDuration(key: string, duration: number): void
1653
+
1654
+ animationForKey(key: string): CAAnimation
1655
+
1656
+ pauseAnimationForKey(key: string): void
1657
+
1658
+ resumeAnimationForKey(key: string): void
1659
+
1660
+ setSpeedForAnimationKey(speed: number, key: string): void
1661
+
1662
+ isAnimationForKeyPaused(key: string): boolean
1663
+
1664
+ isEqual(object: interop.Object): boolean
1665
+
1666
+ readonly hash: number
1667
+
1668
+ readonly superclass: interop.Pointer
1669
+
1670
+ class(): interop.Pointer
1671
+
1672
+ self(): this
1673
+
1674
+ performSelector(aSelector: string): interop.Object
1675
+
1676
+ performSelectorWithObject(aSelector: string, object: interop.Object): interop.Object
1677
+
1678
+ performSelectorWithObjectWithObject(
1679
+ aSelector: string,
1680
+ object1: interop.Object,
1681
+ object2: interop.Object,
1682
+ ): interop.Object
1683
+
1684
+ readonly isProxy: boolean
1685
+
1686
+ isKindOfClass(aClass: interop.PointerConvertible): boolean
1687
+
1688
+ isMemberOfClass(aClass: interop.PointerConvertible): boolean
1689
+
1690
+ conformsToProtocol(aProtocol: interop.PointerConvertible): boolean
1691
+
1692
+ respondsToSelector(aSelector: string): boolean
1693
+
1694
+ retain(): this
1695
+
1696
+ release(): void
1697
+
1698
+ autorelease(): this
1699
+
1700
+ retainCount(): number
1701
+
1702
+ readonly zone: interop.Pointer
1703
+
1704
+ readonly description: string
1705
+
1706
+ readonly debugDescription: string
1707
+ }
1708
+
1709
+ declare class SCNParticlePropertyController extends NSObject implements NSSecureCoding, NSCopying {
1710
+ static controllerWithAnimation<This extends abstract new (...args: any) => any>(
1711
+ this: This,
1712
+ animation: CAAnimation,
1713
+ ): InstanceType<This>
1714
+
1715
+ animation: CAAnimation
1716
+
1717
+ inputMode: interop.Enum<typeof SCNParticleInputMode>
1718
+
1719
+ inputScale: number
1720
+
1721
+ inputBias: number
1722
+
1723
+ inputOrigin: SCNNode
1724
+
1725
+ inputProperty: string
1726
+
1727
+ static readonly supportsSecureCoding: boolean
1728
+
1729
+ encodeWithCoder(coder: NSCoder): void
1730
+
1731
+ initWithCoder(coder: NSCoder): this
1732
+
1733
+ copyWithZone(zone: interop.PointerConvertible): interop.Object
1734
+ }
1735
+
1736
+ declare class SCNLevelOfDetail extends NSObject implements NSCopying, NSSecureCoding {
1737
+ static levelOfDetailWithGeometryScreenSpaceRadius<
1738
+ This extends abstract new (...args: any) => any,
1739
+ >(this: This, geometry: SCNGeometry | null, radius: number): InstanceType<This>
1740
+
1741
+ static levelOfDetailWithGeometryWorldSpaceDistance<
1742
+ This extends abstract new (...args: any) => any,
1743
+ >(this: This, geometry: SCNGeometry | null, distance: number): InstanceType<This>
1744
+
1745
+ readonly geometry: SCNGeometry
1746
+
1747
+ readonly screenSpaceRadius: number
1748
+
1749
+ readonly worldSpaceDistance: number
1750
+
1751
+ copyWithZone(zone: interop.PointerConvertible): interop.Object
1752
+
1753
+ static readonly supportsSecureCoding: boolean
1754
+
1755
+ encodeWithCoder(coder: NSCoder): void
1756
+
1757
+ initWithCoder(coder: NSCoder): this
1758
+ }
1759
+
1760
+ declare class SCNConstraint extends NSObject implements NSCopying, NSSecureCoding, SCNAnimatable {
1761
+ enabled: boolean
1762
+
1763
+ influenceFactor: number
1764
+
1765
+ incremental: boolean
1766
+
1767
+ isEnabled(): boolean
1768
+
1769
+ isIncremental(): boolean
1770
+
1771
+ copyWithZone(zone: interop.PointerConvertible): interop.Object
1772
+
1773
+ static readonly supportsSecureCoding: boolean
1774
+
1775
+ encodeWithCoder(coder: NSCoder): void
1776
+
1777
+ initWithCoder(coder: NSCoder): this
1778
+
1779
+ addAnimationForKey(animation: SCNAnimation, key: string | null): void
1780
+
1781
+ addAnimationPlayerForKey(player: SCNAnimationPlayer, key: string | null): void
1782
+
1783
+ removeAllAnimations(): void
1784
+
1785
+ removeAnimationForKey(key: string): void
1786
+
1787
+ removeAnimationForKeyBlendOutDuration(key: string, duration: number): void
1788
+
1789
+ readonly animationKeys: NSArray
1790
+
1791
+ animationPlayerForKey(key: string): SCNAnimationPlayer
1792
+
1793
+ removeAnimationForKeyFadeOutDuration(key: string, duration: number): void
1794
+
1795
+ animationForKey(key: string): CAAnimation
1796
+
1797
+ pauseAnimationForKey(key: string): void
1798
+
1799
+ resumeAnimationForKey(key: string): void
1800
+
1801
+ setSpeedForAnimationKey(speed: number, key: string): void
1802
+
1803
+ isAnimationForKeyPaused(key: string): boolean
1804
+
1805
+ isEqual(object: interop.Object): boolean
1806
+
1807
+ readonly hash: number
1808
+
1809
+ readonly superclass: interop.Pointer
1810
+
1811
+ class(): interop.Pointer
1812
+
1813
+ self(): this
1814
+
1815
+ performSelector(aSelector: string): interop.Object
1816
+
1817
+ performSelectorWithObject(aSelector: string, object: interop.Object): interop.Object
1818
+
1819
+ performSelectorWithObjectWithObject(
1820
+ aSelector: string,
1821
+ object1: interop.Object,
1822
+ object2: interop.Object,
1823
+ ): interop.Object
1824
+
1825
+ readonly isProxy: boolean
1826
+
1827
+ isKindOfClass(aClass: interop.PointerConvertible): boolean
1828
+
1829
+ isMemberOfClass(aClass: interop.PointerConvertible): boolean
1830
+
1831
+ conformsToProtocol(aProtocol: interop.PointerConvertible): boolean
1832
+
1833
+ respondsToSelector(aSelector: string): boolean
1834
+
1835
+ retain(): this
1836
+
1837
+ release(): void
1838
+
1839
+ autorelease(): this
1840
+
1841
+ retainCount(): number
1842
+
1843
+ readonly zone: interop.Pointer
1844
+
1845
+ readonly description: string
1846
+
1847
+ readonly debugDescription: string
1848
+ }
1849
+
1850
+ declare class SCNSkinner extends NSObject implements NSSecureCoding {
1851
+ skeleton: SCNNode
1852
+
1853
+ static skinnerWithBaseGeometryBonesBoneInverseBindTransformsBoneWeightsBoneIndices<
1854
+ This extends abstract new (...args: any) => any,
1855
+ >(
1856
+ this: This,
1857
+ baseGeometry: SCNGeometry | null,
1858
+ bones: NSArray<interop.Object> | Array<interop.Object>,
1859
+ boneInverseBindTransforms: NSArray<interop.Object> | Array<interop.Object> | null,
1860
+ boneWeights: SCNGeometrySource,
1861
+ boneIndices: SCNGeometrySource,
1862
+ ): InstanceType<This>
1863
+
1864
+ baseGeometry: SCNGeometry
1865
+
1866
+ baseGeometryBindTransform: CATransform3D
1867
+
1868
+ readonly boneInverseBindTransforms: NSArray
1869
+
1870
+ readonly bones: NSArray
1871
+
1872
+ readonly boneWeights: SCNGeometrySource
1873
+
1874
+ readonly boneIndices: SCNGeometrySource
1875
+
1876
+ static readonly supportsSecureCoding: boolean
1877
+
1878
+ encodeWithCoder(coder: NSCoder): void
1879
+
1880
+ initWithCoder(coder: NSCoder): this
1881
+ }
1882
+
1883
+ declare class SCNShape extends SCNGeometry {
1884
+ static shapeWithPathExtrusionDepth<This extends abstract new (...args: any) => any>(
1885
+ this: This,
1886
+ path: NSBezierPath | null,
1887
+ extrusionDepth: number,
1888
+ ): InstanceType<This>
1889
+
1890
+ path: NSBezierPath
1891
+
1892
+ extrusionDepth: number
1893
+
1894
+ chamferMode: interop.Enum<typeof SCNChamferMode>
1895
+
1896
+ chamferRadius: number
1897
+
1898
+ chamferProfile: NSBezierPath
1899
+ }
1900
+
1901
+ declare class SCNText extends SCNGeometry {
1902
+ static textWithStringExtrusionDepth<This extends abstract new (...args: any) => any>(
1903
+ this: This,
1904
+ string: interop.Object | null,
1905
+ extrusionDepth: number,
1906
+ ): InstanceType<This>
1907
+
1908
+ extrusionDepth: number
1909
+
1910
+ string: interop.Object
1911
+
1912
+ font: NSFont
1913
+
1914
+ wrapped: boolean
1915
+
1916
+ containerFrame: CGRect
1917
+
1918
+ readonly textSize: CGSize
1919
+
1920
+ truncationMode: string
1921
+
1922
+ alignmentMode: string
1923
+
1924
+ chamferRadius: number
1925
+
1926
+ chamferSegmentCount: number
1927
+
1928
+ chamferProfile: NSBezierPath
1929
+
1930
+ flatness: number
1931
+
1932
+ isWrapped(): boolean
1933
+ }
1934
+
1935
+ declare class SCNTube extends SCNGeometry {
1936
+ static tubeWithInnerRadiusOuterRadiusHeight<This extends abstract new (...args: any) => any>(
1937
+ this: This,
1938
+ innerRadius: number,
1939
+ outerRadius: number,
1940
+ height: number,
1941
+ ): InstanceType<This>
1942
+
1943
+ innerRadius: number
1944
+
1945
+ outerRadius: number
1946
+
1947
+ height: number
1948
+
1949
+ radialSegmentCount: number
1950
+
1951
+ heightSegmentCount: number
1952
+ }
1953
+
1954
+ declare class SCNSphere extends SCNGeometry {
1955
+ static sphereWithRadius<This extends abstract new (...args: any) => any>(
1956
+ this: This,
1957
+ radius: number,
1958
+ ): InstanceType<This>
1959
+
1960
+ radius: number
1961
+
1962
+ geodesic: boolean
1963
+
1964
+ segmentCount: number
1965
+
1966
+ isGeodesic(): boolean
1967
+ }
1968
+
1969
+ declare class SCNBox extends SCNGeometry {
1970
+ static boxWithWidthHeightLengthChamferRadius<This extends abstract new (...args: any) => any>(
1971
+ this: This,
1972
+ width: number,
1973
+ height: number,
1974
+ length: number,
1975
+ chamferRadius: number,
1976
+ ): InstanceType<This>
1977
+
1978
+ width: number
1979
+
1980
+ height: number
1981
+
1982
+ length: number
1983
+
1984
+ chamferRadius: number
1985
+
1986
+ widthSegmentCount: number
1987
+
1988
+ heightSegmentCount: number
1989
+
1990
+ lengthSegmentCount: number
1991
+
1992
+ chamferSegmentCount: number
1993
+ }
1994
+
1995
+ declare class SCNPlane extends SCNGeometry {
1996
+ static planeWithWidthHeight<This extends abstract new (...args: any) => any>(
1997
+ this: This,
1998
+ width: number,
1999
+ height: number,
2000
+ ): InstanceType<This>
2001
+
2002
+ width: number
2003
+
2004
+ height: number
2005
+
2006
+ widthSegmentCount: number
2007
+
2008
+ heightSegmentCount: number
2009
+
2010
+ cornerRadius: number
2011
+
2012
+ cornerSegmentCount: number
2013
+ }
2014
+
2015
+ declare class SCNPhysicsBody extends NSObject implements NSCopying, NSSecureCoding {
2016
+ static staticBody<This extends abstract new (...args: any) => any>(this: This): InstanceType<This>
2017
+
2018
+ static dynamicBody<This extends abstract new (...args: any) => any>(
2019
+ this: This,
2020
+ ): InstanceType<This>
2021
+
2022
+ static kinematicBody<This extends abstract new (...args: any) => any>(
2023
+ this: This,
2024
+ ): InstanceType<This>
2025
+
2026
+ static bodyWithTypeShape<This extends abstract new (...args: any) => any>(
2027
+ this: This,
2028
+ type: interop.Enum<typeof SCNPhysicsBodyType>,
2029
+ shape: SCNPhysicsShape | null,
2030
+ ): InstanceType<This>
2031
+
2032
+ type: interop.Enum<typeof SCNPhysicsBodyType>
2033
+
2034
+ mass: number
2035
+
2036
+ momentOfInertia: SCNVector3
2037
+
2038
+ usesDefaultMomentOfInertia: boolean
2039
+
2040
+ charge: number
2041
+
2042
+ friction: number
2043
+
2044
+ restitution: number
2045
+
2046
+ rollingFriction: number
2047
+
2048
+ physicsShape: SCNPhysicsShape
2049
+
2050
+ readonly isResting: boolean
2051
+
2052
+ allowsResting: boolean
2053
+
2054
+ velocity: SCNVector3
2055
+
2056
+ angularVelocity: SCNVector4
2057
+
2058
+ damping: number
2059
+
2060
+ angularDamping: number
2061
+
2062
+ velocityFactor: SCNVector3
2063
+
2064
+ angularVelocityFactor: SCNVector3
2065
+
2066
+ categoryBitMask: number
2067
+
2068
+ collisionBitMask: number
2069
+
2070
+ contactTestBitMask: number
2071
+
2072
+ affectedByGravity: boolean
2073
+
2074
+ applyForceImpulse(direction: SCNVector3, impulse: boolean): void
2075
+
2076
+ applyForceAtPositionImpulse(direction: SCNVector3, position: SCNVector3, impulse: boolean): void
2077
+
2078
+ applyTorqueImpulse(torque: SCNVector4, impulse: boolean): void
2079
+
2080
+ clearAllForces(): void
2081
+
2082
+ resetTransform(): void
2083
+
2084
+ setResting(resting: boolean): void
2085
+
2086
+ continuousCollisionDetectionThreshold: number
2087
+
2088
+ centerOfMassOffset: SCNVector3
2089
+
2090
+ linearRestingThreshold: number
2091
+
2092
+ angularRestingThreshold: number
2093
+
2094
+ isAffectedByGravity(): boolean
2095
+
2096
+ copyWithZone(zone: interop.PointerConvertible): interop.Object
2097
+
2098
+ static readonly supportsSecureCoding: boolean
2099
+
2100
+ encodeWithCoder(coder: NSCoder): void
2101
+
2102
+ initWithCoder(coder: NSCoder): this
2103
+ }
2104
+
2105
+ declare class SCNGeometryElement extends NSObject implements NSSecureCoding {
2106
+ static geometryElementWithDataPrimitiveTypePrimitiveCountBytesPerIndex<
2107
+ This extends abstract new (...args: any) => any,
2108
+ >(
2109
+ this: This,
2110
+ data: NSData | null,
2111
+ primitiveType: interop.Enum<typeof SCNGeometryPrimitiveType>,
2112
+ primitiveCount: number,
2113
+ bytesPerIndex: number,
2114
+ ): InstanceType<This>
2115
+
2116
+ static geometryElementWithBufferPrimitiveTypePrimitiveCountBytesPerIndex<
2117
+ This extends abstract new (...args: any) => any,
2118
+ >(
2119
+ this: This,
2120
+ buffer: MTLBuffer,
2121
+ primitiveType: interop.Enum<typeof SCNGeometryPrimitiveType>,
2122
+ primitiveCount: number,
2123
+ bytesPerIndex: number,
2124
+ ): InstanceType<This>
2125
+
2126
+ readonly data: NSData
2127
+
2128
+ readonly primitiveType: interop.Enum<typeof SCNGeometryPrimitiveType>
2129
+
2130
+ readonly primitiveCount: number
2131
+
2132
+ readonly bytesPerIndex: number
2133
+
2134
+ primitiveRange: _NSRange
2135
+
2136
+ pointSize: number
2137
+
2138
+ minimumPointScreenSpaceRadius: number
2139
+
2140
+ maximumPointScreenSpaceRadius: number
2141
+
2142
+ static geometryElementWithMDLSubmesh<This extends abstract new (...args: any) => any>(
2143
+ this: This,
2144
+ mdlSubMesh: MDLSubmesh,
2145
+ ): InstanceType<This>
2146
+
2147
+ static readonly supportsSecureCoding: boolean
2148
+
2149
+ encodeWithCoder(coder: NSCoder): void
2150
+
2151
+ initWithCoder(coder: NSCoder): this
2152
+ }
2153
+
2154
+ declare class SCNGeometrySource extends NSObject implements NSSecureCoding {
2155
+ static geometrySourceWithDataSemanticVectorCountFloatComponentsComponentsPerVectorBytesPerComponentDataOffsetDataStride<
2156
+ This extends abstract new (...args: any) => any,
2157
+ >(
2158
+ this: This,
2159
+ data: NSData,
2160
+ semantic: string,
2161
+ vectorCount: number,
2162
+ floatComponents: boolean,
2163
+ componentsPerVector: number,
2164
+ bytesPerComponent: number,
2165
+ offset: number,
2166
+ stride: number,
2167
+ ): InstanceType<This>
2168
+
2169
+ static geometrySourceWithVerticesCount<This extends abstract new (...args: any) => any>(
2170
+ this: This,
2171
+ vertices: interop.PointerConvertible,
2172
+ count: number,
2173
+ ): InstanceType<This>
2174
+
2175
+ static geometrySourceWithNormalsCount<This extends abstract new (...args: any) => any>(
2176
+ this: This,
2177
+ normals: interop.PointerConvertible,
2178
+ count: number,
2179
+ ): InstanceType<This>
2180
+
2181
+ static geometrySourceWithTextureCoordinatesCount<This extends abstract new (...args: any) => any>(
2182
+ this: This,
2183
+ texcoord: interop.PointerConvertible,
2184
+ count: number,
2185
+ ): InstanceType<This>
2186
+
2187
+ static geometrySourceWithBufferVertexFormatSemanticVertexCountDataOffsetDataStride<
2188
+ This extends abstract new (...args: any) => any,
2189
+ >(
2190
+ this: This,
2191
+ buffer: MTLBuffer,
2192
+ vertexFormat: interop.Enum<typeof MTLVertexFormat>,
2193
+ semantic: string,
2194
+ vertexCount: number,
2195
+ offset: number,
2196
+ stride: number,
2197
+ ): InstanceType<This>
2198
+
2199
+ readonly data: NSData
2200
+
2201
+ readonly semantic: string
2202
+
2203
+ readonly vectorCount: number
2204
+
2205
+ readonly floatComponents: boolean
2206
+
2207
+ readonly componentsPerVector: number
2208
+
2209
+ readonly bytesPerComponent: number
2210
+
2211
+ readonly dataOffset: number
2212
+
2213
+ readonly dataStride: number
2214
+
2215
+ static readonly supportsSecureCoding: boolean
2216
+
2217
+ encodeWithCoder(coder: NSCoder): void
2218
+
2219
+ initWithCoder(coder: NSCoder): this
2220
+ }
2221
+
2222
+ declare class SCNNode
2223
+ extends NSObject
2224
+ implements NSCopying, NSSecureCoding, SCNAnimatable, SCNActionable, SCNBoundingVolume
2225
+ {
2226
+ static node<This extends abstract new (...args: any) => any>(this: This): InstanceType<This>
2227
+
2228
+ static nodeWithGeometry(geometry: SCNGeometry | null): SCNNode
2229
+
2230
+ clone(): this
2231
+
2232
+ flattenedClone(): this
2233
+
2234
+ name: string
2235
+
2236
+ light: SCNLight
2237
+
2238
+ camera: SCNCamera
2239
+
2240
+ geometry: SCNGeometry
2241
+
2242
+ skinner: SCNSkinner
2243
+
2244
+ morpher: SCNMorpher
2245
+
2246
+ transform: CATransform3D
2247
+
2248
+ readonly worldTransform: CATransform3D
2249
+
2250
+ position: SCNVector3
2251
+
2252
+ worldPosition: SCNVector3
2253
+
2254
+ rotation: SCNVector4
2255
+
2256
+ orientation: SCNVector4
2257
+
2258
+ worldOrientation: SCNVector4
2259
+
2260
+ eulerAngles: SCNVector3
2261
+
2262
+ scale: SCNVector3
2263
+
2264
+ pivot: CATransform3D
2265
+
2266
+ hidden: boolean
2267
+
2268
+ opacity: number
2269
+
2270
+ renderingOrder: number
2271
+
2272
+ castsShadow: boolean
2273
+
2274
+ movabilityHint: interop.Enum<typeof SCNMovabilityHint>
2275
+
2276
+ readonly parentNode: SCNNode
2277
+
2278
+ readonly childNodes: NSArray
2279
+
2280
+ addChildNode(child: SCNNode): void
2281
+
2282
+ insertChildNodeAtIndex(child: SCNNode, index: number): void
2283
+
2284
+ removeFromParentNode(): void
2285
+
2286
+ replaceChildNodeWith(oldChild: SCNNode, newChild: SCNNode): void
2287
+
2288
+ childNodeWithNameRecursively(name: string, recursively: boolean): SCNNode
2289
+
2290
+ childNodesPassingTest(
2291
+ predicate: (p1: SCNNode, p2: interop.PointerConvertible) => boolean,
2292
+ ): NSArray
2293
+
2294
+ enumerateChildNodesUsingBlock(block: (p1: SCNNode, p2: interop.PointerConvertible) => void): void
2295
+
2296
+ enumerateHierarchyUsingBlock(block: (p1: SCNNode, p2: interop.PointerConvertible) => void): void
2297
+
2298
+ convertPositionToNode(position: SCNVector3, node: SCNNode | null): SCNVector3
2299
+
2300
+ convertPositionFromNode(position: SCNVector3, node: SCNNode | null): SCNVector3
2301
+
2302
+ convertVectorToNode(vector: SCNVector3, node: SCNNode | null): SCNVector3
2303
+
2304
+ convertVectorFromNode(vector: SCNVector3, node: SCNNode | null): SCNVector3
2305
+
2306
+ convertTransformToNode(transform: CATransform3D, node: SCNNode | null): CATransform3D
2307
+
2308
+ convertTransformFromNode(transform: CATransform3D, node: SCNNode | null): CATransform3D
2309
+
2310
+ physicsBody: SCNPhysicsBody
2311
+
2312
+ physicsField: SCNPhysicsField
2313
+
2314
+ get constraints(): NSArray
2315
+ set constraints(value: NSArray<interop.Object> | Array<interop.Object>)
2316
+
2317
+ get filters(): NSArray
2318
+ set filters(value: NSArray<interop.Object> | Array<interop.Object>)
2319
+
2320
+ readonly presentationNode: SCNNode
2321
+
2322
+ paused: boolean
2323
+
2324
+ rendererDelegate: SCNNodeRendererDelegate
2325
+
2326
+ hitTestWithSegmentFromPointToPointOptions(
2327
+ pointA: SCNVector3,
2328
+ pointB: SCNVector3,
2329
+ options:
2330
+ | NSDictionary<interop.Object, interop.Object>
2331
+ | Record<interop.Object, interop.Object>
2332
+ | null,
2333
+ ): NSArray
2334
+
2335
+ categoryBitMask: number
2336
+
2337
+ isHidden(): boolean
2338
+
2339
+ isPaused(): boolean
2340
+
2341
+ static readonly localUp: SCNVector3
2342
+
2343
+ static readonly localRight: SCNVector3
2344
+
2345
+ static readonly localFront: SCNVector3
2346
+
2347
+ readonly worldUp: SCNVector3
2348
+
2349
+ readonly worldRight: SCNVector3
2350
+
2351
+ readonly worldFront: SCNVector3
2352
+
2353
+ lookAt(worldTarget: SCNVector3): void
2354
+
2355
+ lookAtUpLocalFront(worldTarget: SCNVector3, worldUp: SCNVector3, localFront: SCNVector3): void
2356
+
2357
+ localTranslateBy(translation: SCNVector3): void
2358
+
2359
+ localRotateBy(rotation: SCNVector4): void
2360
+
2361
+ rotateByAroundTarget(worldRotation: SCNVector4, worldTarget: SCNVector3): void
2362
+
2363
+ simdTransform: simd_float4x4
2364
+
2365
+ simdPosition: unknown /* ext vector */
2366
+
2367
+ simdRotation: unknown /* ext vector */
2368
+
2369
+ simdOrientation: simd_quatf
2370
+
2371
+ simdEulerAngles: unknown /* ext vector */
2372
+
2373
+ simdScale: unknown /* ext vector */
2374
+
2375
+ simdPivot: simd_float4x4
2376
+
2377
+ simdWorldPosition: unknown /* ext vector */
2378
+
2379
+ simdWorldOrientation: simd_quatf
2380
+
2381
+ simdWorldTransform: simd_float4x4
2382
+
2383
+ simdConvertPositionToNode(
2384
+ position: unknown /* ext vector */,
2385
+ node: SCNNode | null,
2386
+ ): unknown /* ext vector */
2387
+
2388
+ simdConvertPositionFromNode(
2389
+ position: unknown /* ext vector */,
2390
+ node: SCNNode | null,
2391
+ ): unknown /* ext vector */
2392
+
2393
+ simdConvertVectorToNode(
2394
+ vector: unknown /* ext vector */,
2395
+ node: SCNNode | null,
2396
+ ): unknown /* ext vector */
2397
+
2398
+ simdConvertVectorFromNode(
2399
+ vector: unknown /* ext vector */,
2400
+ node: SCNNode | null,
2401
+ ): unknown /* ext vector */
2402
+
2403
+ simdConvertTransformToNode(transform: simd_float4x4, node: SCNNode | null): simd_float4x4
2404
+
2405
+ simdConvertTransformFromNode(transform: simd_float4x4, node: SCNNode | null): simd_float4x4
2406
+
2407
+ static readonly simdLocalUp: unknown /* ext vector */
2408
+
2409
+ static readonly simdLocalRight: unknown /* ext vector */
2410
+
2411
+ static readonly simdLocalFront: unknown /* ext vector */
2412
+
2413
+ readonly simdWorldUp: unknown /* ext vector */
2414
+
2415
+ readonly simdWorldRight: unknown /* ext vector */
2416
+
2417
+ readonly simdWorldFront: unknown /* ext vector */
2418
+
2419
+ simdLookAt(worldTarget: unknown /* ext vector */): void
2420
+
2421
+ simdLookAtUpLocalFront(
2422
+ worldTarget: unknown /* ext vector */,
2423
+ worldUp: unknown /* ext vector */,
2424
+ localFront: unknown /* ext vector */,
2425
+ ): void
2426
+
2427
+ simdLocalTranslateBy(translation: unknown /* ext vector */): void
2428
+
2429
+ simdLocalRotateBy(rotation: simd_quatf): void
2430
+
2431
+ simdRotateByAroundTarget(worldRotation: simd_quatf, worldTarget: unknown /* ext vector */): void
2432
+
2433
+ focusBehavior: interop.Enum<typeof SCNNodeFocusBehavior>
2434
+
2435
+ addParticleSystem(system: SCNParticleSystem): void
2436
+
2437
+ removeAllParticleSystems(): void
2438
+
2439
+ removeParticleSystem(system: SCNParticleSystem): void
2440
+
2441
+ readonly particleSystems: NSArray
2442
+
2443
+ addAudioPlayer(player: SCNAudioPlayer): void
2444
+
2445
+ removeAllAudioPlayers(): void
2446
+
2447
+ removeAudioPlayer(player: SCNAudioPlayer): void
2448
+
2449
+ readonly audioPlayers: NSArray
2450
+
2451
+ entity: GKEntity
2452
+
2453
+ static nodeWithMDLObject<This extends abstract new (...args: any) => any>(
2454
+ this: This,
2455
+ mdlObject: MDLObject,
2456
+ ): InstanceType<This>
2457
+
2458
+ copyWithZone(zone: interop.PointerConvertible): interop.Object
2459
+
2460
+ static readonly supportsSecureCoding: boolean
2461
+
2462
+ encodeWithCoder(coder: NSCoder): void
2463
+
2464
+ initWithCoder(coder: NSCoder): this
2465
+
2466
+ addAnimationForKey(animation: SCNAnimation, key: string | null): void
2467
+
2468
+ addAnimationPlayerForKey(player: SCNAnimationPlayer, key: string | null): void
2469
+
2470
+ removeAllAnimations(): void
2471
+
2472
+ removeAnimationForKey(key: string): void
2473
+
2474
+ removeAnimationForKeyBlendOutDuration(key: string, duration: number): void
2475
+
2476
+ readonly animationKeys: NSArray
2477
+
2478
+ animationPlayerForKey(key: string): SCNAnimationPlayer
2479
+
2480
+ removeAnimationForKeyFadeOutDuration(key: string, duration: number): void
2481
+
2482
+ animationForKey(key: string): CAAnimation
2483
+
2484
+ pauseAnimationForKey(key: string): void
2485
+
2486
+ resumeAnimationForKey(key: string): void
2487
+
2488
+ setSpeedForAnimationKey(speed: number, key: string): void
2489
+
2490
+ isAnimationForKeyPaused(key: string): boolean
2491
+
2492
+ isEqual(object: interop.Object): boolean
2493
+
2494
+ readonly hash: number
2495
+
2496
+ readonly superclass: interop.Pointer
2497
+
2498
+ class(): interop.Pointer
2499
+
2500
+ self(): this
2501
+
2502
+ performSelector(aSelector: string): interop.Object
2503
+
2504
+ performSelectorWithObject(aSelector: string, object: interop.Object): interop.Object
2505
+
2506
+ performSelectorWithObjectWithObject(
2507
+ aSelector: string,
2508
+ object1: interop.Object,
2509
+ object2: interop.Object,
2510
+ ): interop.Object
2511
+
2512
+ readonly isProxy: boolean
2513
+
2514
+ isKindOfClass(aClass: interop.PointerConvertible): boolean
2515
+
2516
+ isMemberOfClass(aClass: interop.PointerConvertible): boolean
2517
+
2518
+ conformsToProtocol(aProtocol: interop.PointerConvertible): boolean
2519
+
2520
+ respondsToSelector(aSelector: string): boolean
2521
+
2522
+ retain(): this
2523
+
2524
+ release(): void
2525
+
2526
+ autorelease(): this
2527
+
2528
+ retainCount(): number
2529
+
2530
+ readonly zone: interop.Pointer
2531
+
2532
+ readonly description: string
2533
+
2534
+ readonly debugDescription: string
2535
+
2536
+ runAction(action: SCNAction): void
2537
+
2538
+ runActionCompletionHandler(action: SCNAction, block: () => void | null): void
2539
+
2540
+ runActionForKey(action: SCNAction, key: string | null): void
2541
+
2542
+ runActionForKeyCompletionHandler(
2543
+ action: SCNAction,
2544
+ key: string | null,
2545
+ block: () => void | null,
2546
+ ): void
2547
+
2548
+ readonly hasActions: boolean
2549
+
2550
+ actionForKey(key: string): SCNAction
2551
+
2552
+ removeActionForKey(key: string): void
2553
+
2554
+ removeAllActions(): void
2555
+
2556
+ readonly actionKeys: NSArray
2557
+
2558
+ getBoundingBoxMinMax(min: interop.PointerConvertible, max: interop.PointerConvertible): boolean
2559
+
2560
+ setBoundingBoxMinMax(min: interop.PointerConvertible, max: interop.PointerConvertible): void
2561
+
2562
+ getBoundingSphereCenterRadius(
2563
+ center: interop.PointerConvertible,
2564
+ radius: interop.PointerConvertible,
2565
+ ): boolean
2566
+ }
2567
+
2568
+ declare class SCNAction extends NSObject implements NSCopying, NSSecureCoding {
2569
+ duration: number
2570
+
2571
+ timingMode: interop.Enum<typeof SCNActionTimingMode>
2572
+
2573
+ timingFunction: (p1: number) => number
2574
+
2575
+ speed: number
2576
+
2577
+ reversedAction(): SCNAction
2578
+
2579
+ static moveByXYZDuration(
2580
+ deltaX: number,
2581
+ deltaY: number,
2582
+ deltaZ: number,
2583
+ duration: number,
2584
+ ): SCNAction
2585
+
2586
+ static moveByDuration(delta: SCNVector3, duration: number): SCNAction
2587
+
2588
+ static moveToDuration(location: SCNVector3, duration: number): SCNAction
2589
+
2590
+ static rotateByXYZDuration(
2591
+ xAngle: number,
2592
+ yAngle: number,
2593
+ zAngle: number,
2594
+ duration: number,
2595
+ ): SCNAction
2596
+
2597
+ static rotateToXYZDuration(
2598
+ xAngle: number,
2599
+ yAngle: number,
2600
+ zAngle: number,
2601
+ duration: number,
2602
+ ): SCNAction
2603
+
2604
+ static rotateToXYZDurationShortestUnitArc(
2605
+ xAngle: number,
2606
+ yAngle: number,
2607
+ zAngle: number,
2608
+ duration: number,
2609
+ shortestUnitArc: boolean,
2610
+ ): SCNAction
2611
+
2612
+ static rotateByAngleAroundAxisDuration(
2613
+ angle: number,
2614
+ axis: SCNVector3,
2615
+ duration: number,
2616
+ ): SCNAction
2617
+
2618
+ static rotateToAxisAngleDuration(axisAngle: SCNVector4, duration: number): SCNAction
2619
+
2620
+ static scaleByDuration(scale: number, sec: number): SCNAction
2621
+
2622
+ static scaleToDuration(scale: number, sec: number): SCNAction
2623
+
2624
+ static sequence(actions: NSArray<interop.Object> | Array<interop.Object>): SCNAction
2625
+
2626
+ static group(actions: NSArray<interop.Object> | Array<interop.Object>): SCNAction
2627
+
2628
+ static repeatActionCount(action: SCNAction, count: number): SCNAction
2629
+
2630
+ static repeatActionForever(action: SCNAction): SCNAction
2631
+
2632
+ static fadeInWithDuration(sec: number): SCNAction
2633
+
2634
+ static fadeOutWithDuration(sec: number): SCNAction
2635
+
2636
+ static fadeOpacityByDuration(factor: number, sec: number): SCNAction
2637
+
2638
+ static fadeOpacityToDuration(opacity: number, sec: number): SCNAction
2639
+
2640
+ static hide(): SCNAction
2641
+
2642
+ static unhide(): SCNAction
2643
+
2644
+ static waitForDuration(sec: number): SCNAction
2645
+
2646
+ static waitForDurationWithRange(sec: number, durationRange: number): SCNAction
2647
+
2648
+ static removeFromParentNode(): SCNAction
2649
+
2650
+ static runBlock(block: (p1: SCNNode) => void): SCNAction
2651
+
2652
+ static runBlockQueue(block: (p1: SCNNode) => void, queue: NSObject): SCNAction
2653
+
2654
+ static javaScriptActionWithScriptDuration(script: string, seconds: number): SCNAction
2655
+
2656
+ static customActionWithDurationActionBlock(
2657
+ seconds: number,
2658
+ block: (p1: SCNNode, p2: number) => void,
2659
+ ): SCNAction
2660
+
2661
+ static playAudioSourceWaitForCompletion(source: SCNAudioSource, wait: boolean): SCNAction
2662
+
2663
+ copyWithZone(zone: interop.PointerConvertible): interop.Object
2664
+
2665
+ static readonly supportsSecureCoding: boolean
2666
+
2667
+ encodeWithCoder(coder: NSCoder): void
2668
+
2669
+ initWithCoder(coder: NSCoder): this
2670
+ }
2671
+
2672
+ declare class SCNScene extends NSObject implements NSSecureCoding, GKSceneRootNodeType {
2673
+ static scene<This extends abstract new (...args: any) => any>(this: This): InstanceType<This>
2674
+
2675
+ readonly rootNode: SCNNode
2676
+
2677
+ readonly physicsWorld: SCNPhysicsWorld
2678
+
2679
+ attributeForKey(key: string): interop.Object
2680
+
2681
+ setAttributeForKey(attribute: interop.Object | null, key: string): void
2682
+
2683
+ readonly background: SCNMaterialProperty
2684
+
2685
+ readonly lightingEnvironment: SCNMaterialProperty
2686
+
2687
+ static sceneNamed<This extends abstract new (...args: any) => any>(
2688
+ this: This,
2689
+ name: string,
2690
+ ): InstanceType<This>
2691
+
2692
+ static sceneNamedInDirectoryOptions<This extends abstract new (...args: any) => any>(
2693
+ this: This,
2694
+ name: string,
2695
+ directory: string | null,
2696
+ options:
2697
+ | NSDictionary<interop.Object, interop.Object>
2698
+ | Record<interop.Object, interop.Object>
2699
+ | null,
2700
+ ): InstanceType<This>
2701
+
2702
+ static sceneWithURLOptionsError<This extends abstract new (...args: any) => any>(
2703
+ this: This,
2704
+ url: NSURL,
2705
+ options:
2706
+ | NSDictionary<interop.Object, interop.Object>
2707
+ | Record<interop.Object, interop.Object>
2708
+ | null,
2709
+ error: interop.PointerConvertible,
2710
+ ): InstanceType<This>
2711
+
2712
+ writeToURLOptionsDelegateProgressHandler(
2713
+ url: NSURL,
2714
+ options:
2715
+ | NSDictionary<interop.Object, interop.Object>
2716
+ | Record<interop.Object, interop.Object>
2717
+ | null,
2718
+ delegate: SCNSceneExportDelegate | null,
2719
+ progressHandler: (p1: number, p2: NSError, p3: interop.PointerConvertible) => void | null,
2720
+ ): boolean
2721
+
2722
+ fogStartDistance: number
2723
+
2724
+ fogEndDistance: number
2725
+
2726
+ fogDensityExponent: number
2727
+
2728
+ fogColor: interop.Object
2729
+
2730
+ wantsScreenSpaceReflection: boolean
2731
+
2732
+ screenSpaceReflectionSampleCount: number
2733
+
2734
+ screenSpaceReflectionMaximumDistance: number
2735
+
2736
+ screenSpaceReflectionStride: number
2737
+
2738
+ paused: boolean
2739
+
2740
+ isPaused(): boolean
2741
+
2742
+ addParticleSystemWithTransform(system: SCNParticleSystem, transform: CATransform3D): void
2743
+
2744
+ removeAllParticleSystems(): void
2745
+
2746
+ removeParticleSystem(system: SCNParticleSystem): void
2747
+
2748
+ readonly particleSystems: NSArray
2749
+
2750
+ static sceneWithMDLAsset<This extends abstract new (...args: any) => any>(
2751
+ this: This,
2752
+ mdlAsset: MDLAsset,
2753
+ ): InstanceType<This>
2754
+
2755
+ static readonly supportsSecureCoding: boolean
2756
+
2757
+ encodeWithCoder(coder: NSCoder): void
2758
+
2759
+ initWithCoder(coder: NSCoder): this
2760
+
2761
+ isEqual(object: interop.Object): boolean
2762
+
2763
+ readonly hash: number
2764
+
2765
+ readonly superclass: interop.Pointer
2766
+
2767
+ class(): interop.Pointer
2768
+
2769
+ self(): this
2770
+
2771
+ performSelector(aSelector: string): interop.Object
2772
+
2773
+ performSelectorWithObject(aSelector: string, object: interop.Object): interop.Object
2774
+
2775
+ performSelectorWithObjectWithObject(
2776
+ aSelector: string,
2777
+ object1: interop.Object,
2778
+ object2: interop.Object,
2779
+ ): interop.Object
2780
+
2781
+ readonly isProxy: boolean
2782
+
2783
+ isKindOfClass(aClass: interop.PointerConvertible): boolean
2784
+
2785
+ isMemberOfClass(aClass: interop.PointerConvertible): boolean
2786
+
2787
+ conformsToProtocol(aProtocol: interop.PointerConvertible): boolean
2788
+
2789
+ respondsToSelector(aSelector: string): boolean
2790
+
2791
+ retain(): this
2792
+
2793
+ release(): void
2794
+
2795
+ autorelease(): this
2796
+
2797
+ retainCount(): number
2798
+
2799
+ readonly zone: interop.Pointer
2800
+
2801
+ readonly description: string
2802
+
2803
+ readonly debugDescription: string
2804
+ }
2805
+
2806
+ declare class SCNView extends NSView implements SCNSceneRenderer, SCNTechniqueSupport {
2807
+ initWithFrameOptions(
2808
+ frame: CGRect,
2809
+ options:
2810
+ | NSDictionary<interop.Object, interop.Object>
2811
+ | Record<interop.Object, interop.Object>
2812
+ | null,
2813
+ ): this
2814
+
2815
+ scene: SCNScene
2816
+
2817
+ rendersContinuously: boolean
2818
+
2819
+ backgroundColor: NSColor
2820
+
2821
+ allowsCameraControl: boolean
2822
+
2823
+ readonly cameraControlConfiguration: SCNCameraControlConfiguration
2824
+
2825
+ readonly defaultCameraController: SCNCameraController
2826
+
2827
+ snapshot(): NSImage
2828
+
2829
+ play(sender: interop.Object | null): void
2830
+
2831
+ pause(sender: interop.Object | null): void
2832
+
2833
+ stop(sender: interop.Object | null): void
2834
+
2835
+ preferredFramesPerSecond: number
2836
+
2837
+ drawableResizesAsynchronously: boolean
2838
+
2839
+ openGLContext: NSOpenGLContext
2840
+
2841
+ antialiasingMode: interop.Enum<typeof SCNAntialiasingMode>
2842
+
2843
+ pixelFormat: NSOpenGLPixelFormat
2844
+
2845
+ presentSceneWithTransitionIncomingPointOfViewCompletionHandler(
2846
+ scene: SCNScene,
2847
+ transition: SKTransition,
2848
+ pointOfView: SCNNode | null,
2849
+ completionHandler: () => void | null,
2850
+ ): void
2851
+
2852
+ sceneTime: number
2853
+
2854
+ delegate: SCNSceneRendererDelegate
2855
+
2856
+ hitTestOptions(
2857
+ point: CGPoint,
2858
+ options:
2859
+ | NSDictionary<interop.Object, interop.Object>
2860
+ | Record<interop.Object, interop.Object>
2861
+ | null,
2862
+ ): NSArray
2863
+
2864
+ isNodeInsideFrustumWithPointOfView(node: SCNNode, pointOfView: SCNNode): boolean
2865
+
2866
+ nodesInsideFrustumWithPointOfView(pointOfView: SCNNode): NSArray
2867
+
2868
+ projectPoint(point: SCNVector3): SCNVector3
2869
+
2870
+ unprojectPoint(point: SCNVector3): SCNVector3
2871
+
2872
+ playing: boolean
2873
+
2874
+ loops: boolean
2875
+
2876
+ pointOfView: SCNNode
2877
+
2878
+ autoenablesDefaultLighting: boolean
2879
+
2880
+ jitteringEnabled: boolean
2881
+
2882
+ temporalAntialiasingEnabled: boolean
2883
+
2884
+ prepareObjectShouldAbortBlock(object: interop.Object, block: () => boolean | null): boolean
2885
+
2886
+ prepareObjectsWithCompletionHandler(
2887
+ objects: NSArray<interop.Object> | Array<interop.Object>,
2888
+ completionHandler: (p1: boolean) => void | null,
2889
+ ): void
2890
+
2891
+ showsStatistics: boolean
2892
+
2893
+ debugOptions: interop.Enum<typeof SCNDebugOptions>
2894
+
2895
+ overlaySKScene: SKScene
2896
+
2897
+ readonly renderingAPI: interop.Enum<typeof SCNRenderingAPI>
2898
+
2899
+ readonly context: interop.Pointer
2900
+
2901
+ readonly currentRenderCommandEncoder: MTLRenderCommandEncoder
2902
+
2903
+ readonly currentRenderPassDescriptor: MTLRenderPassDescriptor
2904
+
2905
+ readonly device: MTLDevice
2906
+
2907
+ readonly colorPixelFormat: interop.Enum<typeof MTLPixelFormat>
2908
+
2909
+ readonly depthPixelFormat: interop.Enum<typeof MTLPixelFormat>
2910
+
2911
+ readonly stencilPixelFormat: interop.Enum<typeof MTLPixelFormat>
2912
+
2913
+ readonly commandQueue: MTLCommandQueue
2914
+
2915
+ readonly audioEngine: AVAudioEngine
2916
+
2917
+ readonly audioEnvironmentNode: AVAudioEnvironmentNode
2918
+
2919
+ audioListener: SCNNode
2920
+
2921
+ readonly currentViewport: CGRect
2922
+
2923
+ currentTime: number
2924
+
2925
+ usesReverseZ: boolean
2926
+
2927
+ isPlaying(): boolean
2928
+
2929
+ isJitteringEnabled(): boolean
2930
+
2931
+ isTemporalAntialiasingEnabled(): boolean
2932
+
2933
+ isEqual(object: interop.Object): boolean
2934
+
2935
+ readonly hash: number
2936
+
2937
+ readonly superclass: interop.Pointer
2938
+
2939
+ class(): interop.Pointer
2940
+
2941
+ self(): this
2942
+
2943
+ performSelector(aSelector: string): interop.Object
2944
+
2945
+ performSelectorWithObject(aSelector: string, object: interop.Object): interop.Object
2946
+
2947
+ performSelectorWithObjectWithObject(
2948
+ aSelector: string,
2949
+ object1: interop.Object,
2950
+ object2: interop.Object,
2951
+ ): interop.Object
2952
+
2953
+ readonly isProxy: boolean
2954
+
2955
+ isKindOfClass(aClass: interop.PointerConvertible): boolean
2956
+
2957
+ isMemberOfClass(aClass: interop.PointerConvertible): boolean
2958
+
2959
+ conformsToProtocol(aProtocol: interop.PointerConvertible): boolean
2960
+
2961
+ respondsToSelector(aSelector: string): boolean
2962
+
2963
+ retain(): this
2964
+
2965
+ release(): void
2966
+
2967
+ autorelease(): this
2968
+
2969
+ retainCount(): number
2970
+
2971
+ readonly zone: interop.Pointer
2972
+
2973
+ readonly description: string
2974
+
2975
+ readonly debugDescription: string
2976
+
2977
+ technique: SCNTechnique
2978
+ }
2979
+
2980
+ declare class SCNAnimationPlayer
2981
+ extends NSObject
2982
+ implements SCNAnimatable, NSCopying, NSSecureCoding
2983
+ {
2984
+ static animationPlayerWithAnimation(animation: SCNAnimation): SCNAnimationPlayer
2985
+
2986
+ readonly animation: SCNAnimation
2987
+
2988
+ speed: number
2989
+
2990
+ blendFactor: number
2991
+
2992
+ paused: boolean
2993
+
2994
+ play(): void
2995
+
2996
+ stop(): void
2997
+
2998
+ stopWithBlendOutDuration(duration: number): void
2999
+
3000
+ addAnimationForKey(animation: SCNAnimation, key: string | null): void
3001
+
3002
+ addAnimationPlayerForKey(player: SCNAnimationPlayer, key: string | null): void
3003
+
3004
+ removeAllAnimations(): void
3005
+
3006
+ removeAnimationForKey(key: string): void
3007
+
3008
+ removeAnimationForKeyBlendOutDuration(key: string, duration: number): void
3009
+
3010
+ readonly animationKeys: NSArray
3011
+
3012
+ animationPlayerForKey(key: string): SCNAnimationPlayer
3013
+
3014
+ removeAnimationForKeyFadeOutDuration(key: string, duration: number): void
3015
+
3016
+ animationForKey(key: string): CAAnimation
3017
+
3018
+ pauseAnimationForKey(key: string): void
3019
+
3020
+ resumeAnimationForKey(key: string): void
3021
+
3022
+ setSpeedForAnimationKey(speed: number, key: string): void
3023
+
3024
+ isAnimationForKeyPaused(key: string): boolean
3025
+
3026
+ isEqual(object: interop.Object): boolean
3027
+
3028
+ readonly hash: number
3029
+
3030
+ readonly superclass: interop.Pointer
3031
+
3032
+ class(): interop.Pointer
3033
+
3034
+ self(): this
3035
+
3036
+ performSelector(aSelector: string): interop.Object
3037
+
3038
+ performSelectorWithObject(aSelector: string, object: interop.Object): interop.Object
3039
+
3040
+ performSelectorWithObjectWithObject(
3041
+ aSelector: string,
3042
+ object1: interop.Object,
3043
+ object2: interop.Object,
3044
+ ): interop.Object
3045
+
3046
+ readonly isProxy: boolean
3047
+
3048
+ isKindOfClass(aClass: interop.PointerConvertible): boolean
3049
+
3050
+ isMemberOfClass(aClass: interop.PointerConvertible): boolean
3051
+
3052
+ conformsToProtocol(aProtocol: interop.PointerConvertible): boolean
3053
+
3054
+ respondsToSelector(aSelector: string): boolean
3055
+
3056
+ retain(): this
3057
+
3058
+ release(): void
3059
+
3060
+ autorelease(): this
3061
+
3062
+ retainCount(): number
3063
+
3064
+ readonly zone: interop.Pointer
3065
+
3066
+ readonly description: string
3067
+
3068
+ readonly debugDescription: string
3069
+
3070
+ copyWithZone(zone: interop.PointerConvertible): interop.Object
3071
+
3072
+ static readonly supportsSecureCoding: boolean
3073
+
3074
+ encodeWithCoder(coder: NSCoder): void
3075
+
3076
+ initWithCoder(coder: NSCoder): this
3077
+ }
3078
+
3079
+ declare class SCNAnimation
3080
+ extends NSObject
3081
+ implements SCNAnimationProtocol, NSCopying, NSSecureCoding
3082
+ {
3083
+ static animationWithContentsOfURL(animationUrl: NSURL): SCNAnimation
3084
+
3085
+ static animationNamed(animationName: string): SCNAnimation
3086
+
3087
+ static animationWithCAAnimation(caAnimation: CAAnimation): SCNAnimation
3088
+
3089
+ duration: number
3090
+
3091
+ keyPath: string
3092
+
3093
+ timingFunction: SCNTimingFunction
3094
+
3095
+ blendInDuration: number
3096
+
3097
+ blendOutDuration: number
3098
+
3099
+ removedOnCompletion: boolean
3100
+
3101
+ appliedOnCompletion: boolean
3102
+
3103
+ repeatCount: number
3104
+
3105
+ autoreverses: boolean
3106
+
3107
+ startDelay: number
3108
+
3109
+ timeOffset: number
3110
+
3111
+ fillsForward: boolean
3112
+
3113
+ fillsBackward: boolean
3114
+
3115
+ usesSceneTimeBase: boolean
3116
+
3117
+ animationDidStart: (p1: SCNAnimation, p2: SCNAnimatable) => void
3118
+
3119
+ animationDidStop: (p1: SCNAnimation, p2: SCNAnimatable, p3: boolean) => void
3120
+
3121
+ get animationEvents(): NSArray
3122
+ set animationEvents(value: NSArray<interop.Object> | Array<interop.Object>)
3123
+
3124
+ additive: boolean
3125
+
3126
+ cumulative: boolean
3127
+
3128
+ isRemovedOnCompletion(): boolean
3129
+
3130
+ isAppliedOnCompletion(): boolean
3131
+
3132
+ isAdditive(): boolean
3133
+
3134
+ isCumulative(): boolean
3135
+
3136
+ isEqual(object: interop.Object): boolean
3137
+
3138
+ readonly hash: number
3139
+
3140
+ readonly superclass: interop.Pointer
3141
+
3142
+ class(): interop.Pointer
3143
+
3144
+ self(): this
3145
+
3146
+ performSelector(aSelector: string): interop.Object
3147
+
3148
+ performSelectorWithObject(aSelector: string, object: interop.Object): interop.Object
3149
+
3150
+ performSelectorWithObjectWithObject(
3151
+ aSelector: string,
3152
+ object1: interop.Object,
3153
+ object2: interop.Object,
3154
+ ): interop.Object
3155
+
3156
+ readonly isProxy: boolean
3157
+
3158
+ isKindOfClass(aClass: interop.PointerConvertible): boolean
3159
+
3160
+ isMemberOfClass(aClass: interop.PointerConvertible): boolean
3161
+
3162
+ conformsToProtocol(aProtocol: interop.PointerConvertible): boolean
3163
+
3164
+ respondsToSelector(aSelector: string): boolean
3165
+
3166
+ retain(): this
3167
+
3168
+ release(): void
3169
+
3170
+ autorelease(): this
3171
+
3172
+ retainCount(): number
3173
+
3174
+ readonly zone: interop.Pointer
3175
+
3176
+ readonly description: string
3177
+
3178
+ readonly debugDescription: string
3179
+
3180
+ copyWithZone(zone: interop.PointerConvertible): interop.Object
3181
+
3182
+ static readonly supportsSecureCoding: boolean
3183
+
3184
+ encodeWithCoder(coder: NSCoder): void
3185
+
3186
+ initWithCoder(coder: NSCoder): this
3187
+ }
3188
+
3189
+ declare class SCNTimingFunction extends NSObject implements NSSecureCoding {
3190
+ static functionWithTimingMode(
3191
+ timingMode: interop.Enum<typeof SCNActionTimingMode>,
3192
+ ): SCNTimingFunction
3193
+
3194
+ static functionWithCAMediaTimingFunction(
3195
+ caTimingFunction: CAMediaTimingFunction,
3196
+ ): SCNTimingFunction
3197
+
3198
+ static readonly supportsSecureCoding: boolean
3199
+
3200
+ encodeWithCoder(coder: NSCoder): void
3201
+
3202
+ initWithCoder(coder: NSCoder): this
3203
+ }
3204
+
3205
+ declare class SCNFloor extends SCNGeometry {
3206
+ static floor<This extends abstract new (...args: any) => any>(this: This): InstanceType<This>
3207
+
3208
+ reflectivity: number
3209
+
3210
+ reflectionFalloffStart: number
3211
+
3212
+ reflectionFalloffEnd: number
3213
+
3214
+ reflectionCategoryBitMask: number
3215
+
3216
+ width: number
3217
+
3218
+ length: number
3219
+
3220
+ reflectionResolutionScaleFactor: number
3221
+ }
3222
+
3223
+ declare class SCNPhysicsConeTwistJoint extends SCNPhysicsBehavior {
3224
+ static jointWithBodyAFrameABodyBFrameB<This extends abstract new (...args: any) => any>(
3225
+ this: This,
3226
+ bodyA: SCNPhysicsBody,
3227
+ frameA: CATransform3D,
3228
+ bodyB: SCNPhysicsBody,
3229
+ frameB: CATransform3D,
3230
+ ): InstanceType<This>
3231
+
3232
+ static jointWithBodyFrame<This extends abstract new (...args: any) => any>(
3233
+ this: This,
3234
+ body: SCNPhysicsBody,
3235
+ frame: CATransform3D,
3236
+ ): InstanceType<This>
3237
+
3238
+ readonly bodyA: SCNPhysicsBody
3239
+
3240
+ frameA: CATransform3D
3241
+
3242
+ readonly bodyB: SCNPhysicsBody
3243
+
3244
+ frameB: CATransform3D
3245
+
3246
+ maximumAngularLimit1: number
3247
+
3248
+ maximumAngularLimit2: number
3249
+
3250
+ maximumTwistAngle: number
3251
+ }
3252
+
3253
+ declare class SCNSliderConstraint extends SCNConstraint {
3254
+ static sliderConstraint<This extends abstract new (...args: any) => any>(
3255
+ this: This,
3256
+ ): InstanceType<This>
3257
+
3258
+ collisionCategoryBitMask: number
3259
+
3260
+ radius: number
3261
+
3262
+ offset: SCNVector3
3263
+ }
3264
+
3265
+ declare class SCNAvoidOccluderConstraint extends SCNConstraint {
3266
+ static avoidOccluderConstraintWithTarget<This extends abstract new (...args: any) => any>(
3267
+ this: This,
3268
+ target: SCNNode | null,
3269
+ ): InstanceType<This>
3270
+
3271
+ delegate: SCNAvoidOccluderConstraintDelegate
3272
+
3273
+ target: SCNNode
3274
+
3275
+ occluderCategoryBitMask: number
3276
+
3277
+ bias: number
3278
+ }
3279
+
3280
+ declare class SCNBillboardConstraint extends SCNConstraint {
3281
+ static billboardConstraint<This extends abstract new (...args: any) => any>(
3282
+ this: This,
3283
+ ): InstanceType<This>
3284
+
3285
+ freeAxes: interop.Enum<typeof SCNBillboardAxis>
3286
+ }
3287
+
3288
+ declare class SCNAccelerationConstraint extends SCNConstraint {
3289
+ static accelerationConstraint<This extends abstract new (...args: any) => any>(
3290
+ this: This,
3291
+ ): InstanceType<This>
3292
+
3293
+ maximumLinearAcceleration: number
3294
+
3295
+ maximumLinearVelocity: number
3296
+
3297
+ decelerationDistance: number
3298
+
3299
+ damping: number
3300
+ }
3301
+
3302
+ declare class SCNLookAtConstraint extends SCNConstraint {
3303
+ static lookAtConstraintWithTarget<This extends abstract new (...args: any) => any>(
3304
+ this: This,
3305
+ target: SCNNode | null,
3306
+ ): InstanceType<This>
3307
+
3308
+ target: SCNNode
3309
+
3310
+ targetOffset: SCNVector3
3311
+
3312
+ localFront: SCNVector3
3313
+
3314
+ worldUp: SCNVector3
3315
+
3316
+ gimbalLockEnabled: boolean
3317
+ }
3318
+
3319
+ declare class SCNAnimationEvent extends NSObject {
3320
+ static animationEventWithKeyTimeBlock<This extends abstract new (...args: any) => any>(
3321
+ this: This,
3322
+ time: number,
3323
+ eventBlock: (p1: SCNAnimation, p2: interop.Object, p3: boolean) => void,
3324
+ ): InstanceType<This>
3325
+ }
3326
+
3327
+ declare class SCNTechnique extends NSObject implements SCNAnimatable, NSCopying, NSSecureCoding {
3328
+ static techniqueWithDictionary(
3329
+ dictionary:
3330
+ | NSDictionary<interop.Object, interop.Object>
3331
+ | Record<interop.Object, interop.Object>,
3332
+ ): SCNTechnique
3333
+
3334
+ static techniqueBySequencingTechniques(
3335
+ techniques: NSArray<interop.Object> | Array<interop.Object>,
3336
+ ): SCNTechnique
3337
+
3338
+ handleBindingOfSymbolUsingBlock(
3339
+ symbol: string,
3340
+ block: (p1: number, p2: number, p3: SCNNode, p4: SCNRenderer) => void | null,
3341
+ ): void
3342
+
3343
+ readonly dictionaryRepresentation: NSDictionary
3344
+
3345
+ objectForKeyedSubscript(key: interop.Object): interop.Object
3346
+
3347
+ setObjectForKeyedSubscript(obj: interop.Object | null, key: NSCopying): void
3348
+
3349
+ library: MTLLibrary
3350
+
3351
+ addAnimationForKey(animation: SCNAnimation, key: string | null): void
3352
+
3353
+ addAnimationPlayerForKey(player: SCNAnimationPlayer, key: string | null): void
3354
+
3355
+ removeAllAnimations(): void
3356
+
3357
+ removeAnimationForKey(key: string): void
3358
+
3359
+ removeAnimationForKeyBlendOutDuration(key: string, duration: number): void
3360
+
3361
+ readonly animationKeys: NSArray
3362
+
3363
+ animationPlayerForKey(key: string): SCNAnimationPlayer
3364
+
3365
+ removeAnimationForKeyFadeOutDuration(key: string, duration: number): void
3366
+
3367
+ animationForKey(key: string): CAAnimation
3368
+
3369
+ pauseAnimationForKey(key: string): void
3370
+
3371
+ resumeAnimationForKey(key: string): void
3372
+
3373
+ setSpeedForAnimationKey(speed: number, key: string): void
3374
+
3375
+ isAnimationForKeyPaused(key: string): boolean
3376
+
3377
+ isEqual(object: interop.Object): boolean
3378
+
3379
+ readonly hash: number
3380
+
3381
+ readonly superclass: interop.Pointer
3382
+
3383
+ class(): interop.Pointer
3384
+
3385
+ self(): this
3386
+
3387
+ performSelector(aSelector: string): interop.Object
3388
+
3389
+ performSelectorWithObject(aSelector: string, object: interop.Object): interop.Object
3390
+
3391
+ performSelectorWithObjectWithObject(
3392
+ aSelector: string,
3393
+ object1: interop.Object,
3394
+ object2: interop.Object,
3395
+ ): interop.Object
3396
+
3397
+ readonly isProxy: boolean
3398
+
3399
+ isKindOfClass(aClass: interop.PointerConvertible): boolean
3400
+
3401
+ isMemberOfClass(aClass: interop.PointerConvertible): boolean
3402
+
3403
+ conformsToProtocol(aProtocol: interop.PointerConvertible): boolean
3404
+
3405
+ respondsToSelector(aSelector: string): boolean
3406
+
3407
+ retain(): this
3408
+
3409
+ release(): void
3410
+
3411
+ autorelease(): this
3412
+
3413
+ retainCount(): number
3414
+
3415
+ readonly zone: interop.Pointer
3416
+
3417
+ readonly description: string
3418
+
3419
+ readonly debugDescription: string
3420
+
3421
+ copyWithZone(zone: interop.PointerConvertible): interop.Object
3422
+
3423
+ static readonly supportsSecureCoding: boolean
3424
+
3425
+ encodeWithCoder(coder: NSCoder): void
3426
+
3427
+ initWithCoder(coder: NSCoder): this
3428
+ }
3429
+
3430
+ declare class SCNCamera
3431
+ extends NSObject
3432
+ implements SCNAnimatable, SCNTechniqueSupport, NSCopying, NSSecureCoding
3433
+ {
3434
+ static camera<This extends abstract new (...args: any) => any>(this: This): InstanceType<This>
3435
+
3436
+ name: string
3437
+
3438
+ fieldOfView: number
3439
+
3440
+ projectionDirection: interop.Enum<typeof SCNCameraProjectionDirection>
3441
+
3442
+ focalLength: number
3443
+
3444
+ sensorHeight: number
3445
+
3446
+ zNear: number
3447
+
3448
+ zFar: number
3449
+
3450
+ automaticallyAdjustsZRange: boolean
3451
+
3452
+ usesOrthographicProjection: boolean
3453
+
3454
+ orthographicScale: number
3455
+
3456
+ projectionTransform: CATransform3D
3457
+
3458
+ projectionTransformWithViewportSize(viewportSize: CGSize): CATransform3D
3459
+
3460
+ wantsDepthOfField: boolean
3461
+
3462
+ focusDistance: number
3463
+
3464
+ focalBlurSampleCount: number
3465
+
3466
+ fStop: number
3467
+
3468
+ apertureBladeCount: number
3469
+
3470
+ motionBlurIntensity: number
3471
+
3472
+ screenSpaceAmbientOcclusionIntensity: number
3473
+
3474
+ screenSpaceAmbientOcclusionRadius: number
3475
+
3476
+ screenSpaceAmbientOcclusionBias: number
3477
+
3478
+ screenSpaceAmbientOcclusionDepthThreshold: number
3479
+
3480
+ screenSpaceAmbientOcclusionNormalThreshold: number
3481
+
3482
+ wantsHDR: boolean
3483
+
3484
+ exposureOffset: number
3485
+
3486
+ averageGray: number
3487
+
3488
+ whitePoint: number
3489
+
3490
+ wantsExposureAdaptation: boolean
3491
+
3492
+ exposureAdaptationBrighteningSpeedFactor: number
3493
+
3494
+ exposureAdaptationDarkeningSpeedFactor: number
3495
+
3496
+ minimumExposure: number
3497
+
3498
+ maximumExposure: number
3499
+
3500
+ bloomThreshold: number
3501
+
3502
+ bloomIterationCount: number
3503
+
3504
+ bloomIterationSpread: number
3505
+
3506
+ bloomIntensity: number
3507
+
3508
+ bloomBlurRadius: number
3509
+
3510
+ vignettingPower: number
3511
+
3512
+ vignettingIntensity: number
3513
+
3514
+ colorFringeStrength: number
3515
+
3516
+ colorFringeIntensity: number
3517
+
3518
+ saturation: number
3519
+
3520
+ contrast: number
3521
+
3522
+ grainIntensity: number
3523
+
3524
+ grainScale: number
3525
+
3526
+ grainIsColored: boolean
3527
+
3528
+ whiteBalanceTemperature: number
3529
+
3530
+ whiteBalanceTint: number
3531
+
3532
+ readonly colorGrading: SCNMaterialProperty
3533
+
3534
+ categoryBitMask: number
3535
+
3536
+ focalBlurRadius: number
3537
+
3538
+ xFov: number
3539
+
3540
+ yFov: number
3541
+
3542
+ aperture: number
3543
+
3544
+ focalSize: number
3545
+
3546
+ focalDistance: number
3547
+
3548
+ static cameraWithMDLCamera<This extends abstract new (...args: any) => any>(
3549
+ this: This,
3550
+ mdlCamera: MDLCamera,
3551
+ ): InstanceType<This>
3552
+
3553
+ addAnimationForKey(animation: SCNAnimation, key: string | null): void
3554
+
3555
+ addAnimationPlayerForKey(player: SCNAnimationPlayer, key: string | null): void
3556
+
3557
+ removeAllAnimations(): void
3558
+
3559
+ removeAnimationForKey(key: string): void
3560
+
3561
+ removeAnimationForKeyBlendOutDuration(key: string, duration: number): void
3562
+
3563
+ readonly animationKeys: NSArray
3564
+
3565
+ animationPlayerForKey(key: string): SCNAnimationPlayer
3566
+
3567
+ removeAnimationForKeyFadeOutDuration(key: string, duration: number): void
3568
+
3569
+ animationForKey(key: string): CAAnimation
3570
+
3571
+ pauseAnimationForKey(key: string): void
3572
+
3573
+ resumeAnimationForKey(key: string): void
3574
+
3575
+ setSpeedForAnimationKey(speed: number, key: string): void
3576
+
3577
+ isAnimationForKeyPaused(key: string): boolean
3578
+
3579
+ isEqual(object: interop.Object): boolean
3580
+
3581
+ readonly hash: number
3582
+
3583
+ readonly superclass: interop.Pointer
3584
+
3585
+ class(): interop.Pointer
3586
+
3587
+ self(): this
3588
+
3589
+ performSelector(aSelector: string): interop.Object
3590
+
3591
+ performSelectorWithObject(aSelector: string, object: interop.Object): interop.Object
3592
+
3593
+ performSelectorWithObjectWithObject(
3594
+ aSelector: string,
3595
+ object1: interop.Object,
3596
+ object2: interop.Object,
3597
+ ): interop.Object
3598
+
3599
+ readonly isProxy: boolean
3600
+
3601
+ isKindOfClass(aClass: interop.PointerConvertible): boolean
3602
+
3603
+ isMemberOfClass(aClass: interop.PointerConvertible): boolean
3604
+
3605
+ conformsToProtocol(aProtocol: interop.PointerConvertible): boolean
3606
+
3607
+ respondsToSelector(aSelector: string): boolean
3608
+
3609
+ retain(): this
3610
+
3611
+ release(): void
3612
+
3613
+ autorelease(): this
3614
+
3615
+ retainCount(): number
3616
+
3617
+ readonly zone: interop.Pointer
3618
+
3619
+ readonly description: string
3620
+
3621
+ readonly debugDescription: string
3622
+
3623
+ technique: SCNTechnique
3624
+
3625
+ copyWithZone(zone: interop.PointerConvertible): interop.Object
3626
+
3627
+ static readonly supportsSecureCoding: boolean
3628
+
3629
+ encodeWithCoder(coder: NSCoder): void
3630
+
3631
+ initWithCoder(coder: NSCoder): this
3632
+ }
3633
+
3634
+ declare class SCNAudioSource extends NSObject implements NSCopying, NSSecureCoding {
3635
+ initWithFileNamed(name: string): this
3636
+
3637
+ initWithURL(url: NSURL): this
3638
+
3639
+ static audioSourceNamed<This extends abstract new (...args: any) => any>(
3640
+ this: This,
3641
+ fileName: string,
3642
+ ): InstanceType<This>
3643
+
3644
+ positional: boolean
3645
+
3646
+ volume: number
3647
+
3648
+ rate: number
3649
+
3650
+ reverbBlend: number
3651
+
3652
+ loops: boolean
3653
+
3654
+ shouldStream: boolean
3655
+
3656
+ load(): void
3657
+
3658
+ isPositional(): boolean
3659
+
3660
+ copyWithZone(zone: interop.PointerConvertible): interop.Object
3661
+
3662
+ static readonly supportsSecureCoding: boolean
3663
+
3664
+ encodeWithCoder(coder: NSCoder): void
3665
+
3666
+ initWithCoder(coder: NSCoder): this
3667
+ }
3668
+
3669
+ declare class SCNMaterialProperty extends NSObject implements SCNAnimatable, NSSecureCoding {
3670
+ static materialPropertyWithContents<This extends abstract new (...args: any) => any>(
3671
+ this: This,
3672
+ contents: interop.Object,
3673
+ ): InstanceType<This>
3674
+
3675
+ contents: interop.Object
3676
+
3677
+ intensity: number
3678
+
3679
+ minificationFilter: interop.Enum<typeof SCNFilterMode>
3680
+
3681
+ magnificationFilter: interop.Enum<typeof SCNFilterMode>
3682
+
3683
+ mipFilter: interop.Enum<typeof SCNFilterMode>
3684
+
3685
+ contentsTransform: CATransform3D
3686
+
3687
+ wrapS: interop.Enum<typeof SCNWrapMode>
3688
+
3689
+ wrapT: interop.Enum<typeof SCNWrapMode>
3690
+
3691
+ mappingChannel: number
3692
+
3693
+ textureComponents: interop.Enum<typeof SCNColorMask>
3694
+
3695
+ maxAnisotropy: number
3696
+
3697
+ borderColor: interop.Object
3698
+
3699
+ addAnimationForKey(animation: SCNAnimation, key: string | null): void
3700
+
3701
+ addAnimationPlayerForKey(player: SCNAnimationPlayer, key: string | null): void
3702
+
3703
+ removeAllAnimations(): void
3704
+
3705
+ removeAnimationForKey(key: string): void
3706
+
3707
+ removeAnimationForKeyBlendOutDuration(key: string, duration: number): void
3708
+
3709
+ readonly animationKeys: NSArray
3710
+
3711
+ animationPlayerForKey(key: string): SCNAnimationPlayer
3712
+
3713
+ removeAnimationForKeyFadeOutDuration(key: string, duration: number): void
3714
+
3715
+ animationForKey(key: string): CAAnimation
3716
+
3717
+ pauseAnimationForKey(key: string): void
3718
+
3719
+ resumeAnimationForKey(key: string): void
3720
+
3721
+ setSpeedForAnimationKey(speed: number, key: string): void
3722
+
3723
+ isAnimationForKeyPaused(key: string): boolean
3724
+
3725
+ isEqual(object: interop.Object): boolean
3726
+
3727
+ readonly hash: number
3728
+
3729
+ readonly superclass: interop.Pointer
3730
+
3731
+ class(): interop.Pointer
3732
+
3733
+ self(): this
3734
+
3735
+ performSelector(aSelector: string): interop.Object
3736
+
3737
+ performSelectorWithObject(aSelector: string, object: interop.Object): interop.Object
3738
+
3739
+ performSelectorWithObjectWithObject(
3740
+ aSelector: string,
3741
+ object1: interop.Object,
3742
+ object2: interop.Object,
3743
+ ): interop.Object
3744
+
3745
+ readonly isProxy: boolean
3746
+
3747
+ isKindOfClass(aClass: interop.PointerConvertible): boolean
3748
+
3749
+ isMemberOfClass(aClass: interop.PointerConvertible): boolean
3750
+
3751
+ conformsToProtocol(aProtocol: interop.PointerConvertible): boolean
3752
+
3753
+ respondsToSelector(aSelector: string): boolean
3754
+
3755
+ retain(): this
3756
+
3757
+ release(): void
3758
+
3759
+ autorelease(): this
3760
+
3761
+ retainCount(): number
3762
+
3763
+ readonly zone: interop.Pointer
3764
+
3765
+ readonly description: string
3766
+
3767
+ readonly debugDescription: string
3768
+
3769
+ static readonly supportsSecureCoding: boolean
3770
+
3771
+ encodeWithCoder(coder: NSCoder): void
3772
+
3773
+ initWithCoder(coder: NSCoder): this
3774
+ }
3775
+
3776
+ declare class SCNGeometry
3777
+ extends NSObject
3778
+ implements SCNAnimatable, SCNBoundingVolume, SCNShadable, NSCopying, NSSecureCoding
3779
+ {
3780
+ static geometry<This extends abstract new (...args: any) => any>(this: This): InstanceType<This>
3781
+
3782
+ name: string
3783
+
3784
+ get materials(): NSArray
3785
+ set materials(value: NSArray<interop.Object> | Array<interop.Object>)
3786
+
3787
+ firstMaterial: SCNMaterial
3788
+
3789
+ insertMaterialAtIndex(material: SCNMaterial, index: number): void
3790
+
3791
+ removeMaterialAtIndex(index: number): void
3792
+
3793
+ replaceMaterialAtIndexWithMaterial(index: number, material: SCNMaterial): void
3794
+
3795
+ materialWithName(name: string): SCNMaterial
3796
+
3797
+ static geometryWithSourcesElements<This extends abstract new (...args: any) => any>(
3798
+ this: This,
3799
+ sources: NSArray<interop.Object> | Array<interop.Object>,
3800
+ elements: NSArray<interop.Object> | Array<interop.Object> | null,
3801
+ ): InstanceType<This>
3802
+
3803
+ readonly geometrySources: NSArray
3804
+
3805
+ geometrySourcesForSemantic(semantic: string): NSArray
3806
+
3807
+ readonly geometryElements: NSArray
3808
+
3809
+ readonly geometryElementCount: number
3810
+
3811
+ geometryElementAtIndex(elementIndex: number): SCNGeometryElement
3812
+
3813
+ get levelsOfDetail(): NSArray
3814
+ set levelsOfDetail(value: NSArray<interop.Object> | Array<interop.Object>)
3815
+
3816
+ tessellator: SCNGeometryTessellator
3817
+
3818
+ subdivisionLevel: number
3819
+
3820
+ wantsAdaptiveSubdivision: boolean
3821
+
3822
+ edgeCreasesElement: SCNGeometryElement
3823
+
3824
+ edgeCreasesSource: SCNGeometrySource
3825
+
3826
+ static geometryWithMDLMesh<This extends abstract new (...args: any) => any>(
3827
+ this: This,
3828
+ mdlMesh: MDLMesh,
3829
+ ): InstanceType<This>
3830
+
3831
+ addAnimationForKey(animation: SCNAnimation, key: string | null): void
3832
+
3833
+ addAnimationPlayerForKey(player: SCNAnimationPlayer, key: string | null): void
3834
+
3835
+ removeAllAnimations(): void
3836
+
3837
+ removeAnimationForKey(key: string): void
3838
+
3839
+ removeAnimationForKeyBlendOutDuration(key: string, duration: number): void
3840
+
3841
+ readonly animationKeys: NSArray
3842
+
3843
+ animationPlayerForKey(key: string): SCNAnimationPlayer
3844
+
3845
+ removeAnimationForKeyFadeOutDuration(key: string, duration: number): void
3846
+
3847
+ animationForKey(key: string): CAAnimation
3848
+
3849
+ pauseAnimationForKey(key: string): void
3850
+
3851
+ resumeAnimationForKey(key: string): void
3852
+
3853
+ setSpeedForAnimationKey(speed: number, key: string): void
3854
+
3855
+ isAnimationForKeyPaused(key: string): boolean
3856
+
3857
+ isEqual(object: interop.Object): boolean
3858
+
3859
+ readonly hash: number
3860
+
3861
+ readonly superclass: interop.Pointer
3862
+
3863
+ class(): interop.Pointer
3864
+
3865
+ self(): this
3866
+
3867
+ performSelector(aSelector: string): interop.Object
3868
+
3869
+ performSelectorWithObject(aSelector: string, object: interop.Object): interop.Object
3870
+
3871
+ performSelectorWithObjectWithObject(
3872
+ aSelector: string,
3873
+ object1: interop.Object,
3874
+ object2: interop.Object,
3875
+ ): interop.Object
3876
+
3877
+ readonly isProxy: boolean
3878
+
3879
+ isKindOfClass(aClass: interop.PointerConvertible): boolean
3880
+
3881
+ isMemberOfClass(aClass: interop.PointerConvertible): boolean
3882
+
3883
+ conformsToProtocol(aProtocol: interop.PointerConvertible): boolean
3884
+
3885
+ respondsToSelector(aSelector: string): boolean
3886
+
3887
+ retain(): this
3888
+
3889
+ release(): void
3890
+
3891
+ autorelease(): this
3892
+
3893
+ retainCount(): number
3894
+
3895
+ readonly zone: interop.Pointer
3896
+
3897
+ readonly description: string
3898
+
3899
+ readonly debugDescription: string
3900
+
3901
+ getBoundingBoxMinMax(min: interop.PointerConvertible, max: interop.PointerConvertible): boolean
3902
+
3903
+ setBoundingBoxMinMax(min: interop.PointerConvertible, max: interop.PointerConvertible): void
3904
+
3905
+ getBoundingSphereCenterRadius(
3906
+ center: interop.PointerConvertible,
3907
+ radius: interop.PointerConvertible,
3908
+ ): boolean
3909
+
3910
+ program: SCNProgram
3911
+
3912
+ handleBindingOfSymbolUsingBlock(
3913
+ symbol: string,
3914
+ block: (p1: number, p2: number, p3: SCNNode, p4: SCNRenderer) => void | null,
3915
+ ): void
3916
+
3917
+ handleUnbindingOfSymbolUsingBlock(
3918
+ symbol: string,
3919
+ block: (p1: number, p2: number, p3: SCNNode, p4: SCNRenderer) => void | null,
3920
+ ): void
3921
+
3922
+ get shaderModifiers(): NSDictionary
3923
+ set shaderModifiers(
3924
+ value: NSDictionary<interop.Object, interop.Object> | Record<interop.Object, interop.Object>,
3925
+ )
3926
+
3927
+ copyWithZone(zone: interop.PointerConvertible): interop.Object
3928
+
3929
+ static readonly supportsSecureCoding: boolean
3930
+
3931
+ encodeWithCoder(coder: NSCoder): void
3932
+
3933
+ initWithCoder(coder: NSCoder): this
3934
+ }
3935
+
3936
+ declare class SCNTorus extends SCNGeometry {
3937
+ static torusWithRingRadiusPipeRadius<This extends abstract new (...args: any) => any>(
3938
+ this: This,
3939
+ ringRadius: number,
3940
+ pipeRadius: number,
3941
+ ): InstanceType<This>
3942
+
3943
+ ringRadius: number
3944
+
3945
+ pipeRadius: number
3946
+
3947
+ ringSegmentCount: number
3948
+
3949
+ pipeSegmentCount: number
3950
+ }
3951
+
3952
+ declare class SCNPhysicsSliderJoint extends SCNPhysicsBehavior {
3953
+ static jointWithBodyAAxisAAnchorABodyBAxisBAnchorB<
3954
+ This extends abstract new (...args: any) => any,
3955
+ >(
3956
+ this: This,
3957
+ bodyA: SCNPhysicsBody,
3958
+ axisA: SCNVector3,
3959
+ anchorA: SCNVector3,
3960
+ bodyB: SCNPhysicsBody,
3961
+ axisB: SCNVector3,
3962
+ anchorB: SCNVector3,
3963
+ ): InstanceType<This>
3964
+
3965
+ static jointWithBodyAxisAnchor<This extends abstract new (...args: any) => any>(
3966
+ this: This,
3967
+ body: SCNPhysicsBody,
3968
+ axis: SCNVector3,
3969
+ anchor: SCNVector3,
3970
+ ): InstanceType<This>
3971
+
3972
+ readonly bodyA: SCNPhysicsBody
3973
+
3974
+ axisA: SCNVector3
3975
+
3976
+ anchorA: SCNVector3
3977
+
3978
+ readonly bodyB: SCNPhysicsBody
3979
+
3980
+ axisB: SCNVector3
3981
+
3982
+ anchorB: SCNVector3
3983
+
3984
+ minimumLinearLimit: number
3985
+
3986
+ maximumLinearLimit: number
3987
+
3988
+ minimumAngularLimit: number
3989
+
3990
+ maximumAngularLimit: number
3991
+
3992
+ motorTargetLinearVelocity: number
3993
+
3994
+ motorMaximumForce: number
3995
+
3996
+ motorTargetAngularVelocity: number
3997
+
3998
+ motorMaximumTorque: number
3999
+ }
4000
+
4001
+ declare class SCNLight
4002
+ extends NSObject
4003
+ implements SCNAnimatable, NSCopying, NSSecureCoding, SCNTechniqueSupport
4004
+ {
4005
+ static light<This extends abstract new (...args: any) => any>(this: This): InstanceType<This>
4006
+
4007
+ type: string
4008
+
4009
+ color: interop.Object
4010
+
4011
+ temperature: number
4012
+
4013
+ intensity: number
4014
+
4015
+ name: string
4016
+
4017
+ castsShadow: boolean
4018
+
4019
+ shadowColor: interop.Object
4020
+
4021
+ shadowRadius: number
4022
+
4023
+ shadowMapSize: CGSize
4024
+
4025
+ shadowSampleCount: number
4026
+
4027
+ shadowMode: interop.Enum<typeof SCNShadowMode>
4028
+
4029
+ shadowBias: number
4030
+
4031
+ automaticallyAdjustsShadowProjection: boolean
4032
+
4033
+ maximumShadowDistance: number
4034
+
4035
+ forcesBackFaceCasters: boolean
4036
+
4037
+ sampleDistributedShadowMaps: boolean
4038
+
4039
+ shadowCascadeCount: number
4040
+
4041
+ shadowCascadeSplittingFactor: number
4042
+
4043
+ orthographicScale: number
4044
+
4045
+ zNear: number
4046
+
4047
+ zFar: number
4048
+
4049
+ attenuationStartDistance: number
4050
+
4051
+ attenuationEndDistance: number
4052
+
4053
+ attenuationFalloffExponent: number
4054
+
4055
+ spotInnerAngle: number
4056
+
4057
+ spotOuterAngle: number
4058
+
4059
+ IESProfileURL: NSURL
4060
+
4061
+ readonly sphericalHarmonicsCoefficients: NSData
4062
+
4063
+ probeType: interop.Enum<typeof SCNLightProbeType>
4064
+
4065
+ probeUpdateType: interop.Enum<typeof SCNLightProbeUpdateType>
4066
+
4067
+ probeExtents: unknown /* ext vector */
4068
+
4069
+ probeOffset: unknown /* ext vector */
4070
+
4071
+ parallaxCorrectionEnabled: boolean
4072
+
4073
+ parallaxExtentsFactor: unknown /* ext vector */
4074
+
4075
+ parallaxCenterOffset: unknown /* ext vector */
4076
+
4077
+ readonly probeEnvironment: SCNMaterialProperty
4078
+
4079
+ areaType: interop.Enum<typeof SCNLightAreaType>
4080
+
4081
+ areaExtents: unknown /* ext vector */
4082
+
4083
+ get areaPolygonVertices(): NSArray
4084
+ set areaPolygonVertices(value: NSArray<interop.Object> | Array<interop.Object>)
4085
+
4086
+ drawsArea: boolean
4087
+
4088
+ doubleSided: boolean
4089
+
4090
+ readonly gobo: SCNMaterialProperty
4091
+
4092
+ categoryBitMask: number
4093
+
4094
+ attributeForKey(key: string): interop.Object
4095
+
4096
+ setAttributeForKey(attribute: interop.Object | null, key: string): void
4097
+
4098
+ static lightWithMDLLight<This extends abstract new (...args: any) => any>(
4099
+ this: This,
4100
+ mdlLight: MDLLight,
4101
+ ): InstanceType<This>
4102
+
4103
+ addAnimationForKey(animation: SCNAnimation, key: string | null): void
4104
+
4105
+ addAnimationPlayerForKey(player: SCNAnimationPlayer, key: string | null): void
4106
+
4107
+ removeAllAnimations(): void
4108
+
4109
+ removeAnimationForKey(key: string): void
4110
+
4111
+ removeAnimationForKeyBlendOutDuration(key: string, duration: number): void
4112
+
4113
+ readonly animationKeys: NSArray
4114
+
4115
+ animationPlayerForKey(key: string): SCNAnimationPlayer
4116
+
4117
+ removeAnimationForKeyFadeOutDuration(key: string, duration: number): void
4118
+
4119
+ animationForKey(key: string): CAAnimation
4120
+
4121
+ pauseAnimationForKey(key: string): void
4122
+
4123
+ resumeAnimationForKey(key: string): void
4124
+
4125
+ setSpeedForAnimationKey(speed: number, key: string): void
4126
+
4127
+ isAnimationForKeyPaused(key: string): boolean
4128
+
4129
+ isEqual(object: interop.Object): boolean
4130
+
4131
+ readonly hash: number
4132
+
4133
+ readonly superclass: interop.Pointer
4134
+
4135
+ class(): interop.Pointer
4136
+
4137
+ self(): this
4138
+
4139
+ performSelector(aSelector: string): interop.Object
4140
+
4141
+ performSelectorWithObject(aSelector: string, object: interop.Object): interop.Object
4142
+
4143
+ performSelectorWithObjectWithObject(
4144
+ aSelector: string,
4145
+ object1: interop.Object,
4146
+ object2: interop.Object,
4147
+ ): interop.Object
4148
+
4149
+ readonly isProxy: boolean
4150
+
4151
+ isKindOfClass(aClass: interop.PointerConvertible): boolean
4152
+
4153
+ isMemberOfClass(aClass: interop.PointerConvertible): boolean
4154
+
4155
+ conformsToProtocol(aProtocol: interop.PointerConvertible): boolean
4156
+
4157
+ respondsToSelector(aSelector: string): boolean
4158
+
4159
+ retain(): this
4160
+
4161
+ release(): void
4162
+
4163
+ autorelease(): this
4164
+
4165
+ retainCount(): number
4166
+
4167
+ readonly zone: interop.Pointer
4168
+
4169
+ readonly description: string
4170
+
4171
+ readonly debugDescription: string
4172
+
4173
+ copyWithZone(zone: interop.PointerConvertible): interop.Object
4174
+
4175
+ static readonly supportsSecureCoding: boolean
4176
+
4177
+ encodeWithCoder(coder: NSCoder): void
4178
+
4179
+ initWithCoder(coder: NSCoder): this
4180
+
4181
+ technique: SCNTechnique
4182
+ }
4183
+
4184
+ declare class SCNRenderer extends NSObject implements SCNSceneRenderer, SCNTechniqueSupport {
4185
+ static rendererWithContextOptions<This extends abstract new (...args: any) => any>(
4186
+ this: This,
4187
+ context: interop.PointerConvertible,
4188
+ options:
4189
+ | NSDictionary<interop.Object, interop.Object>
4190
+ | Record<interop.Object, interop.Object>
4191
+ | null,
4192
+ ): InstanceType<This>
4193
+
4194
+ static rendererWithDeviceOptions<This extends abstract new (...args: any) => any>(
4195
+ this: This,
4196
+ device: MTLDevice | null,
4197
+ options:
4198
+ | NSDictionary<interop.Object, interop.Object>
4199
+ | Record<interop.Object, interop.Object>
4200
+ | null,
4201
+ ): InstanceType<This>
4202
+
4203
+ scene: SCNScene
4204
+
4205
+ renderAtTimeViewportCommandBufferPassDescriptor(
4206
+ time: number,
4207
+ viewport: CGRect,
4208
+ commandBuffer: MTLCommandBuffer,
4209
+ renderPassDescriptor: MTLRenderPassDescriptor,
4210
+ ): void
4211
+
4212
+ renderAtTime(time: number): void
4213
+
4214
+ updateAtTime(time: number): void
4215
+
4216
+ renderWithViewportCommandBufferPassDescriptor(
4217
+ viewport: CGRect,
4218
+ commandBuffer: MTLCommandBuffer,
4219
+ renderPassDescriptor: MTLRenderPassDescriptor,
4220
+ ): void
4221
+
4222
+ readonly nextFrameTime: number
4223
+
4224
+ snapshotAtTimeWithSizeAntialiasingMode(
4225
+ time: number,
4226
+ size: CGSize,
4227
+ antialiasingMode: interop.Enum<typeof SCNAntialiasingMode>,
4228
+ ): NSImage
4229
+
4230
+ updateProbesAtTime(
4231
+ lightProbes: NSArray<interop.Object> | Array<interop.Object>,
4232
+ time: number,
4233
+ ): void
4234
+
4235
+ render(): void
4236
+
4237
+ presentSceneWithTransitionIncomingPointOfViewCompletionHandler(
4238
+ scene: SCNScene,
4239
+ transition: SKTransition,
4240
+ pointOfView: SCNNode | null,
4241
+ completionHandler: () => void | null,
4242
+ ): void
4243
+
4244
+ sceneTime: number
4245
+
4246
+ delegate: SCNSceneRendererDelegate
4247
+
4248
+ hitTestOptions(
4249
+ point: CGPoint,
4250
+ options:
4251
+ | NSDictionary<interop.Object, interop.Object>
4252
+ | Record<interop.Object, interop.Object>
4253
+ | null,
4254
+ ): NSArray
4255
+
4256
+ isNodeInsideFrustumWithPointOfView(node: SCNNode, pointOfView: SCNNode): boolean
4257
+
4258
+ nodesInsideFrustumWithPointOfView(pointOfView: SCNNode): NSArray
4259
+
4260
+ projectPoint(point: SCNVector3): SCNVector3
4261
+
4262
+ unprojectPoint(point: SCNVector3): SCNVector3
4263
+
4264
+ playing: boolean
4265
+
4266
+ loops: boolean
4267
+
4268
+ pointOfView: SCNNode
4269
+
4270
+ autoenablesDefaultLighting: boolean
4271
+
4272
+ jitteringEnabled: boolean
4273
+
4274
+ temporalAntialiasingEnabled: boolean
4275
+
4276
+ prepareObjectShouldAbortBlock(object: interop.Object, block: () => boolean | null): boolean
4277
+
4278
+ prepareObjectsWithCompletionHandler(
4279
+ objects: NSArray<interop.Object> | Array<interop.Object>,
4280
+ completionHandler: (p1: boolean) => void | null,
4281
+ ): void
4282
+
4283
+ showsStatistics: boolean
4284
+
4285
+ debugOptions: interop.Enum<typeof SCNDebugOptions>
4286
+
4287
+ overlaySKScene: SKScene
4288
+
4289
+ readonly renderingAPI: interop.Enum<typeof SCNRenderingAPI>
4290
+
4291
+ readonly context: interop.Pointer
4292
+
4293
+ readonly currentRenderCommandEncoder: MTLRenderCommandEncoder
4294
+
4295
+ readonly currentRenderPassDescriptor: MTLRenderPassDescriptor
4296
+
4297
+ readonly device: MTLDevice
4298
+
4299
+ readonly colorPixelFormat: interop.Enum<typeof MTLPixelFormat>
4300
+
4301
+ readonly depthPixelFormat: interop.Enum<typeof MTLPixelFormat>
4302
+
4303
+ readonly stencilPixelFormat: interop.Enum<typeof MTLPixelFormat>
4304
+
4305
+ readonly commandQueue: MTLCommandQueue
4306
+
4307
+ readonly audioEngine: AVAudioEngine
4308
+
4309
+ readonly audioEnvironmentNode: AVAudioEnvironmentNode
4310
+
4311
+ audioListener: SCNNode
4312
+
4313
+ readonly currentViewport: CGRect
4314
+
4315
+ currentTime: number
4316
+
4317
+ usesReverseZ: boolean
4318
+
4319
+ isPlaying(): boolean
4320
+
4321
+ isJitteringEnabled(): boolean
4322
+
4323
+ isTemporalAntialiasingEnabled(): boolean
4324
+
4325
+ isEqual(object: interop.Object): boolean
4326
+
4327
+ readonly hash: number
4328
+
4329
+ readonly superclass: interop.Pointer
4330
+
4331
+ class(): interop.Pointer
4332
+
4333
+ self(): this
4334
+
4335
+ performSelector(aSelector: string): interop.Object
4336
+
4337
+ performSelectorWithObject(aSelector: string, object: interop.Object): interop.Object
4338
+
4339
+ performSelectorWithObjectWithObject(
4340
+ aSelector: string,
4341
+ object1: interop.Object,
4342
+ object2: interop.Object,
4343
+ ): interop.Object
4344
+
4345
+ readonly isProxy: boolean
4346
+
4347
+ isKindOfClass(aClass: interop.PointerConvertible): boolean
4348
+
4349
+ isMemberOfClass(aClass: interop.PointerConvertible): boolean
4350
+
4351
+ conformsToProtocol(aProtocol: interop.PointerConvertible): boolean
4352
+
4353
+ respondsToSelector(aSelector: string): boolean
4354
+
4355
+ retain(): this
4356
+
4357
+ release(): void
4358
+
4359
+ autorelease(): this
4360
+
4361
+ retainCount(): number
4362
+
4363
+ readonly zone: interop.Pointer
4364
+
4365
+ readonly description: string
4366
+
4367
+ readonly debugDescription: string
4368
+
4369
+ technique: SCNTechnique
4370
+ }
4371
+
4372
+ declare class SCNHitTestResult extends NSObject {
4373
+ readonly node: SCNNode
4374
+
4375
+ readonly geometryIndex: number
4376
+
4377
+ readonly faceIndex: number
4378
+
4379
+ readonly localCoordinates: SCNVector3
4380
+
4381
+ readonly worldCoordinates: SCNVector3
4382
+
4383
+ readonly localNormal: SCNVector3
4384
+
4385
+ readonly worldNormal: SCNVector3
4386
+
4387
+ readonly modelTransform: CATransform3D
4388
+
4389
+ readonly boneNode: SCNNode
4390
+
4391
+ textureCoordinatesWithMappingChannel(channel: number): CGPoint
4392
+
4393
+ readonly simdLocalCoordinates: unknown /* ext vector */
4394
+
4395
+ readonly simdWorldCoordinates: unknown /* ext vector */
4396
+
4397
+ readonly simdLocalNormal: unknown /* ext vector */
4398
+
4399
+ readonly simdWorldNormal: unknown /* ext vector */
4400
+
4401
+ readonly simdModelTransform: simd_float4x4
4402
+ }
4403
+
4404
+ declare class SCNCylinder extends SCNGeometry {
4405
+ static cylinderWithRadiusHeight<This extends abstract new (...args: any) => any>(
4406
+ this: This,
4407
+ radius: number,
4408
+ height: number,
4409
+ ): InstanceType<This>
4410
+
4411
+ radius: number
4412
+
4413
+ height: number
4414
+
4415
+ radialSegmentCount: number
4416
+
4417
+ heightSegmentCount: number
4418
+ }
4419
+
4420
+ declare class SCNDistanceConstraint extends SCNConstraint {
4421
+ static distanceConstraintWithTarget<This extends abstract new (...args: any) => any>(
4422
+ this: This,
4423
+ target: SCNNode | null,
4424
+ ): InstanceType<This>
4425
+
4426
+ target: SCNNode
4427
+
4428
+ minimumDistance: number
4429
+
4430
+ maximumDistance: number
4431
+ }
4432
+
4433
+ declare class SCNPyramid extends SCNGeometry {
4434
+ static pyramidWithWidthHeightLength<This extends abstract new (...args: any) => any>(
4435
+ this: This,
4436
+ width: number,
4437
+ height: number,
4438
+ length: number,
4439
+ ): InstanceType<This>
4440
+
4441
+ width: number
4442
+
4443
+ height: number
4444
+
4445
+ length: number
4446
+
4447
+ widthSegmentCount: number
4448
+
4449
+ heightSegmentCount: number
4450
+
4451
+ lengthSegmentCount: number
4452
+ }
4453
+
4454
+ declare class SCNPhysicsVehicleWheel extends NSObject implements NSCopying, NSSecureCoding {
4455
+ static wheelWithNode<This extends abstract new (...args: any) => any>(
4456
+ this: This,
4457
+ node: SCNNode,
4458
+ ): InstanceType<This>
4459
+
4460
+ readonly node: SCNNode
4461
+
4462
+ suspensionStiffness: number
4463
+
4464
+ suspensionCompression: number
4465
+
4466
+ suspensionDamping: number
4467
+
4468
+ maximumSuspensionTravel: number
4469
+
4470
+ frictionSlip: number
4471
+
4472
+ maximumSuspensionForce: number
4473
+
4474
+ connectionPosition: SCNVector3
4475
+
4476
+ steeringAxis: SCNVector3
4477
+
4478
+ axle: SCNVector3
4479
+
4480
+ radius: number
4481
+
4482
+ suspensionRestLength: number
4483
+
4484
+ copyWithZone(zone: interop.PointerConvertible): interop.Object
4485
+
4486
+ static readonly supportsSecureCoding: boolean
4487
+
4488
+ encodeWithCoder(coder: NSCoder): void
4489
+
4490
+ initWithCoder(coder: NSCoder): this
4491
+ }
4492
+
4493
+ declare class SCNTransformConstraint extends SCNConstraint {
4494
+ static transformConstraintInWorldSpaceWithBlock<This extends abstract new (...args: any) => any>(
4495
+ this: This,
4496
+ world: boolean,
4497
+ block: (p1: SCNNode, p2: CATransform3D) => CATransform3D,
4498
+ ): InstanceType<This>
4499
+
4500
+ static positionConstraintInWorldSpaceWithBlock<This extends abstract new (...args: any) => any>(
4501
+ this: This,
4502
+ world: boolean,
4503
+ block: (p1: SCNNode, p2: SCNVector3) => SCNVector3,
4504
+ ): InstanceType<This>
4505
+
4506
+ static orientationConstraintInWorldSpaceWithBlock<
4507
+ This extends abstract new (...args: any) => any,
4508
+ >(
4509
+ this: This,
4510
+ world: boolean,
4511
+ block: (p1: SCNNode, p2: SCNVector4) => SCNVector4,
4512
+ ): InstanceType<This>
4513
+ }
4514
+
4515
+ declare class SCNTransaction extends NSObject {
4516
+ static begin(): void
4517
+
4518
+ static commit(): void
4519
+
4520
+ static flush(): void
4521
+
4522
+ static lock(): void
4523
+
4524
+ static unlock(): void
4525
+
4526
+ static animationDuration: number
4527
+
4528
+ static animationTimingFunction: CAMediaTimingFunction
4529
+
4530
+ static disableActions: boolean
4531
+
4532
+ static completionBlock: () => void
4533
+
4534
+ static valueForKey(key: string): interop.Object
4535
+
4536
+ static setValueForKey(value: interop.Object | null, key: string): void
4537
+ }
4538
+
4539
+ declare class SCNProgram extends NSObject implements NSCopying, NSSecureCoding {
4540
+ static program<This extends abstract new (...args: any) => any>(this: This): InstanceType<This>
4541
+
4542
+ vertexShader: string
4543
+
4544
+ fragmentShader: string
4545
+
4546
+ tessellationControlShader: string
4547
+
4548
+ tessellationEvaluationShader: string
4549
+
4550
+ geometryShader: string
4551
+
4552
+ vertexFunctionName: string
4553
+
4554
+ fragmentFunctionName: string
4555
+
4556
+ handleBindingOfBufferNamedFrequencyUsingBlock(
4557
+ name: string,
4558
+ frequency: interop.Enum<typeof SCNBufferFrequency>,
4559
+ block: (p1: SCNBufferStream, p2: SCNNode, p3: SCNShadable, p4: SCNRenderer) => void,
4560
+ ): void
4561
+
4562
+ opaque: boolean
4563
+
4564
+ setSemanticForSymbolOptions(
4565
+ semantic: string | null,
4566
+ symbol: string,
4567
+ options:
4568
+ | NSDictionary<interop.Object, interop.Object>
4569
+ | Record<interop.Object, interop.Object>
4570
+ | null,
4571
+ ): void
4572
+
4573
+ semanticForSymbol(symbol: string): string
4574
+
4575
+ delegate: SCNProgramDelegate
4576
+
4577
+ library: MTLLibrary
4578
+
4579
+ isOpaque(): boolean
4580
+
4581
+ copyWithZone(zone: interop.PointerConvertible): interop.Object
4582
+
4583
+ static readonly supportsSecureCoding: boolean
4584
+
4585
+ encodeWithCoder(coder: NSCoder): void
4586
+
4587
+ initWithCoder(coder: NSCoder): this
4588
+ }
4589
+
4590
+ declare class SCNGeometryTessellator extends NSObject implements NSCopying, NSSecureCoding {
4591
+ tessellationFactorScale: number
4592
+
4593
+ tessellationPartitionMode: interop.Enum<typeof MTLTessellationPartitionMode>
4594
+
4595
+ adaptive: boolean
4596
+
4597
+ screenSpace: boolean
4598
+
4599
+ edgeTessellationFactor: number
4600
+
4601
+ insideTessellationFactor: number
4602
+
4603
+ maximumEdgeLength: number
4604
+
4605
+ smoothingMode: interop.Enum<typeof SCNTessellationSmoothingMode>
4606
+
4607
+ isAdaptive(): boolean
4608
+
4609
+ isScreenSpace(): boolean
4610
+
4611
+ copyWithZone(zone: interop.PointerConvertible): interop.Object
4612
+
4613
+ static readonly supportsSecureCoding: boolean
4614
+
4615
+ encodeWithCoder(coder: NSCoder): void
4616
+
4617
+ initWithCoder(coder: NSCoder): this
4618
+ }
4619
+
4620
+ // @ts-ignore ClassDecl.tsIgnore
4621
+ declare class SCNLayer extends CAOpenGLLayer implements SCNSceneRenderer, SCNTechniqueSupport {
4622
+ scene: SCNScene
4623
+
4624
+ presentSceneWithTransitionIncomingPointOfViewCompletionHandler(
4625
+ scene: SCNScene,
4626
+ transition: SKTransition,
4627
+ pointOfView: SCNNode | null,
4628
+ completionHandler: () => void | null,
4629
+ ): void
4630
+
4631
+ sceneTime: number
4632
+
4633
+ // @ts-ignore MemberDecl.tsIgnore
4634
+ delegate: SCNSceneRendererDelegate
4635
+
4636
+ hitTestOptions(
4637
+ point: CGPoint,
4638
+ options:
4639
+ | NSDictionary<interop.Object, interop.Object>
4640
+ | Record<interop.Object, interop.Object>
4641
+ | null,
4642
+ ): NSArray
4643
+
4644
+ isNodeInsideFrustumWithPointOfView(node: SCNNode, pointOfView: SCNNode): boolean
4645
+
4646
+ nodesInsideFrustumWithPointOfView(pointOfView: SCNNode): NSArray
4647
+
4648
+ projectPoint(point: SCNVector3): SCNVector3
4649
+
4650
+ unprojectPoint(point: SCNVector3): SCNVector3
4651
+
4652
+ playing: boolean
4653
+
4654
+ loops: boolean
4655
+
4656
+ pointOfView: SCNNode
4657
+
4658
+ autoenablesDefaultLighting: boolean
4659
+
4660
+ jitteringEnabled: boolean
4661
+
4662
+ temporalAntialiasingEnabled: boolean
4663
+
4664
+ prepareObjectShouldAbortBlock(object: interop.Object, block: () => boolean | null): boolean
4665
+
4666
+ prepareObjectsWithCompletionHandler(
4667
+ objects: NSArray<interop.Object> | Array<interop.Object>,
4668
+ completionHandler: (p1: boolean) => void | null,
4669
+ ): void
4670
+
4671
+ showsStatistics: boolean
4672
+
4673
+ debugOptions: interop.Enum<typeof SCNDebugOptions>
4674
+
4675
+ overlaySKScene: SKScene
4676
+
4677
+ readonly renderingAPI: interop.Enum<typeof SCNRenderingAPI>
4678
+
4679
+ readonly context: interop.Pointer
4680
+
4681
+ readonly currentRenderCommandEncoder: MTLRenderCommandEncoder
4682
+
4683
+ readonly currentRenderPassDescriptor: MTLRenderPassDescriptor
4684
+
4685
+ readonly device: MTLDevice
4686
+
4687
+ readonly colorPixelFormat: interop.Enum<typeof MTLPixelFormat>
4688
+
4689
+ readonly depthPixelFormat: interop.Enum<typeof MTLPixelFormat>
4690
+
4691
+ readonly stencilPixelFormat: interop.Enum<typeof MTLPixelFormat>
4692
+
4693
+ readonly commandQueue: MTLCommandQueue
4694
+
4695
+ readonly audioEngine: AVAudioEngine
4696
+
4697
+ readonly audioEnvironmentNode: AVAudioEnvironmentNode
4698
+
4699
+ audioListener: SCNNode
4700
+
4701
+ readonly currentViewport: CGRect
4702
+
4703
+ currentTime: number
4704
+
4705
+ usesReverseZ: boolean
4706
+
4707
+ isPlaying(): boolean
4708
+
4709
+ isJitteringEnabled(): boolean
4710
+
4711
+ isTemporalAntialiasingEnabled(): boolean
4712
+
4713
+ isEqual(object: interop.Object): boolean
4714
+
4715
+ readonly hash: number
4716
+
4717
+ readonly superclass: interop.Pointer
4718
+
4719
+ class(): interop.Pointer
4720
+
4721
+ self(): this
4722
+
4723
+ performSelector(aSelector: string): interop.Object
4724
+
4725
+ performSelectorWithObject(aSelector: string, object: interop.Object): interop.Object
4726
+
4727
+ performSelectorWithObjectWithObject(
4728
+ aSelector: string,
4729
+ object1: interop.Object,
4730
+ object2: interop.Object,
4731
+ ): interop.Object
4732
+
4733
+ readonly isProxy: boolean
4734
+
4735
+ isKindOfClass(aClass: interop.PointerConvertible): boolean
4736
+
4737
+ isMemberOfClass(aClass: interop.PointerConvertible): boolean
4738
+
4739
+ conformsToProtocol(aProtocol: interop.PointerConvertible): boolean
4740
+
4741
+ respondsToSelector(aSelector: string): boolean
4742
+
4743
+ retain(): this
4744
+
4745
+ release(): void
4746
+
4747
+ autorelease(): this
4748
+
4749
+ retainCount(): number
4750
+
4751
+ readonly zone: interop.Pointer
4752
+
4753
+ readonly description: string
4754
+
4755
+ readonly debugDescription: string
4756
+
4757
+ technique: SCNTechnique
4758
+ }
4759
+
4760
+ declare class SCNIKConstraint extends SCNConstraint {
4761
+ initWithChainRootNode(chainRootNode: SCNNode): this
4762
+
4763
+ static inverseKinematicsConstraintWithChainRootNode<
4764
+ This extends abstract new (...args: any) => any,
4765
+ >(this: This, chainRootNode: SCNNode): InstanceType<This>
4766
+
4767
+ readonly chainRootNode: SCNNode
4768
+
4769
+ targetPosition: SCNVector3
4770
+
4771
+ setMaxAllowedRotationAngleForJoint(angle: number, node: SCNNode): void
4772
+
4773
+ maxAllowedRotationAngleForJoint(node: SCNNode): number
4774
+ }
4775
+
4776
+ declare class SCNSceneSource extends NSObject {
4777
+ static sceneSourceWithURLOptions<This extends abstract new (...args: any) => any>(
4778
+ this: This,
4779
+ url: NSURL,
4780
+ options:
4781
+ | NSDictionary<interop.Object, interop.Object>
4782
+ | Record<interop.Object, interop.Object>
4783
+ | null,
4784
+ ): InstanceType<This>
4785
+
4786
+ static sceneSourceWithDataOptions<This extends abstract new (...args: any) => any>(
4787
+ this: This,
4788
+ data: NSData,
4789
+ options:
4790
+ | NSDictionary<interop.Object, interop.Object>
4791
+ | Record<interop.Object, interop.Object>
4792
+ | null,
4793
+ ): InstanceType<This>
4794
+
4795
+ initWithURLOptions(
4796
+ url: NSURL,
4797
+ options:
4798
+ | NSDictionary<interop.Object, interop.Object>
4799
+ | Record<interop.Object, interop.Object>
4800
+ | null,
4801
+ ): this
4802
+
4803
+ initWithDataOptions(
4804
+ data: NSData,
4805
+ options:
4806
+ | NSDictionary<interop.Object, interop.Object>
4807
+ | Record<interop.Object, interop.Object>
4808
+ | null,
4809
+ ): this
4810
+
4811
+ readonly url: NSURL
4812
+
4813
+ readonly data: NSData
4814
+
4815
+ sceneWithOptionsStatusHandler(
4816
+ options:
4817
+ | NSDictionary<interop.Object, interop.Object>
4818
+ | Record<interop.Object, interop.Object>
4819
+ | null,
4820
+ statusHandler: (
4821
+ p1: number,
4822
+ p2: interop.Enum<typeof SCNSceneSourceStatus>,
4823
+ p3: NSError,
4824
+ p4: interop.PointerConvertible,
4825
+ ) => void | null,
4826
+ ): SCNScene
4827
+
4828
+ sceneWithOptionsError(
4829
+ options:
4830
+ | NSDictionary<interop.Object, interop.Object>
4831
+ | Record<interop.Object, interop.Object>
4832
+ | null,
4833
+ error: interop.PointerConvertible,
4834
+ ): SCNScene
4835
+
4836
+ propertyForKey(key: string): interop.Object
4837
+
4838
+ entryWithIdentifierWithClass(uid: string, entryClass: interop.PointerConvertible): interop.Object
4839
+
4840
+ identifiersOfEntriesWithClass(entryClass: interop.PointerConvertible): NSArray
4841
+
4842
+ entriesPassingTest(
4843
+ predicate: (p1: interop.Object, p2: string, p3: interop.PointerConvertible) => boolean,
4844
+ ): NSArray
4845
+ }
4846
+
4847
+ declare class SCNReplicatorConstraint extends SCNConstraint {
4848
+ static replicatorConstraintWithTarget<This extends abstract new (...args: any) => any>(
4849
+ this: This,
4850
+ target: SCNNode | null,
4851
+ ): InstanceType<This>
4852
+
4853
+ target: SCNNode
4854
+
4855
+ replicatesOrientation: boolean
4856
+
4857
+ replicatesPosition: boolean
4858
+
4859
+ replicatesScale: boolean
4860
+
4861
+ orientationOffset: SCNVector4
4862
+
4863
+ positionOffset: SCNVector3
4864
+
4865
+ scaleOffset: SCNVector3
4866
+ }
4867
+
4868
+ declare class SCNMorpher extends NSObject implements SCNAnimatable, NSSecureCoding {
4869
+ get targets(): NSArray
4870
+ set targets(value: NSArray<interop.Object> | Array<interop.Object>)
4871
+
4872
+ get weights(): NSArray
4873
+ set weights(value: NSArray<interop.Object> | Array<interop.Object>)
4874
+
4875
+ setWeightForTargetAtIndex(weight: number, targetIndex: number): void
4876
+
4877
+ weightForTargetAtIndex(targetIndex: number): number
4878
+
4879
+ setWeightForTargetNamed(weight: number, targetName: string): void
4880
+
4881
+ weightForTargetNamed(targetName: string): number
4882
+
4883
+ calculationMode: interop.Enum<typeof SCNMorpherCalculationMode>
4884
+
4885
+ unifiesNormals: boolean
4886
+
4887
+ addAnimationForKey(animation: SCNAnimation, key: string | null): void
4888
+
4889
+ addAnimationPlayerForKey(player: SCNAnimationPlayer, key: string | null): void
4890
+
4891
+ removeAllAnimations(): void
4892
+
4893
+ removeAnimationForKey(key: string): void
4894
+
4895
+ removeAnimationForKeyBlendOutDuration(key: string, duration: number): void
4896
+
4897
+ readonly animationKeys: NSArray
4898
+
4899
+ animationPlayerForKey(key: string): SCNAnimationPlayer
4900
+
4901
+ removeAnimationForKeyFadeOutDuration(key: string, duration: number): void
4902
+
4903
+ animationForKey(key: string): CAAnimation
4904
+
4905
+ pauseAnimationForKey(key: string): void
4906
+
4907
+ resumeAnimationForKey(key: string): void
4908
+
4909
+ setSpeedForAnimationKey(speed: number, key: string): void
4910
+
4911
+ isAnimationForKeyPaused(key: string): boolean
4912
+
4913
+ isEqual(object: interop.Object): boolean
4914
+
4915
+ readonly hash: number
4916
+
4917
+ readonly superclass: interop.Pointer
4918
+
4919
+ class(): interop.Pointer
4920
+
4921
+ self(): this
4922
+
4923
+ performSelector(aSelector: string): interop.Object
4924
+
4925
+ performSelectorWithObject(aSelector: string, object: interop.Object): interop.Object
4926
+
4927
+ performSelectorWithObjectWithObject(
4928
+ aSelector: string,
4929
+ object1: interop.Object,
4930
+ object2: interop.Object,
4931
+ ): interop.Object
4932
+
4933
+ readonly isProxy: boolean
4934
+
4935
+ isKindOfClass(aClass: interop.PointerConvertible): boolean
4936
+
4937
+ isMemberOfClass(aClass: interop.PointerConvertible): boolean
4938
+
4939
+ conformsToProtocol(aProtocol: interop.PointerConvertible): boolean
4940
+
4941
+ respondsToSelector(aSelector: string): boolean
4942
+
4943
+ retain(): this
4944
+
4945
+ release(): void
4946
+
4947
+ autorelease(): this
4948
+
4949
+ retainCount(): number
4950
+
4951
+ readonly zone: interop.Pointer
4952
+
4953
+ readonly description: string
4954
+
4955
+ readonly debugDescription: string
4956
+
4957
+ static readonly supportsSecureCoding: boolean
4958
+
4959
+ encodeWithCoder(coder: NSCoder): void
4960
+
4961
+ initWithCoder(coder: NSCoder): this
4962
+ }
4963
+
4964
+ declare class SCNPhysicsContact extends NSObject {
4965
+ readonly nodeA: SCNNode
4966
+
4967
+ readonly nodeB: SCNNode
4968
+
4969
+ readonly contactPoint: SCNVector3
4970
+
4971
+ readonly contactNormal: SCNVector3
4972
+
4973
+ readonly collisionImpulse: number
4974
+
4975
+ readonly penetrationDistance: number
4976
+
4977
+ readonly sweepTestFraction: number
4978
+ }
4979
+
4980
+ declare class SCNCapsule extends SCNGeometry {
4981
+ static capsuleWithCapRadiusHeight<This extends abstract new (...args: any) => any>(
4982
+ this: This,
4983
+ capRadius: number,
4984
+ height: number,
4985
+ ): InstanceType<This>
4986
+
4987
+ capRadius: number
4988
+
4989
+ height: number
4990
+
4991
+ radialSegmentCount: number
4992
+
4993
+ heightSegmentCount: number
4994
+
4995
+ capSegmentCount: number
4996
+ }