Skip to content

SceneKit watchOS xcode13.0 beta1

Rachel Kang edited this page Jul 14, 2021 · 3 revisions

#SceneKit.framework https://github.com/xamarin/xamarin-macios/pull/12121

diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/SceneKit.framework/Headers/SCNAnimation.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/SceneKit.framework/Headers/SCNAnimation.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/SceneKit.framework/Headers/SCNAnimation.h	2021-03-16 05:20:20.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/SceneKit.framework/Headers/SCNAnimation.h	2021-06-02 07:34:18.000000000 -0400
@@ -62,6 +62,13 @@
 - (void)removeAllAnimations;
 
 /*!
+ @method removeAllAnimationsWithBlendOutDuration
+ @abstract Smoothly remove all animations.
+ @param duration The blend out duration used to remove the animation.
+ */
+- (void)removeAllAnimationsWithBlendOutDuration:(CGFloat)duration API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), watchos(8.0));
+
+/*!
  @method removeAnimationForKey
  @abstract Remove the animation with the given identifier.
  @param key The identifier for the animation to remove.
@@ -69,6 +76,14 @@
 - (void)removeAnimationForKey:(NSString *)key;
 
 /*!
+ @method removeAnimationForKey:blendOutDuration:
+ @abstract Smoothly remove the animation with the given identifier.
+ @param key The identifier for the animation to remove.
+ @param duration The blend out duration used to remove the animation.
+ */
+- (void)removeAnimationForKey:(NSString *)key blendOutDuration:(CGFloat)duration API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0), watchos(4.0));
+
+/*!
  @property animationKeys
  @abstract Returns an array containing the keys of all animations currently attached to the receiver.
  */
@@ -82,13 +97,6 @@
  */
 - (nullable SCNAnimationPlayer *)animationPlayerForKey:(NSString *)key API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0), watchos(4.0));
 
-/*!
- @abstract Smoothly remove the animation with the given identifier.
- @param key The identifier for the animation to remove.
- @param duration The blend out duration used to remove the animation.
- */
-- (void)removeAnimationForKey:(NSString *)key blendOutDuration:(CGFloat)duration API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0), watchos(4.0));
-
 
 // Deprecated
 
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/SceneKit.framework/Headers/SCNCamera.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/SceneKit.framework/Headers/SCNCamera.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/SceneKit.framework/Headers/SCNCamera.h	2021-03-16 08:47:44.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/SceneKit.framework/Headers/SCNCamera.h	2021-06-02 05:35:34.000000000 -0400
@@ -226,7 +226,7 @@
 @property(nonatomic) CGFloat exposureAdaptationBrighteningSpeedFactor API_AVAILABLE(macos(10.12), ios(10.0), tvos(10.0));
 
 /*!
- @property exposureAdaptationBrighteningSpeedFactor
+ @property exposureAdaptationDarkeningSpeedFactor
  @abstract Determines the exposure adaptation speed when going from dark areas to bright areas. Defaults to 0.6.
  */
 @property(nonatomic) CGFloat exposureAdaptationDarkeningSpeedFactor API_AVAILABLE(macos(10.12), ios(10.0), tvos(10.0));
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/SceneKit.framework/Headers/SCNParticleSystem.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/SceneKit.framework/Headers/SCNParticleSystem.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/SceneKit.framework/Headers/SCNParticleSystem.h	2021-03-16 13:58:50.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/SceneKit.framework/Headers/SCNParticleSystem.h	2021-06-02 05:35:33.000000000 -0400
@@ -401,6 +401,12 @@
 // Only used if the particleImage is a cube map. The bigger the amount, the more concentrated the reflection is around the edges
 @property(nonatomic) CGFloat fresnelExponent;
 
+/*!
+ @property writeToDepthBuffer
+ @abstract Determines whether the receiver writes to the depth buffer when rendered. Defaults to NO.
+ */
+@property(nonatomic) BOOL writesToDepthBuffer API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), watchos(8.0));
+
 // Property controllers.
 @property(nonatomic, copy, nullable) NSDictionary<SCNParticleProperty, SCNParticlePropertyController *> *propertyControllers;
 
Clone this wiki locally