SceneKit Changes for Objective-C
SceneKit
ModelIO.h (Added)
Added MDLAsset(SCNModelIO)
Added MDLCamera(SCNModelIO)
Added MDLLight(SCNModelIO)
Added MDLMaterial(SCNModelIO)
Added MDLMesh(SCNModelIO)
Added MDLObject(SCNModelIO)
Added MDLSubmesh(SCNModelIO)
Added SCNCamera(SCNModelIO)
Added SCNGeometry(SCNModelIO)
Added SCNGeometryElement(SCNModelIO)
Added SCNLight(SCNModelIO)
Added SCNMaterial(SCNModelIO)
Added SCNNode(SCNModelIO)
Added SCNScene(SCNModelIO)
SceneKitTypes.h
Added #def SCN_ENABLE_METAL
Modified NSValue.SCNMatrix4Value
Declaration | |
---|---|
From | @property(readonly) SCNMatrix4 SCNMatrix4Value |
To | @property(nonatomic, readonly) SCNMatrix4 SCNMatrix4Value |
Modified NSValue.SCNVector3Value
Declaration | |
---|---|
From | @property(readonly) SCNVector3 SCNVector3Value |
To | @property(nonatomic, readonly) SCNVector3 SCNVector3Value |
Modified NSValue.SCNVector4Value
Declaration | |
---|---|
From | @property(readonly) SCNVector4 SCNVector4Value |
To | @property(nonatomic, readonly) SCNVector4 SCNVector4Value |
Modified +[NSValue valueWithSCNMatrix4:]
Declaration | |
---|---|
From | + (NSValue *)valueWithSCNMatrix4:(SCNMatrix4)v |
To | + (NSValue * _Nonnull)valueWithSCNMatrix4:(SCNMatrix4)v |
Modified +[NSValue valueWithSCNVector3:]
Declaration | |
---|---|
From | + (NSValue *)valueWithSCNVector3:(SCNVector3)v |
To | + (NSValue * _Nonnull)valueWithSCNVector3:(SCNVector3)v |
Modified +[NSValue valueWithSCNVector4:]
Declaration | |
---|---|
From | + (NSValue *)valueWithSCNVector4:(SCNVector4)v |
To | + (NSValue * _Nonnull)valueWithSCNVector4:(SCNVector4)v |
SCNAction.h
Removed -[SCNActionable hasActions]
Removed SCNAction(SCNActions)
Added +[SCNAction hide]
Added +[SCNAction unhide]
Added SCNActionable.actionKeys
Added SCNActionable.hasActions
Declaration | |
---|---|
From | + (SCNAction *)customActionWithDuration:(NSTimeInterval)seconds actionBlock:(void (^)(SCNNode *node, CGFloat elapsedTime))block |
To | + (SCNAction * _Nonnull)customActionWithDuration:(NSTimeInterval)seconds actionBlock:(void (^ _Nonnull)(SCNNode * _Nonnull node, CGFloat elapsedTime))block |
Modified +[SCNAction fadeInWithDuration:]
Declaration | |
---|---|
From | + (SCNAction *)fadeInWithDuration:(NSTimeInterval)sec |
To | + (SCNAction * _Nonnull)fadeInWithDuration:(NSTimeInterval)sec |
Modified +[SCNAction fadeOpacityBy:duration:]
Declaration | |
---|---|
From | + (SCNAction *)fadeOpacityBy:(CGFloat)factor duration:(NSTimeInterval)sec |
To | + (SCNAction * _Nonnull)fadeOpacityBy:(CGFloat)factor duration:(NSTimeInterval)sec |
Modified +[SCNAction fadeOpacityTo:duration:]
Declaration | |
---|---|
From | + (SCNAction *)fadeOpacityTo:(CGFloat)opacity duration:(NSTimeInterval)sec |
To | + (SCNAction * _Nonnull)fadeOpacityTo:(CGFloat)opacity duration:(NSTimeInterval)sec |
Modified +[SCNAction fadeOutWithDuration:]
Declaration | |
---|---|
From | + (SCNAction *)fadeOutWithDuration:(NSTimeInterval)sec |
To | + (SCNAction * _Nonnull)fadeOutWithDuration:(NSTimeInterval)sec |
Modified +[SCNAction group:]
Declaration | |
---|---|
From | + (SCNAction *)group:(NSArray *)actions |
To | + (SCNAction * _Nonnull)group:(NSArray<SCNAction *> * _Nonnull)actions |
Declaration | |
---|---|
From | + (SCNAction *)javaScriptActionWithScript:(NSString *)script duration:(NSTimeInterval)seconds |
To | + (SCNAction * _Nonnull)javaScriptActionWithScript:(NSString * _Nonnull)script duration:(NSTimeInterval)seconds |
Modified +[SCNAction moveBy:duration:]
Declaration | |
---|---|
From | + (SCNAction *)moveBy:(SCNVector3)delta duration:(NSTimeInterval)duration |
To | + (SCNAction * _Nonnull)moveBy:(SCNVector3)delta duration:(NSTimeInterval)duration |
Modified +[SCNAction moveByX:y:z:duration:]
Declaration | |
---|---|
From | + (SCNAction *)moveByX:(CGFloat)deltaX y:(CGFloat)deltaY z:(CGFloat)deltaZ duration:(NSTimeInterval)duration |
To | + (SCNAction * _Nonnull)moveByX:(CGFloat)deltaX y:(CGFloat)deltaY z:(CGFloat)deltaZ duration:(NSTimeInterval)duration |
Modified +[SCNAction moveTo:duration:]
Declaration | |
---|---|
From | + (SCNAction *)moveTo:(SCNVector3)location duration:(NSTimeInterval)duration |
To | + (SCNAction * _Nonnull)moveTo:(SCNVector3)location duration:(NSTimeInterval)duration |
Modified +[SCNAction removeFromParentNode]
Declaration | |
---|---|
From | + (SCNAction *)removeFromParentNode |
To | + (SCNAction * _Nonnull)removeFromParentNode |
Modified +[SCNAction repeatAction:count:]
Declaration | |
---|---|
From | + (SCNAction *)repeatAction:(SCNAction *)action count:(NSUInteger)count |
To | + (SCNAction * _Nonnull)repeatAction:(SCNAction * _Nonnull)action count:(NSUInteger)count |
Modified +[SCNAction repeatActionForever:]
Declaration | |
---|---|
From | + (SCNAction *)repeatActionForever:(SCNAction *)action |
To | + (SCNAction * _Nonnull)repeatActionForever:(SCNAction * _Nonnull)action |
Modified -[SCNAction reversedAction]
Declaration | |
---|---|
From | - (SCNAction *)reversedAction |
To | - (SCNAction * _Nonnull)reversedAction |
Declaration | |
---|---|
From | + (SCNAction *)rotateByAngle:(CGFloat)angle aroundAxis:(SCNVector3)axis duration:(NSTimeInterval)duration |
To | + (SCNAction * _Nonnull)rotateByAngle:(CGFloat)angle aroundAxis:(SCNVector3)axis duration:(NSTimeInterval)duration |
Modified +[SCNAction rotateByX:y:z:duration:]
Declaration | |
---|---|
From | + (SCNAction *)rotateByX:(CGFloat)xAngle y:(CGFloat)yAngle z:(CGFloat)zAngle duration:(NSTimeInterval)duration |
To | + (SCNAction * _Nonnull)rotateByX:(CGFloat)xAngle y:(CGFloat)yAngle z:(CGFloat)zAngle duration:(NSTimeInterval)duration |
Declaration | |
---|---|
From | + (SCNAction *)rotateToAxisAngle:(SCNVector4)axisAngle duration:(NSTimeInterval)duration |
To | + (SCNAction * _Nonnull)rotateToAxisAngle:(SCNVector4)axisAngle duration:(NSTimeInterval)duration |
Modified +[SCNAction rotateToX:y:z:duration:]
Declaration | |
---|---|
From | + (SCNAction *)rotateToX:(CGFloat)xAngle y:(CGFloat)yAngle z:(CGFloat)zAngle duration:(NSTimeInterval)duration |
To | + (SCNAction * _Nonnull)rotateToX:(CGFloat)xAngle y:(CGFloat)yAngle z:(CGFloat)zAngle duration:(NSTimeInterval)duration |
Declaration | |
---|---|
From | + (SCNAction *)rotateToX:(CGFloat)xAngle y:(CGFloat)yAngle z:(CGFloat)zAngle duration:(NSTimeInterval)duration shortestUnitArc:(BOOL)shortestUnitArc |
To | + (SCNAction * _Nonnull)rotateToX:(CGFloat)xAngle y:(CGFloat)yAngle z:(CGFloat)zAngle duration:(NSTimeInterval)duration shortestUnitArc:(BOOL)shortestUnitArc |
Modified +[SCNAction runBlock:]
Declaration | |
---|---|
From | + (SCNAction *)runBlock:(void (^)(SCNNode *node))block |
To | + (SCNAction * _Nonnull)runBlock:(void (^ _Nonnull)(SCNNode * _Nonnull node))block |
Modified +[SCNAction runBlock:queue:]
Declaration | |
---|---|
From | + (SCNAction *)runBlock:(void (^)(SCNNode *node))block queue:(dispatch_queue_t)queue |
To | + (SCNAction * _Nonnull)runBlock:(void (^ _Nonnull)(SCNNode * _Nonnull node))block queue:(dispatch_queue_t _Nonnull)queue |
Modified +[SCNAction scaleBy:duration:]
Declaration | |
---|---|
From | + (SCNAction *)scaleBy:(CGFloat)scale duration:(NSTimeInterval)sec |
To | + (SCNAction * _Nonnull)scaleBy:(CGFloat)scale duration:(NSTimeInterval)sec |
Modified +[SCNAction scaleTo:duration:]
Declaration | |
---|---|
From | + (SCNAction *)scaleTo:(CGFloat)scale duration:(NSTimeInterval)sec |
To | + (SCNAction * _Nonnull)scaleTo:(CGFloat)scale duration:(NSTimeInterval)sec |
Modified +[SCNAction sequence:]
Declaration | |
---|---|
From | + (SCNAction *)sequence:(NSArray *)actions |
To | + (SCNAction * _Nonnull)sequence:(NSArray<SCNAction *> * _Nonnull)actions |
Modified SCNAction.timingFunction
Declaration | |
---|---|
From | @property(nonatomic) SCNActionTimingFunction timingFunction |
To | @property(nonatomic, nullable) SCNActionTimingFunction timingFunction |
Modified +[SCNAction waitForDuration:]
Declaration | |
---|---|
From | + (SCNAction *)waitForDuration:(NSTimeInterval)sec |
To | + (SCNAction * _Nonnull)waitForDuration:(NSTimeInterval)sec |
Declaration | |
---|---|
From | + (SCNAction *)waitForDuration:(NSTimeInterval)sec withRange:(NSTimeInterval)durationRange |
To | + (SCNAction * _Nonnull)waitForDuration:(NSTimeInterval)sec withRange:(NSTimeInterval)durationRange |
Modified -[SCNActionable actionForKey:]
Declaration | |
---|---|
From | - (SCNAction *)actionForKey:(NSString *)key |
To | - (SCNAction * _Nullable)actionForKey:(NSString * _Nonnull)key |
Modified -[SCNActionable removeActionForKey:]
Declaration | |
---|---|
From | - (void)removeActionForKey:(NSString *)key |
To | - (void)removeActionForKey:(NSString * _Nonnull)key |
Modified -[SCNActionable runAction:]
Declaration | |
---|---|
From | - (void)runAction:(SCNAction *)action |
To | - (void)runAction:(SCNAction * _Nonnull)action |
Declaration | |
---|---|
From | - (void)runAction:(SCNAction *)action completionHandler:(void (^)(void))block |
To | - (void)runAction:(SCNAction * _Nonnull)action completionHandler:(void (^ _Nullable)(void))block |
Modified -[SCNActionable runAction:forKey:]
Declaration | |
---|---|
From | - (void)runAction:(SCNAction *)action forKey:(NSString *)key |
To | - (void)runAction:(SCNAction * _Nonnull)action forKey:(NSString * _Nullable)key |
Declaration | |
---|---|
From | - (void)runAction:(SCNAction *)action forKey:(NSString *)key completionHandler:(void (^)(void))block |
To | - (void)runAction:(SCNAction * _Nonnull)action forKey:(NSString * _Nullable)key completionHandler:(void (^ _Nullable)(void))block |
SCNAnimation.h
Removed -[SCNAnimatable animationKeys]
Modified CAAnimation.animationEvents
Declaration | |
---|---|
From | @property(nonatomic, retain) NSArray *animationEvents |
To | @property(nonatomic, copy, nullable) NSArray<SCNAnimationEvent *> *animationEvents |
Declaration | |
---|---|
From | - (void)addAnimation:(CAAnimation *)animation forKey:(NSString *)key |
To | - (void)addAnimation:(CAAnimation * _Nonnull)animation forKey:(NSString * _Nullable)key |
Modified -[SCNAnimatable animationForKey:]
Declaration | |
---|---|
From | - (CAAnimation *)animationForKey:(NSString *)key |
To | - (CAAnimation * _Nullable)animationForKey:(NSString * _Nonnull)key |
Declaration | |
---|---|
From | - (BOOL)isAnimationForKeyPaused:(NSString *)key |
To | - (BOOL)isAnimationForKeyPaused:(NSString * _Nonnull)key |
Declaration | |
---|---|
From | - (void)pauseAnimationForKey:(NSString *)key |
To | - (void)pauseAnimationForKey:(NSString * _Nonnull)key |
Declaration | |
---|---|
From | - (void)removeAnimationForKey:(NSString *)key |
To | - (void)removeAnimationForKey:(NSString * _Nonnull)key |
Declaration | |
---|---|
From | - (void)removeAnimationForKey:(NSString *)key fadeOutDuration:(CGFloat)duration |
To | - (void)removeAnimationForKey:(NSString * _Nonnull)key fadeOutDuration:(CGFloat)duration |
Declaration | |
---|---|
From | - (void)resumeAnimationForKey:(NSString *)key |
To | - (void)resumeAnimationForKey:(NSString * _Nonnull)key |
Declaration | |
---|---|
From | + (instancetype)animationEventWithKeyTime:(CGFloat)time block:(SCNAnimationEventBlock)eventBlock |
To | + (instancetype _Nonnull)animationEventWithKeyTime:(CGFloat)time block:(SCNAnimationEventBlock _Nonnull)eventBlock |
SCNAudioSource.h (Added)
Added SCNAudioPlayer
Added SCNAudioPlayer.audioNode
Added SCNAudioSource
Added -[SCNAudioSource load]
Added SCNAudioSource.loops
Added SCNAudioSource.rate
Added SCNAudioSource.volume
Added SCNNode.audioPlayers
Added SCNNode(SCNAudioSupport)
SCNBoundingVolume.h
Declaration | |
---|---|
From | - (BOOL)getBoundingBoxMin:(SCNVector3 *)min max:(SCNVector3 *)max |
To | - (BOOL)getBoundingBoxMin:(SCNVector3 * _Nullable)min max:(SCNVector3 * _Nullable)max |
Declaration | |
---|---|
From | - (BOOL)getBoundingSphereCenter:(SCNVector3 *)center radius:(CGFloat *)radius |
To | - (BOOL)getBoundingSphereCenter:(SCNVector3 * _Nullable)center radius:(CGFloat * _Nullable)radius |
Declaration | |
---|---|
From | - (void)setBoundingBoxMin:(SCNVector3 *)min max:(SCNVector3 *)max |
To | - (void)setBoundingBoxMin:(SCNVector3 * _Nullable)min max:(SCNVector3 * _Nullable)max |
SCNCamera.h
Modified +[SCNCamera camera]
Declaration | |
---|---|
From | + (instancetype)camera |
To | + (instancetype _Nonnull)camera |
Modified SCNCamera.name
Declaration | |
---|---|
From | @property(nonatomic, copy) NSString *name |
To | @property(nonatomic, copy, nullable) NSString *name |
SCNConstraint.h
Added SCNBillboardConstraint
Added SCNBillboardAxis
Added SCNBillboardAxisAll
Added SCNBillboardAxisX
Added SCNBillboardAxisY
Added SCNBillboardAxisZ
Modified SCNIKConstraint.chainRootNode
Declaration | |
---|---|
From | @property(nonatomic, readonly) SCNNode *chainRootNode |
To | @property(nonatomic, readonly, nonnull) SCNNode *chainRootNode |
Declaration | |
---|---|
From | + (instancetype)inverseKinematicsConstraintWithChainRootNode:(SCNNode *)chainRootNode |
To | + (instancetype _Nonnull)inverseKinematicsConstraintWithChainRootNode:(SCNNode * _Nonnull)chainRootNode |
Declaration | |
---|---|
From | - (CGFloat)maxAllowedRotationAngleForJoint:(SCNNode *)node |
To | - (CGFloat)maxAllowedRotationAngleForJoint:(SCNNode * _Nonnull)node |
Declaration | |
---|---|
From | - (void)setMaxAllowedRotationAngle:(CGFloat)angle forJoint:(SCNNode *)node |
To | - (void)setMaxAllowedRotationAngle:(CGFloat)angle forJoint:(SCNNode * _Nonnull)node |
Declaration | |
---|---|
From | + (instancetype)lookAtConstraintWithTarget:(SCNNode *)target |
To | + (instancetype _Nonnull)lookAtConstraintWithTarget:(SCNNode * _Nonnull)target |
Modified SCNLookAtConstraint.target
Declaration | |
---|---|
From | @property(nonatomic, readonly) SCNNode *target |
To | @property(nonatomic, readonly, nonnull) SCNNode *target |
Declaration | |
---|---|
From | + (instancetype)transformConstraintInWorldSpace:(BOOL)world withBlock:(SCNMatrix4 (^)(SCNNode *node, SCNMatrix4 transform))block |
To | + (instancetype _Nonnull)transformConstraintInWorldSpace:(BOOL)world withBlock:(SCNMatrix4 (^ _Nonnull)(SCNNode * _Nonnull node, SCNMatrix4 transform))block |
SCNGeometry.h
Modified SCNGeometry.edgeCreasesElement
Declaration | |
---|---|
From | @property(nonatomic, retain) SCNGeometryElement *edgeCreasesElement |
To | @property(nonatomic, retain, nullable) SCNGeometryElement *edgeCreasesElement |
Modified SCNGeometry.edgeCreasesSource
Declaration | |
---|---|
From | @property(nonatomic, retain) SCNGeometrySource *edgeCreasesSource |
To | @property(nonatomic, retain, nullable) SCNGeometrySource *edgeCreasesSource |
Modified SCNGeometry.firstMaterial
Declaration | |
---|---|
From | @property(nonatomic, retain) SCNMaterial *firstMaterial |
To | @property(nonatomic, retain, nullable) SCNMaterial *firstMaterial |
Modified +[SCNGeometry geometry]
Declaration | |
---|---|
From | + (instancetype)geometry |
To | + (instancetype _Nonnull)geometry |
Declaration | |
---|---|
From | - (SCNGeometryElement *)geometryElementAtIndex:(NSInteger)elementIndex |
To | - (SCNGeometryElement * _Nonnull)geometryElementAtIndex:(NSInteger)elementIndex |
Declaration | |
---|---|
From | - (NSArray *)geometrySourcesForSemantic:(NSString *)semantic |
To | - (NSArray<SCNGeometrySource *> * _Nonnull)geometrySourcesForSemantic:(NSString * _Nonnull)semantic |
Declaration | |
---|---|
From | + (instancetype)geometryWithSources:(NSArray *)sources elements:(NSArray *)elements |
To | + (instancetype _Nonnull)geometryWithSources:(NSArray<SCNGeometrySource *> * _Nonnull)sources elements:(NSArray<SCNGeometryElement *> * _Nonnull)elements |
Declaration | |
---|---|
From | - (void)insertMaterial:(SCNMaterial *)material atIndex:(NSUInteger)index |
To | - (void)insertMaterial:(SCNMaterial * _Nonnull)material atIndex:(NSUInteger)index |
Modified SCNGeometry.levelsOfDetail
Declaration | |
---|---|
From | @property(nonatomic, copy) NSArray *levelsOfDetail |
To | @property(nonatomic, copy, nullable) NSArray<SCNLevelOfDetail *> *levelsOfDetail |
Modified SCNGeometry.materials
Declaration | |
---|---|
From | @property(nonatomic, copy) NSArray *materials |
To | @property(nonatomic, copy, nonnull) NSArray<SCNMaterial *> *materials |
Modified -[SCNGeometry materialWithName:]
Declaration | |
---|---|
From | - (SCNMaterial *)materialWithName:(NSString *)name |
To | - (SCNMaterial * _Nullable)materialWithName:(NSString * _Nonnull)name |
Modified SCNGeometry.name
Declaration | |
---|---|
From | @property(nonatomic, copy) NSString *name |
To | @property(nonatomic, copy, nullable) NSString *name |
Declaration | |
---|---|
From | - (void)replaceMaterialAtIndex:(NSUInteger)index withMaterial:(SCNMaterial *)material |
To | - (void)replaceMaterialAtIndex:(NSUInteger)index withMaterial:(SCNMaterial * _Nonnull)material |
Modified SCNGeometryElement.data
Declaration | |
---|---|
From | @property(nonatomic, readonly) NSData *data |
To | @property(nonatomic, readonly, nonnull) NSData *data |
Declaration | |
---|---|
From | + (instancetype)geometryElementWithData:(NSData *)data primitiveType:(SCNGeometryPrimitiveType)primitiveType primitiveCount:(NSInteger)primitiveCount bytesPerIndex:(NSInteger)bytesPerIndex |
To | + (instancetype _Nonnull)geometryElementWithData:(NSData * _Nullable)data primitiveType:(SCNGeometryPrimitiveType)primitiveType primitiveCount:(NSInteger)primitiveCount bytesPerIndex:(NSInteger)bytesPerIndex |
Modified SCNGeometrySource.data
Declaration | |
---|---|
From | @property(nonatomic, readonly) NSData *data |
To | @property(nonatomic, readonly, nonnull) NSData *data |
Declaration | |
---|---|
From | + (instancetype)geometrySourceWithData:(NSData *)data semantic:(NSString *)semantic vectorCount:(NSInteger)vectorCount floatComponents:(BOOL)floatComponents componentsPerVector:(NSInteger)componentsPerVector bytesPerComponent:(NSInteger)bytesPerComponent dataOffset:(NSInteger)offset dataStride:(NSInteger)stride |
To | + (instancetype _Nonnull)geometrySourceWithData:(NSData * _Nonnull)data semantic:(NSString * _Nonnull)semantic vectorCount:(NSInteger)vectorCount floatComponents:(BOOL)floatComponents componentsPerVector:(NSInteger)componentsPerVector bytesPerComponent:(NSInteger)bytesPerComponent dataOffset:(NSInteger)offset dataStride:(NSInteger)stride |
Declaration | |
---|---|
From | + (instancetype)geometrySourceWithNormals:(const SCNVector3 *)normals count:(NSInteger)count |
To | + (instancetype _Nonnull)geometrySourceWithNormals:(const SCNVector3 * _Nonnull)normals count:(NSInteger)count |
Declaration | |
---|---|
From | + (instancetype)geometrySourceWithTextureCoordinates:(const CGPoint *)texcoord count:(NSInteger)count |
To | + (instancetype _Nonnull)geometrySourceWithTextureCoordinates:(const CGPoint * _Nonnull)texcoord count:(NSInteger)count |
Declaration | |
---|---|
From | + (instancetype)geometrySourceWithVertices:(const SCNVector3 *)vertices count:(NSInteger)count |
To | + (instancetype _Nonnull)geometrySourceWithVertices:(const SCNVector3 * _Nonnull)vertices count:(NSInteger)count |
Modified SCNGeometrySource.semantic
Declaration | |
---|---|
From | @property(nonatomic, readonly) NSString *semantic |
To | @property(nonatomic, readonly, nonnull) NSString *semantic |
SCNJavascript.h
Modified SCNExportJavaScriptModule()
Declaration | |
---|---|
From | void SCNExportJavaScriptModule ( JSContext *context ); |
To | void SCNExportJavaScriptModule ( JSContext * _Nonnull context ); |
SCNLayer.h
Modified SCNLayer.scene
Declaration | |
---|---|
From | @property(nonatomic, retain) SCNScene *scene |
To | @property(nonatomic, retain, nullable) SCNScene *scene |
SCNLevelOfDetail.h
Modified SCNLevelOfDetail.geometry
Declaration | |
---|---|
From | @property(readonly) SCNGeometry *geometry |
To | @property(readonly, nullable) SCNGeometry *geometry |
Declaration | |
---|---|
From | + (instancetype)levelOfDetailWithGeometry:(SCNGeometry *)geometry screenSpaceRadius:(CGFloat)radius |
To | + (instancetype _Nonnull)levelOfDetailWithGeometry:(SCNGeometry * _Nullable)geometry screenSpaceRadius:(CGFloat)radius |
Declaration | |
---|---|
From | + (instancetype)levelOfDetailWithGeometry:(SCNGeometry *)geometry worldSpaceDistance:(CGFloat)distance |
To | + (instancetype _Nonnull)levelOfDetailWithGeometry:(SCNGeometry * _Nullable)geometry worldSpaceDistance:(CGFloat)distance |
SCNLight.h
Modified -[SCNLight attributeForKey:]
Declaration | |
---|---|
From | - (id)attributeForKey:(NSString *)key |
To | - (id _Nullable)attributeForKey:(NSString * _Nonnull)key |
Modified SCNLight.color
Declaration | |
---|---|
From | @property(nonatomic, retain) id color |
To | @property(nonatomic, retain, nonnull) id color |
Modified SCNLight.gobo
Declaration | |
---|---|
From | @property(nonatomic, readonly) SCNMaterialProperty *gobo |
To | @property(nonatomic, readonly, nullable) SCNMaterialProperty *gobo |
Modified +[SCNLight light]
Declaration | |
---|---|
From | + (instancetype)light |
To | + (instancetype _Nonnull)light |
Modified SCNLight.name
Declaration | |
---|---|
From | @property(nonatomic, copy) NSString *name |
To | @property(nonatomic, copy, nullable) NSString *name |
Modified -[SCNLight setAttribute:forKey:]
Declaration | |
---|---|
From | - (void)setAttribute:(id)attribute forKey:(NSString *)key |
To | - (void)setAttribute:(id _Nullable)attribute forKey:(NSString * _Nonnull)key |
Modified SCNLight.shadowColor
Declaration | |
---|---|
From | @property(nonatomic, retain) id shadowColor |
To | @property(nonatomic, retain, nonnull) id shadowColor |
Modified SCNLight.type
Declaration | |
---|---|
From | @property(nonatomic, copy) NSString *type |
To | @property(nonatomic, copy, nonnull) NSString *type |
SCNMaterial.h
Added SCNMaterial.blendMode
Added SCNBlendMode
Added SCNBlendModeAdd
Added SCNBlendModeAlpha
Added SCNBlendModeMultiply
Added SCNBlendModeReplace
Added SCNBlendModeScreen
Added SCNBlendModeSubtract
Modified SCNMaterial.ambient
Declaration | |
---|---|
From | @property(nonatomic, readonly) SCNMaterialProperty *ambient |
To | @property(nonatomic, readonly, nonnull) SCNMaterialProperty *ambient |
Modified SCNMaterial.diffuse
Declaration | |
---|---|
From | @property(nonatomic, readonly) SCNMaterialProperty *diffuse |
To | @property(nonatomic, readonly, nonnull) SCNMaterialProperty *diffuse |
Modified SCNMaterial.emission
Declaration | |
---|---|
From | @property(nonatomic, readonly) SCNMaterialProperty *emission |
To | @property(nonatomic, readonly, nonnull) SCNMaterialProperty *emission |
Modified SCNMaterial.lightingModelName
Declaration | |
---|---|
From | @property(nonatomic, copy) NSString *lightingModelName |
To | @property(nonatomic, copy, nonnull) NSString *lightingModelName |
Modified +[SCNMaterial material]
Declaration | |
---|---|
From | + (instancetype)material |
To | + (instancetype _Nonnull)material |
Modified SCNMaterial.multiply
Declaration | |
---|---|
From | @property(nonatomic, readonly) SCNMaterialProperty *multiply |
To | @property(nonatomic, readonly, nonnull) SCNMaterialProperty *multiply |
Modified SCNMaterial.name
Declaration | |
---|---|
From | @property(nonatomic, copy) NSString *name |
To | @property(nonatomic, copy, nullable) NSString *name |
Modified SCNMaterial.normal
Declaration | |
---|---|
From | @property(nonatomic, readonly) SCNMaterialProperty *normal |
To | @property(nonatomic, readonly, nonnull) SCNMaterialProperty *normal |
Modified SCNMaterial.reflective
Declaration | |
---|---|
From | @property(nonatomic, readonly) SCNMaterialProperty *reflective |
To | @property(nonatomic, readonly, nonnull) SCNMaterialProperty *reflective |
Modified SCNMaterial.specular
Declaration | |
---|---|
From | @property(nonatomic, readonly) SCNMaterialProperty *specular |
To | @property(nonatomic, readonly, nonnull) SCNMaterialProperty *specular |
Modified SCNMaterial.transparent
Declaration | |
---|---|
From | @property(nonatomic, readonly) SCNMaterialProperty *transparent |
To | @property(nonatomic, readonly, nonnull) SCNMaterialProperty *transparent |
SCNMaterialProperty.h
Removed SCNClamp
Removed SCNClampToBorder
Removed SCNLinearFiltering
Removed SCNMirror
Removed SCNNearestFiltering
Removed SCNNoFiltering
Removed SCNRepeat
Modified SCNMaterialProperty.borderColor
Declaration | |
---|---|
From | @property(nonatomic, retain) id borderColor |
To | @property(nonatomic, retain, nullable) id borderColor |
Modified SCNMaterialProperty.contents
Declaration | |
---|---|
From | @property(nonatomic, retain) id contents |
To | @property(nonatomic, retain, nullable) id contents |
Declaration | |
---|---|
From | + (instancetype)materialPropertyWithContents:(id)contents |
To | + (instancetype _Nonnull)materialPropertyWithContents:(id _Nonnull)contents |
SCNMorpher.h
Modified SCNMorpher.targets
Declaration | |
---|---|
From | @property(nonatomic, copy) NSArray *targets |
To | @property(nonatomic, copy, nonnull) NSArray<SCNGeometry *> *targets |
SCNNode.h
Modified -[SCNNode addChildNode:]
Declaration | |
---|---|
From | - (void)addChildNode:(SCNNode *)child |
To | - (void)addChildNode:(SCNNode * _Nonnull)child |
Modified SCNNode.camera
Declaration | |
---|---|
From | @property(nonatomic, retain) SCNCamera *camera |
To | @property(nonatomic, retain, nullable) SCNCamera *camera |
Modified SCNNode.childNodes
Declaration | |
---|---|
From | @property(nonatomic, readonly) NSArray *childNodes |
To | @property(nonatomic, readonly, nonnull) NSArray<SCNNode *> *childNodes |
Modified -[SCNNode childNodesPassingTest:]
Declaration | |
---|---|
From | - (NSArray *)childNodesPassingTest:(BOOL (^)(SCNNode *child, BOOL *stop))predicate |
To | - (NSArray<SCNNode *> * _Nonnull)childNodesPassingTest:(BOOL (^ _Nonnull)(SCNNode * _Nonnull child, BOOL * _Nonnull stop))predicate |
Declaration | |
---|---|
From | - (SCNNode *)childNodeWithName:(NSString *)name recursively:(BOOL)recursively |
To | - (SCNNode * _Nullable)childNodeWithName:(NSString * _Nonnull)name recursively:(BOOL)recursively |
Modified -[SCNNode clone]
Declaration | |
---|---|
From | - (id)clone |
To | - (instancetype _Nonnull)clone |
Modified SCNNode.constraints
Declaration | |
---|---|
From | @property(copy) NSArray *constraints |
To | @property(copy, nullable) NSArray<SCNConstraint *> *constraints |
Modified -[SCNNode convertPosition:fromNode:]
Declaration | |
---|---|
From | - (SCNVector3)convertPosition:(SCNVector3)position fromNode:(SCNNode *)node |
To | - (SCNVector3)convertPosition:(SCNVector3)position fromNode:(SCNNode * _Nullable)node |
Modified -[SCNNode convertPosition:toNode:]
Declaration | |
---|---|
From | - (SCNVector3)convertPosition:(SCNVector3)position toNode:(SCNNode *)node |
To | - (SCNVector3)convertPosition:(SCNVector3)position toNode:(SCNNode * _Nullable)node |
Declaration | |
---|---|
From | - (SCNMatrix4)convertTransform:(SCNMatrix4)transform fromNode:(SCNNode *)node |
To | - (SCNMatrix4)convertTransform:(SCNMatrix4)transform fromNode:(SCNNode * _Nullable)node |
Modified -[SCNNode convertTransform:toNode:]
Declaration | |
---|---|
From | - (SCNMatrix4)convertTransform:(SCNMatrix4)transform toNode:(SCNNode *)node |
To | - (SCNMatrix4)convertTransform:(SCNMatrix4)transform toNode:(SCNNode * _Nullable)node |
Declaration | |
---|---|
From | - (void)enumerateChildNodesUsingBlock:(void (^)(SCNNode *child, BOOL *stop))block |
To | - (void)enumerateChildNodesUsingBlock:(void (^ _Nonnull)(SCNNode * _Nonnull child, BOOL * _Nonnull stop))block |
Modified SCNNode.filters
Declaration | |
---|---|
From | @property(nonatomic, copy) NSArray *filters |
To | @property(nonatomic, copy, nullable) NSArray<CIFilter *> *filters |
Modified -[SCNNode flattenedClone]
Declaration | |
---|---|
From | - (SCNNode *)flattenedClone |
To | - (instancetype _Nonnull)flattenedClone |
Modified SCNNode.geometry
Declaration | |
---|---|
From | @property(nonatomic, retain) SCNGeometry *geometry |
To | @property(nonatomic, retain, nullable) SCNGeometry *geometry |
Declaration | |
---|---|
From | - (NSArray *)hitTestWithSegmentFromPoint:(SCNVector3)pointA toPoint:(SCNVector3)pointB options:(NSDictionary *)options |
To | - (NSArray<SCNHitTestResult *> * _Nonnull)hitTestWithSegmentFromPoint:(SCNVector3)pointA toPoint:(SCNVector3)pointB options:(NSDictionary<NSString *,id> * _Nullable)options |
Modified -[SCNNode insertChildNode:atIndex:]
Declaration | |
---|---|
From | - (void)insertChildNode:(SCNNode *)child atIndex:(NSUInteger)index |
To | - (void)insertChildNode:(SCNNode * _Nonnull)child atIndex:(NSUInteger)index |
Modified SCNNode.light
Declaration | |
---|---|
From | @property(nonatomic, retain) SCNLight *light |
To | @property(nonatomic, retain, nullable) SCNLight *light |
Modified SCNNode.morpher
Declaration | |
---|---|
From | @property(nonatomic, retain) SCNMorpher *morpher |
To | @property(nonatomic, retain, nullable) SCNMorpher *morpher |
Modified SCNNode.name
Declaration | |
---|---|
From | @property(nonatomic, copy) NSString *name |
To | @property(nonatomic, copy, nullable) NSString *name |
Modified +[SCNNode node]
Declaration | |
---|---|
From | + (instancetype)node |
To | + (instancetype _Nonnull)node |
Modified +[SCNNode nodeWithGeometry:]
Declaration | |
---|---|
From | + (SCNNode *)nodeWithGeometry:(SCNGeometry *)geometry |
To | + (SCNNode * _Nonnull)nodeWithGeometry:(SCNGeometry * _Nullable)geometry |
Modified SCNNode.parentNode
Declaration | |
---|---|
From | @property(nonatomic, readonly) SCNNode *parentNode |
To | @property(nonatomic, readonly, nullable) SCNNode *parentNode |
Modified SCNNode.physicsBody
Declaration | |
---|---|
From | @property(nonatomic, retain) SCNPhysicsBody *physicsBody |
To | @property(nonatomic, retain, nullable) SCNPhysicsBody *physicsBody |
Modified SCNNode.physicsField
Declaration | |
---|---|
From | @property(nonatomic, retain) SCNPhysicsField *physicsField |
To | @property(nonatomic, retain, nullable) SCNPhysicsField *physicsField |
Modified SCNNode.presentationNode
Declaration | |
---|---|
From | - (SCNNode *)presentationNode |
To | @property(nonatomic, readonly, nonnull) SCNNode *presentationNode |
Modified SCNNode.rendererDelegate
Declaration | |
---|---|
From | @property(nonatomic, assign) id<SCNNodeRendererDelegate> rendererDelegate |
To | @property(nonatomic, assign, nullable) id<SCNNodeRendererDelegate> rendererDelegate |
Modified -[SCNNode replaceChildNode:with:]
Declaration | |
---|---|
From | - (void)replaceChildNode:(SCNNode *)oldChild with:(SCNNode *)newChild |
To | - (void)replaceChildNode:(SCNNode * _Nonnull)oldChild with:(SCNNode * _Nonnull)newChild |
Modified SCNNode.skinner
Declaration | |
---|---|
From | @property(nonatomic, retain) SCNSkinner *skinner |
To | @property(nonatomic, retain, nullable) SCNSkinner *skinner |
Declaration | |
---|---|
From | - (void)renderNode:(SCNNode *)node renderer:(SCNRenderer *)renderer arguments:(NSDictionary *)arguments |
To | - (void)renderNode:(SCNNode * _Nonnull)node renderer:(SCNRenderer * _Nonnull)renderer arguments:(NSDictionary<NSString *,NSValue *> * _Nonnull)arguments |
SCNParametricGeometry.h
Declaration | |
---|---|
From | + (instancetype)boxWithWidth:(CGFloat)width height:(CGFloat)height length:(CGFloat)length chamferRadius:(CGFloat)chamferRadius |
To | + (instancetype _Nonnull)boxWithWidth:(CGFloat)width height:(CGFloat)height length:(CGFloat)length chamferRadius:(CGFloat)chamferRadius |
Declaration | |
---|---|
From | + (instancetype)capsuleWithCapRadius:(CGFloat)capRadius height:(CGFloat)height |
To | + (instancetype _Nonnull)capsuleWithCapRadius:(CGFloat)capRadius height:(CGFloat)height |
Declaration | |
---|---|
From | + (instancetype)coneWithTopRadius:(CGFloat)topRadius bottomRadius:(CGFloat)bottomRadius height:(CGFloat)height |
To | + (instancetype _Nonnull)coneWithTopRadius:(CGFloat)topRadius bottomRadius:(CGFloat)bottomRadius height:(CGFloat)height |
Declaration | |
---|---|
From | + (instancetype)cylinderWithRadius:(CGFloat)radius height:(CGFloat)height |
To | + (instancetype _Nonnull)cylinderWithRadius:(CGFloat)radius height:(CGFloat)height |
Modified +[SCNFloor floor]
Declaration | |
---|---|
From | + (instancetype)floor |
To | + (instancetype _Nonnull)floor |
Modified +[SCNPlane planeWithWidth:height:]
Declaration | |
---|---|
From | + (instancetype)planeWithWidth:(CGFloat)width height:(CGFloat)height |
To | + (instancetype _Nonnull)planeWithWidth:(CGFloat)width height:(CGFloat)height |
Declaration | |
---|---|
From | + (instancetype)pyramidWithWidth:(CGFloat)width height:(CGFloat)height length:(CGFloat)length |
To | + (instancetype _Nonnull)pyramidWithWidth:(CGFloat)width height:(CGFloat)height length:(CGFloat)length |
Modified SCNShape.chamferProfile
Declaration | |
---|---|
From | @property(nonatomic, copy) NSBezierPath *chamferProfile |
To | @property(nonatomic, copy, nullable) NSBezierPath *chamferProfile |
Modified SCNShape.path
Declaration | |
---|---|
From | @property(nonatomic, copy) NSBezierPath *path |
To | @property(nonatomic, copy, nullable) NSBezierPath *path |
Declaration | |
---|---|
From | + (instancetype)shapeWithPath:(NSBezierPath *)path extrusionDepth:(CGFloat)extrusionDepth |
To | + (instancetype _Nonnull)shapeWithPath:(NSBezierPath * _Nullable)path extrusionDepth:(CGFloat)extrusionDepth |
Modified +[SCNSphere sphereWithRadius:]
Declaration | |
---|---|
From | + (instancetype)sphereWithRadius:(CGFloat)radius |
To | + (instancetype _Nonnull)sphereWithRadius:(CGFloat)radius |
Modified SCNText.alignmentMode
Declaration | |
---|---|
From | @property(nonatomic, copy) NSString *alignmentMode |
To | @property(nonatomic, copy, nonnull) NSString *alignmentMode |
Modified SCNText.chamferProfile
Declaration | |
---|---|
From | @property(nonatomic, copy) NSBezierPath *chamferProfile |
To | @property(nonatomic, copy, nullable) NSBezierPath *chamferProfile |
Modified SCNText.font
Declaration | |
---|---|
From | @property(nonatomic, retain) NSFont *font |
To | @property(nonatomic, retain) NSFont * _Null_unspecified font |
Modified SCNText.string
Declaration | |
---|---|
From | @property(nonatomic, copy) id string |
To | @property(nonatomic, copy, nullable) id string |
Declaration | |
---|---|
From | + (instancetype)textWithString:(id)string extrusionDepth:(CGFloat)extrusionDepth |
To | + (instancetype _Nonnull)textWithString:(id _Nullable)string extrusionDepth:(CGFloat)extrusionDepth |
Modified SCNText.truncationMode
Declaration | |
---|---|
From | @property(nonatomic, copy) NSString *truncationMode |
To | @property(nonatomic, copy, nonnull) NSString *truncationMode |
Declaration | |
---|---|
From | + (instancetype)torusWithRingRadius:(CGFloat)ringRadius pipeRadius:(CGFloat)pipeRadius |
To | + (instancetype _Nonnull)torusWithRingRadius:(CGFloat)ringRadius pipeRadius:(CGFloat)pipeRadius |
Declaration | |
---|---|
From | + (instancetype)tubeWithInnerRadius:(CGFloat)innerRadius outerRadius:(CGFloat)outerRadius height:(CGFloat)height |
To | + (instancetype _Nonnull)tubeWithInnerRadius:(CGFloat)innerRadius outerRadius:(CGFloat)outerRadius height:(CGFloat)height |
SCNParticleSystem.h
Modified -[SCNNode addParticleSystem:]
Declaration | |
---|---|
From | - (void)addParticleSystem:(SCNParticleSystem *)system |
To | - (void)addParticleSystem:(SCNParticleSystem * _Nonnull)system |
Modified SCNNode.particleSystems
Declaration | |
---|---|
From | @property(readonly) NSArray *particleSystems |
To | @property(readonly, nullable) NSArray<SCNParticleSystem *> *particleSystems |
Modified -[SCNNode removeParticleSystem:]
Declaration | |
---|---|
From | - (void)removeParticleSystem:(SCNParticleSystem *)system |
To | - (void)removeParticleSystem:(SCNParticleSystem * _Nonnull)system |
Declaration | |
---|---|
From | @property(nonatomic, retain) CAAnimation *animation |
To | @property(nonatomic, retain, nonnull) CAAnimation *animation |
Declaration | |
---|---|
From | + (instancetype)controllerWithAnimation:(CAAnimation *)animation |
To | + (instancetype _Nonnull)controllerWithAnimation:(CAAnimation * _Nonnull)animation |
Declaration | |
---|---|
From | @property(nonatomic, weak) SCNNode *inputOrigin |
To | @property(nonatomic, weak, nullable) SCNNode *inputOrigin |
Declaration | |
---|---|
From | @property(nonatomic, copy) NSString *inputProperty |
To | @property(nonatomic, copy, nullable) NSString *inputProperty |
Declaration | |
---|---|
From | - (void)addModifierForProperties:(NSArray *)properties atStage:(SCNParticleModifierStage)stage withBlock:(SCNParticleModifierBlock)block |
To | - (void)addModifierForProperties:(NSArray<NSString *> * _Nonnull)properties atStage:(SCNParticleModifierStage)stage withBlock:(SCNParticleModifierBlock _Nonnull)block |
Modified SCNParticleSystem.colliderNodes
Declaration | |
---|---|
From | @property(nonatomic, copy) NSArray *colliderNodes |
To | @property(nonatomic, copy, nullable) NSArray<SCNNode *> *colliderNodes |
Modified SCNParticleSystem.emitterShape
Declaration | |
---|---|
From | @property(nonatomic, retain) SCNGeometry *emitterShape |
To | @property(nonatomic, retain, nullable) SCNGeometry *emitterShape |
Declaration | |
---|---|
From | - (void)handleEvent:(SCNParticleEvent)event forProperties:(NSArray *)properties withBlock:(SCNParticleEventBlock)block |
To | - (void)handleEvent:(SCNParticleEvent)event forProperties:(NSArray<NSString *> * _Nonnull)properties withBlock:(SCNParticleEventBlock _Nonnull)block |
Modified SCNParticleSystem.particleColor
Declaration | |
---|---|
From | @property(nonatomic, retain) NSColor *particleColor |
To | @property(nonatomic, retain, nonnull) NSColor *particleColor |
Modified SCNParticleSystem.particleImage
Declaration | |
---|---|
From | @property(nonatomic, retain) id particleImage |
To | @property(nonatomic, retain, nullable) id particleImage |
Modified +[SCNParticleSystem particleSystem]
Declaration | |
---|---|
From | + (instancetype)particleSystem |
To | + (instancetype _Nonnull)particleSystem |
Declaration | |
---|---|
From | + (instancetype)particleSystemNamed:(NSString *)name inDirectory:(NSString *)directory |
To | + (instancetype _Nullable)particleSystemNamed:(NSString * _Nonnull)name inDirectory:(NSString * _Nullable)directory |
Declaration | |
---|---|
From | @property(nonatomic, copy) NSDictionary *propertyControllers |
To | @property(nonatomic, copy, nullable) NSDictionary<NSString *,SCNParticlePropertyController *> *propertyControllers |
Declaration | |
---|---|
From | @property(nonatomic, retain) SCNParticleSystem *systemSpawnedOnCollision |
To | @property(nonatomic, retain, nullable) SCNParticleSystem *systemSpawnedOnCollision |
Declaration | |
---|---|
From | @property(nonatomic, retain) SCNParticleSystem *systemSpawnedOnDying |
To | @property(nonatomic, retain, nullable) SCNParticleSystem *systemSpawnedOnDying |
Declaration | |
---|---|
From | @property(nonatomic, retain) SCNParticleSystem *systemSpawnedOnLiving |
To | @property(nonatomic, retain, nullable) SCNParticleSystem *systemSpawnedOnLiving |
Declaration | |
---|---|
From | - (void)addParticleSystem:(SCNParticleSystem *)system withTransform:(SCNMatrix4)transform |
To | - (void)addParticleSystem:(SCNParticleSystem * _Nonnull)system withTransform:(SCNMatrix4)transform |
Modified SCNScene.particleSystems
Declaration | |
---|---|
From | @property(readonly) NSArray *particleSystems |
To | @property(readonly, nullable) NSArray<SCNParticleSystem *> *particleSystems |
Modified -[SCNScene removeParticleSystem:]
Declaration | |
---|---|
From | - (void)removeParticleSystem:(SCNParticleSystem *)system |
To | - (void)removeParticleSystem:(SCNParticleSystem * _Nonnull)system |
SCNPhysicsBehavior.h
Modified SCNPhysicsBallSocketJoint.bodyA
Declaration | |
---|---|
From | @property(nonatomic, readonly) SCNPhysicsBody *bodyA |
To | @property(nonatomic, readonly, nonnull) SCNPhysicsBody *bodyA |
Modified SCNPhysicsBallSocketJoint.bodyB
Declaration | |
---|---|
From | @property(nonatomic, readonly) SCNPhysicsBody *bodyB |
To | @property(nonatomic, readonly, nullable) SCNPhysicsBody *bodyB |
Declaration | |
---|---|
From | + (instancetype)jointWithBody:(SCNPhysicsBody *)body anchor:(SCNVector3)anchor |
To | + (instancetype _Nonnull)jointWithBody:(SCNPhysicsBody * _Nonnull)body anchor:(SCNVector3)anchor |
Declaration | |
---|---|
From | + (instancetype)jointWithBodyA:(SCNPhysicsBody *)bodyA anchorA:(SCNVector3)anchorA bodyB:(SCNPhysicsBody *)bodyB anchorB:(SCNVector3)anchorB |
To | + (instancetype _Nonnull)jointWithBodyA:(SCNPhysicsBody * _Nonnull)bodyA anchorA:(SCNVector3)anchorA bodyB:(SCNPhysicsBody * _Nonnull)bodyB anchorB:(SCNVector3)anchorB |
Modified SCNPhysicsHingeJoint.bodyA
Declaration | |
---|---|
From | @property(nonatomic, readonly) SCNPhysicsBody *bodyA |
To | @property(nonatomic, readonly, nonnull) SCNPhysicsBody *bodyA |
Modified SCNPhysicsHingeJoint.bodyB
Declaration | |
---|---|
From | @property(nonatomic, readonly) SCNPhysicsBody *bodyB |
To | @property(nonatomic, readonly, nullable) SCNPhysicsBody *bodyB |
Declaration | |
---|---|
From | + (instancetype)jointWithBody:(SCNPhysicsBody *)body axis:(SCNVector3)axis anchor:(SCNVector3)anchor |
To | + (instancetype _Nonnull)jointWithBody:(SCNPhysicsBody * _Nonnull)body axis:(SCNVector3)axis anchor:(SCNVector3)anchor |
Declaration | |
---|---|
From | + (instancetype)jointWithBodyA:(SCNPhysicsBody *)bodyA axisA:(SCNVector3)axisA anchorA:(SCNVector3)anchorA bodyB:(SCNPhysicsBody *)bodyB axisB:(SCNVector3)axisB anchorB:(SCNVector3)anchorB |
To | + (instancetype _Nonnull)jointWithBodyA:(SCNPhysicsBody * _Nonnull)bodyA axisA:(SCNVector3)axisA anchorA:(SCNVector3)anchorA bodyB:(SCNPhysicsBody * _Nonnull)bodyB axisB:(SCNVector3)axisB anchorB:(SCNVector3)anchorB |
Modified SCNPhysicsSliderJoint.bodyA
Declaration | |
---|---|
From | @property(nonatomic, readonly) SCNPhysicsBody *bodyA |
To | @property(nonatomic, readonly, nonnull) SCNPhysicsBody *bodyA |
Modified SCNPhysicsSliderJoint.bodyB
Declaration | |
---|---|
From | @property(nonatomic, readonly) SCNPhysicsBody *bodyB |
To | @property(nonatomic, readonly, nullable) SCNPhysicsBody *bodyB |
Declaration | |
---|---|
From | + (instancetype)jointWithBody:(SCNPhysicsBody *)body axis:(SCNVector3)axis anchor:(SCNVector3)anchor |
To | + (instancetype _Nonnull)jointWithBody:(SCNPhysicsBody * _Nonnull)body axis:(SCNVector3)axis anchor:(SCNVector3)anchor |
Declaration | |
---|---|
From | + (instancetype)jointWithBodyA:(SCNPhysicsBody *)bodyA axisA:(SCNVector3)axisA anchorA:(SCNVector3)anchorA bodyB:(SCNPhysicsBody *)bodyB axisB:(SCNVector3)axisB anchorB:(SCNVector3)anchorB |
To | + (instancetype _Nonnull)jointWithBodyA:(SCNPhysicsBody * _Nonnull)bodyA axisA:(SCNVector3)axisA anchorA:(SCNVector3)anchorA bodyB:(SCNPhysicsBody * _Nonnull)bodyB axisB:(SCNVector3)axisB anchorB:(SCNVector3)anchorB |
Modified SCNPhysicsVehicle.chassisBody
Declaration | |
---|---|
From | @property(nonatomic, readonly) SCNPhysicsBody *chassisBody |
To | @property(nonatomic, readonly, nonnull) SCNPhysicsBody *chassisBody |
Declaration | |
---|---|
From | + (instancetype)vehicleWithChassisBody:(SCNPhysicsBody *)chassisBody wheels:(NSArray *)wheels |
To | + (instancetype _Nonnull)vehicleWithChassisBody:(SCNPhysicsBody * _Nonnull)chassisBody wheels:(NSArray<SCNPhysicsVehicleWheel *> * _Nonnull)wheels |
Modified SCNPhysicsVehicle.wheels
Declaration | |
---|---|
From | @property(nonatomic, readonly) NSArray *wheels |
To | @property(nonatomic, readonly, nonnull) NSArray<SCNPhysicsVehicleWheel *> *wheels |
Modified SCNPhysicsVehicleWheel.node
Declaration | |
---|---|
From | @property(readonly) SCNNode *node |
To | @property(readonly, nonnull) SCNNode *node |
Declaration | |
---|---|
From | + (instancetype)wheelWithNode:(SCNNode *)node |
To | + (instancetype _Nonnull)wheelWithNode:(SCNNode * _Nonnull)node |
SCNPhysicsBody.h
Declaration | |
---|---|
From | + (instancetype)bodyWithType:(SCNPhysicsBodyType)type shape:(SCNPhysicsShape *)shape |
To | + (instancetype _Nonnull)bodyWithType:(SCNPhysicsBodyType)type shape:(SCNPhysicsShape * _Nullable)shape |
Modified SCNPhysicsBody.categoryBitMask
Declaration | |
---|---|
From | @property(nonatomic, assign) NSUInteger categoryBitMask |
To | @property(nonatomic) NSUInteger categoryBitMask |
Modified SCNPhysicsBody.collisionBitMask
Declaration | |
---|---|
From | @property(nonatomic, assign) NSUInteger collisionBitMask |
To | @property(nonatomic) NSUInteger collisionBitMask |
Modified +[SCNPhysicsBody dynamicBody]
Declaration | |
---|---|
From | + (instancetype)dynamicBody |
To | + (instancetype _Nonnull)dynamicBody |
Modified +[SCNPhysicsBody kinematicBody]
Declaration | |
---|---|
From | + (instancetype)kinematicBody |
To | + (instancetype _Nonnull)kinematicBody |
Modified SCNPhysicsBody.physicsShape
Declaration | |
---|---|
From | @property(nonatomic, retain) SCNPhysicsShape *physicsShape |
To | @property(nonatomic, retain, nullable) SCNPhysicsShape *physicsShape |
Modified +[SCNPhysicsBody staticBody]
Declaration | |
---|---|
From | + (instancetype)staticBody |
To | + (instancetype _Nonnull)staticBody |
SCNPhysicsContact.h
Modified SCNPhysicsContact.nodeA
Declaration | |
---|---|
From | @property(nonatomic, readonly) SCNNode *nodeA |
To | @property(nonatomic, readonly, nonnull) SCNNode *nodeA |
Modified SCNPhysicsContact.nodeB
Declaration | |
---|---|
From | @property(nonatomic, readonly) SCNNode *nodeB |
To | @property(nonatomic, readonly, nonnull) SCNNode *nodeB |
SCNPhysicsField.h
Declaration | |
---|---|
From | + (SCNPhysicsField *)customFieldWithEvaluationBlock:(SCNFieldForceEvaluator)block |
To | + (SCNPhysicsField * _Nonnull)customFieldWithEvaluationBlock:(SCNFieldForceEvaluator _Nonnull)block |
Modified +[SCNPhysicsField dragField]
Declaration | |
---|---|
From | + (SCNPhysicsField *)dragField |
To | + (SCNPhysicsField * _Nonnull)dragField |
Modified +[SCNPhysicsField electricField]
Declaration | |
---|---|
From | + (SCNPhysicsField *)electricField |
To | + (SCNPhysicsField * _Nonnull)electricField |
Declaration | |
---|---|
From | + (SCNPhysicsField *)linearGravityField |
To | + (SCNPhysicsField * _Nonnull)linearGravityField |
Modified +[SCNPhysicsField magneticField]
Declaration | |
---|---|
From | + (SCNPhysicsField *)magneticField |
To | + (SCNPhysicsField * _Nonnull)magneticField |
Declaration | |
---|---|
From | + (SCNPhysicsField *)noiseFieldWithSmoothness:(CGFloat)smoothness animationSpeed:(CGFloat)speed |
To | + (SCNPhysicsField * _Nonnull)noiseFieldWithSmoothness:(CGFloat)smoothness animationSpeed:(CGFloat)speed |
Declaration | |
---|---|
From | + (SCNPhysicsField *)radialGravityField |
To | + (SCNPhysicsField * _Nonnull)radialGravityField |
Modified +[SCNPhysicsField springField]
Declaration | |
---|---|
From | + (SCNPhysicsField *)springField |
To | + (SCNPhysicsField * _Nonnull)springField |
Declaration | |
---|---|
From | + (SCNPhysicsField *)turbulenceFieldWithSmoothness:(CGFloat)smoothness animationSpeed:(CGFloat)speed |
To | + (SCNPhysicsField * _Nonnull)turbulenceFieldWithSmoothness:(CGFloat)smoothness animationSpeed:(CGFloat)speed |
Modified +[SCNPhysicsField vortexField]
Declaration | |
---|---|
From | + (SCNPhysicsField *)vortexField |
To | + (SCNPhysicsField * _Nonnull)vortexField |
SCNPhysicsShape.h
Declaration | |
---|---|
From | + (instancetype)shapeWithGeometry:(SCNGeometry *)geometry options:(NSDictionary *)options |
To | + (instancetype _Nonnull)shapeWithGeometry:(SCNGeometry * _Nonnull)geometry options:(NSDictionary<NSString *,id> * _Nullable)options |
Declaration | |
---|---|
From | + (instancetype)shapeWithNode:(SCNNode *)node options:(NSDictionary *)options |
To | + (instancetype _Nonnull)shapeWithNode:(SCNNode * _Nonnull)node options:(NSDictionary<NSString *,id> * _Nullable)options |
Declaration | |
---|---|
From | + (instancetype)shapeWithShapes:(NSArray *)shapes transforms:(NSArray *)transforms |
To | + (instancetype _Nonnull)shapeWithShapes:(NSArray<SCNPhysicsShape *> * _Nonnull)shapes transforms:(NSArray<NSValue *> * _Nullable)transforms |
SCNPhysicsWorld.h
Declaration | |
---|---|
From | - (void)physicsWorld:(SCNPhysicsWorld *)world didBeginContact:(SCNPhysicsContact *)contact |
To | - (void)physicsWorld:(SCNPhysicsWorld * _Nonnull)world didBeginContact:(SCNPhysicsContact * _Nonnull)contact |
Declaration | |
---|---|
From | - (void)physicsWorld:(SCNPhysicsWorld *)world didEndContact:(SCNPhysicsContact *)contact |
To | - (void)physicsWorld:(SCNPhysicsWorld * _Nonnull)world didEndContact:(SCNPhysicsContact * _Nonnull)contact |
Declaration | |
---|---|
From | - (void)physicsWorld:(SCNPhysicsWorld *)world didUpdateContact:(SCNPhysicsContact *)contact |
To | - (void)physicsWorld:(SCNPhysicsWorld * _Nonnull)world didUpdateContact:(SCNPhysicsContact * _Nonnull)contact |
Modified -[SCNPhysicsWorld addBehavior:]
Declaration | |
---|---|
From | - (void)addBehavior:(SCNPhysicsBehavior *)behavior |
To | - (void)addBehavior:(SCNPhysicsBehavior * _Nonnull)behavior |
Modified SCNPhysicsWorld.allBehaviors
Declaration | |
---|---|
From | - (NSArray *)allBehaviors |
To | @property(nonatomic, readonly, nonnull) NSArray<SCNPhysicsBehavior *> *allBehaviors |
Modified SCNPhysicsWorld.contactDelegate
Declaration | |
---|---|
From | @property(atomic, assign) id<SCNPhysicsContactDelegate> contactDelegate |
To | @property(atomic, assign, nullable) id<SCNPhysicsContactDelegate> contactDelegate |
Declaration | |
---|---|
From | - (NSArray *)contactTestBetweenBody:(SCNPhysicsBody *)bodyA andBody:(SCNPhysicsBody *)bodyB options:(NSDictionary *)options |
To | - (NSArray<SCNPhysicsContact *> * _Nonnull)contactTestBetweenBody:(SCNPhysicsBody * _Nonnull)bodyA andBody:(SCNPhysicsBody * _Nonnull)bodyB options:(NSDictionary<NSString *,id> * _Nullable)options |
Declaration | |
---|---|
From | - (NSArray *)contactTestWithBody:(SCNPhysicsBody *)body options:(NSDictionary *)options |
To | - (NSArray<SCNPhysicsContact *> * _Nonnull)contactTestWithBody:(SCNPhysicsBody * _Nonnull)body options:(NSDictionary<NSString *,id> * _Nullable)options |
Declaration | |
---|---|
From | - (NSArray *)convexSweepTestWithShape:(SCNPhysicsShape *)shape fromTransform:(SCNMatrix4)from toTransform:(SCNMatrix4)to options:(NSDictionary *)options |
To | - (NSArray<SCNPhysicsContact *> * _Nonnull)convexSweepTestWithShape:(SCNPhysicsShape * _Nonnull)shape fromTransform:(SCNMatrix4)from toTransform:(SCNMatrix4)to options:(NSDictionary<NSString *,id> * _Nullable)options |
Declaration | |
---|---|
From | - (NSArray *)rayTestWithSegmentFromPoint:(SCNVector3)origin toPoint:(SCNVector3)dest options:(NSDictionary *)options |
To | - (NSArray<SCNHitTestResult *> * _Nonnull)rayTestWithSegmentFromPoint:(SCNVector3)origin toPoint:(SCNVector3)dest options:(NSDictionary<NSString *,id> * _Nullable)options |
Modified -[SCNPhysicsWorld removeBehavior:]
Declaration | |
---|---|
From | - (void)removeBehavior:(SCNPhysicsBehavior *)behavior |
To | - (void)removeBehavior:(SCNPhysicsBehavior * _Nonnull)behavior |
SCNReferenceNode.h (Added)
SCNRenderer.h
Modified -[SCNRenderer render]
Deprecation | |
---|---|
From | -- |
To | OS X 10.11 |
Declaration | |
---|---|
From | + (instancetype)rendererWithContext:(void *)context options:(NSDictionary *)options |
To | + (instancetype _Nonnull)rendererWithContext:(CGLContextObj _Nonnull)context options:(NSDictionary * _Nullable)options |
Modified SCNRenderer.scene
Declaration | |
---|---|
From | @property(nonatomic, retain) SCNScene *scene |
To | @property(nonatomic, retain, nullable) SCNScene *scene |
SCNScene.h
Modified -[SCNScene attributeForKey:]
Declaration | |
---|---|
From | - (id)attributeForKey:(NSString *)key |
To | - (id _Nullable)attributeForKey:(NSString * _Nonnull)key |
Modified SCNScene.background
Declaration | |
---|---|
From | @property(nonatomic, readonly) SCNMaterialProperty *background |
To | @property(nonatomic, readonly, nonnull) SCNMaterialProperty *background |
Modified SCNScene.fogColor
Declaration | |
---|---|
From | @property(nonatomic, retain) id fogColor |
To | @property(nonatomic, retain, nonnull) id fogColor |
Modified SCNScene.physicsWorld
Declaration | |
---|---|
From | @property(nonatomic, readonly) SCNPhysicsWorld *physicsWorld |
To | @property(nonatomic, readonly, nonnull) SCNPhysicsWorld *physicsWorld |
Modified SCNScene.rootNode
Declaration | |
---|---|
From | @property(nonatomic, readonly) SCNNode *rootNode |
To | @property(nonatomic, readonly, nonnull) SCNNode *rootNode |
Modified +[SCNScene scene]
Declaration | |
---|---|
From | + (instancetype)scene |
To | + (instancetype _Nonnull)scene |
Modified +[SCNScene sceneNamed:]
Declaration | |
---|---|
From | + (instancetype)sceneNamed:(NSString *)name |
To | + (instancetype _Nullable)sceneNamed:(NSString * _Nonnull)name |
Declaration | |
---|---|
From | + (instancetype)sceneNamed:(NSString *)name inDirectory:(NSString *)directory options:(NSDictionary *)options |
To | + (instancetype _Nullable)sceneNamed:(NSString * _Nonnull)name inDirectory:(NSString * _Nullable)directory options:(NSDictionary<NSString *,id> * _Nullable)options |
Declaration | |
---|---|
From | + (instancetype)sceneWithURL:(NSURL *)url options:(NSDictionary *)options error:(NSError **)error |
To | + (instancetype _Nullable)sceneWithURL:(NSURL * _Nonnull)url options:(NSDictionary<NSString *,id> * _Nullable)options error:(NSError * _Nullable * _Nullable)error |
Modified -[SCNScene setAttribute:forKey:]
Declaration | |
---|---|
From | - (void)setAttribute:(id)attribute forKey:(NSString *)key |
To | - (void)setAttribute:(id _Nullable)attribute forKey:(NSString * _Nonnull)key |
Declaration | |
---|---|
From | - (BOOL)writeToURL:(NSURL *)url options:(NSDictionary *)options delegate:(id<SCNSceneExportDelegate>)delegate progressHandler:(SCNSceneExportProgressHandler)progressHandler |
To | - (BOOL)writeToURL:(NSURL * _Nonnull)url options:(NSDictionary<NSString *,id> * _Nullable)options delegate:(id<SCNSceneExportDelegate> _Nullable)delegate progressHandler:(SCNSceneExportProgressHandler _Nullable)progressHandler |
Declaration | |
---|---|
From | - (NSURL *)writeImage:(NSImage *)image withSceneDocumentURL:(NSURL *)documentURL originalImageURL:(NSURL *)originalImageURL |
To | - (NSURL * _Nullable)writeImage:(NSImage * _Nonnull)image withSceneDocumentURL:(NSURL * _Nonnull)documentURL originalImageURL:(NSURL * _Nullable)originalImageURL |
SCNSceneRenderer.h
Added SCNSceneRenderer.device
Added SCNDebugOptionNone
Added SCNDebugOptions
Added SCNRenderingAPI
Added SCNRenderingAPIMetal
Modified SCNHitTestResult.node
Declaration | |
---|---|
From | @property(nonatomic, readonly) SCNNode *node |
To | @property(nonatomic, readonly, nonnull) SCNNode *node |
Modified SCNSceneRenderer.context
Declaration | |
---|---|
From | @property(nonatomic, readonly) void *context |
To | @property(nonatomic, readonly, nullable) void *context |
Modified SCNSceneRenderer.delegate
Declaration | |
---|---|
From | @property(nonatomic, assign) id<SCNSceneRendererDelegate> delegate |
To | @property(nonatomic, assign, nullable) id<SCNSceneRendererDelegate> delegate |
Modified -[SCNSceneRenderer hitTest:options:]
Declaration | |
---|---|
From | - (NSArray *)hitTest:(CGPoint)thePoint options:(NSDictionary *)options |
To | - (NSArray<SCNHitTestResult *> * _Nonnull)hitTest:(CGPoint)point options:(NSDictionary<NSString *,id> * _Nullable)options |
Declaration | |
---|---|
From | - (BOOL)isNodeInsideFrustum:(SCNNode *)node withPointOfView:(SCNNode *)pointOfView |
To | - (BOOL)isNodeInsideFrustum:(SCNNode * _Nonnull)node withPointOfView:(SCNNode * _Nonnull)pointOfView |
Modified SCNSceneRenderer.overlaySKScene
Declaration | |
---|---|
From | @property(nonatomic, retain) SKScene *overlaySKScene |
To | @property(nonatomic, retain, nullable) SKScene *overlaySKScene |
Modified SCNSceneRenderer.pointOfView
Declaration | |
---|---|
From | @property(nonatomic, retain) SCNNode *pointOfView |
To | @property(nonatomic, retain, nullable) SCNNode *pointOfView |
Declaration | |
---|---|
From | - (BOOL)prepareObject:(id)object shouldAbortBlock:(BOOL (^)(void))block |
To | - (BOOL)prepareObject:(id _Nonnull)object shouldAbortBlock:(BOOL (^ _Nullable)(void))block |
Declaration | |
---|---|
From | - (void)prepareObjects:(NSArray *)objects withCompletionHandler:(void (^)(BOOL success))completionHandler |
To | - (void)prepareObjects:(NSArray * _Nonnull)objects withCompletionHandler:(void (^ _Nullable)(BOOL success))completionHandler |
Modified SCNSceneRenderer.scene
Declaration | |
---|---|
From | @property(nonatomic, retain) SCNScene *scene |
To | @property(nonatomic, retain, nullable) SCNScene *scene |
Declaration | |
---|---|
From | - (void)renderer:(id<SCNSceneRenderer>)aRenderer didApplyAnimationsAtTime:(NSTimeInterval)time |
To | - (void)renderer:(id<SCNSceneRenderer> _Nonnull)renderer didApplyAnimationsAtTime:(NSTimeInterval)time |
Declaration | |
---|---|
From | - (void)renderer:(id<SCNSceneRenderer>)aRenderer didRenderScene:(SCNScene *)scene atTime:(NSTimeInterval)time |
To | - (void)renderer:(id<SCNSceneRenderer> _Nonnull)renderer didRenderScene:(SCNScene * _Nonnull)scene atTime:(NSTimeInterval)time |
Declaration | |
---|---|
From | - (void)renderer:(id<SCNSceneRenderer>)aRenderer didSimulatePhysicsAtTime:(NSTimeInterval)time |
To | - (void)renderer:(id<SCNSceneRenderer> _Nonnull)renderer didSimulatePhysicsAtTime:(NSTimeInterval)time |
Declaration | |
---|---|
From | - (void)renderer:(id<SCNSceneRenderer>)aRenderer updateAtTime:(NSTimeInterval)time |
To | - (void)renderer:(id<SCNSceneRenderer> _Nonnull)renderer updateAtTime:(NSTimeInterval)time |
Declaration | |
---|---|
From | - (void)renderer:(id<SCNSceneRenderer>)aRenderer willRenderScene:(SCNScene *)scene atTime:(NSTimeInterval)time |
To | - (void)renderer:(id<SCNSceneRenderer> _Nonnull)renderer willRenderScene:(SCNScene * _Nonnull)scene atTime:(NSTimeInterval)time |
SCNSceneSource.h
Modified SCNSceneSource.data
Declaration | |
---|---|
From | @property(readonly) NSData *data |
To | @property(readonly, nullable) NSData *data |
Declaration | |
---|---|
From | - (NSArray *)entriesPassingTest:(BOOL (^)(id entry, NSString *identifier, BOOL *stop))predicate |
To | - (NSArray<id> * _Nonnull)entriesPassingTest:(BOOL (^ _Nonnull)(id _Nonnull entry, NSString * _Nonnull identifier, BOOL * _Nonnull stop))predicate |
Declaration | |
---|---|
From | - (id)entryWithIdentifier:(NSString *)uid withClass:(Class)entryClass |
To | - (id _Nullable)entryWithIdentifier:(NSString * _Nonnull)uid withClass:(Class _Nonnull)entryClass |
Declaration | |
---|---|
From | - (NSArray *)identifiersOfEntriesWithClass:(Class)entryClass |
To | - (NSArray<NSString *> * _Nonnull)identifiersOfEntriesWithClass:(Class _Nonnull)entryClass |
Declaration | |
---|---|
From | - (id)initWithData:(NSData *)data options:(NSDictionary *)options |
To | - (instancetype _Nullable)initWithData:(NSData * _Nonnull)data options:(NSDictionary<NSString *,id> * _Nullable)options |
Declaration | |
---|---|
From | - (id)initWithURL:(NSURL *)url options:(NSDictionary *)options |
To | - (instancetype _Nullable)initWithURL:(NSURL * _Nonnull)url options:(NSDictionary<NSString *,id> * _Nullable)options |
Modified -[SCNSceneSource propertyForKey:]
Declaration | |
---|---|
From | - (id)propertyForKey:(NSString *)key |
To | - (id _Nullable)propertyForKey:(NSString * _Nonnull)key |
Declaration | |
---|---|
From | + (instancetype)sceneSourceWithData:(NSData *)data options:(NSDictionary *)options |
To | + (instancetype _Nullable)sceneSourceWithData:(NSData * _Nonnull)data options:(NSDictionary<NSString *,id> * _Nullable)options |
Declaration | |
---|---|
From | + (instancetype)sceneSourceWithURL:(NSURL *)url options:(NSDictionary *)options |
To | + (instancetype _Nullable)sceneSourceWithURL:(NSURL * _Nonnull)url options:(NSDictionary<NSString *,id> * _Nullable)options |
Declaration | |
---|---|
From | - (SCNScene *)sceneWithOptions:(NSDictionary *)options error:(NSError **)error |
To | - (SCNScene * _Nullable)sceneWithOptions:(NSDictionary<NSString *,id> * _Nullable)options error:(NSError * _Nullable * _Nullable)error |
Declaration | |
---|---|
From | - (SCNScene *)sceneWithOptions:(NSDictionary *)options statusHandler:(SCNSceneSourceStatusHandler)statusHandler |
To | - (SCNScene * _Nullable)sceneWithOptions:(NSDictionary<NSString *,id> * _Nullable)options statusHandler:(SCNSceneSourceStatusHandler _Nullable)statusHandler |
Modified SCNSceneSource.url
Declaration | |
---|---|
From | @property(readonly) NSURL *url |
To | @property(readonly, nullable) NSURL *url |
SCNShadable.h
Modified SCNProgram.delegate
Declaration | |
---|---|
From | @property(nonatomic, assign) id<SCNProgramDelegate> delegate |
To | @property(nonatomic, assign, nullable) id<SCNProgramDelegate> delegate |
Modified SCNProgram.fragmentShader
Declaration | |
---|---|
From | @property(nonatomic, copy) NSString *fragmentShader |
To | @property(nonatomic, copy, nullable) NSString *fragmentShader |
Modified SCNProgram.geometryShader
Declaration | |
---|---|
From | @property(nonatomic, copy) NSString *geometryShader |
To | @property(nonatomic, copy, nullable) NSString *geometryShader |
Modified +[SCNProgram program]
Declaration | |
---|---|
From | + (instancetype)program |
To | + (instancetype _Nonnull)program |
Modified -[SCNProgram semanticForSymbol:]
Declaration | |
---|---|
From | - (NSString *)semanticForSymbol:(NSString *)symbol |
To | - (NSString * _Nullable)semanticForSymbol:(NSString * _Nonnull)symbol |
Declaration | |
---|---|
From | - (void)setSemantic:(NSString *)semantic forSymbol:(NSString *)symbol options:(NSDictionary *)options |
To | - (void)setSemantic:(NSString * _Nullable)semantic forSymbol:(NSString * _Nonnull)symbol options:(NSDictionary<NSString *,id> * _Nullable)options |
Modified SCNProgram.tessellationControlShader
Declaration | |
---|---|
From | @property(nonatomic, copy) NSString *tessellationControlShader |
To | @property(nonatomic, copy, nullable) NSString *tessellationControlShader |
Declaration | |
---|---|
From | @property(nonatomic, copy) NSString *tessellationEvaluationShader |
To | @property(nonatomic, copy, nullable) NSString *tessellationEvaluationShader |
Modified SCNProgram.vertexShader
Declaration | |
---|---|
From | @property(nonatomic, copy) NSString *vertexShader |
To | @property(nonatomic, copy, nullable) NSString *vertexShader |
Declaration | |
---|---|
From | - (BOOL)program:(SCNProgram *)program bindValueForSymbol:(NSString *)symbol atLocation:(unsigned int)location programID:(unsigned int)programID renderer:(SCNRenderer *)renderer |
To | - (BOOL)program:(SCNProgram * _Nonnull)program bindValueForSymbol:(NSString * _Nonnull)symbol atLocation:(unsigned int)location programID:(unsigned int)programID renderer:(SCNRenderer * _Nonnull)renderer |
Declaration | |
---|---|
From | - (void)program:(SCNProgram *)program handleError:(NSError *)error |
To | - (void)program:(SCNProgram * _Nonnull)program handleError:(NSError * _Nonnull)error |
Declaration | |
---|---|
From | - (void)program:(SCNProgram *)program unbindValueForSymbol:(NSString *)symbol atLocation:(unsigned int)location programID:(unsigned int)programID renderer:(SCNRenderer *)renderer |
To | - (void)program:(SCNProgram * _Nonnull)program unbindValueForSymbol:(NSString * _Nonnull)symbol atLocation:(unsigned int)location programID:(unsigned int)programID renderer:(SCNRenderer * _Nonnull)renderer |
Declaration | |
---|---|
From | - (BOOL)programIsOpaque:(SCNProgram *)program |
To | - (BOOL)programIsOpaque:(SCNProgram * _Nonnull)program |
Declaration | |
---|---|
From | - (void)handleBindingOfSymbol:(NSString *)symbol usingBlock:(SCNBindingBlock)block |
To | - (void)handleBindingOfSymbol:(NSString * _Nonnull)symbol usingBlock:(SCNBindingBlock _Nullable)block |
Declaration | |
---|---|
From | - (void)handleUnbindingOfSymbol:(NSString *)symbol usingBlock:(SCNBindingBlock)block |
To | - (void)handleUnbindingOfSymbol:(NSString * _Nonnull)symbol usingBlock:(SCNBindingBlock _Nullable)block |
Modified SCNShadable.program
Declaration | |
---|---|
From | @property(nonatomic, retain) SCNProgram *program |
To | @property(nonatomic, retain, nullable) SCNProgram *program |
Modified SCNShadable.shaderModifiers
Declaration | |
---|---|
From | @property(nonatomic, copy) NSDictionary *shaderModifiers |
To | @property(nonatomic, copy, nullable) NSDictionary<NSString *,NSString *> *shaderModifiers |
SCNSkinner.h
Modified SCNSkinner.baseGeometry
Declaration | |
---|---|
From | @property(retain, nonatomic) SCNGeometry *baseGeometry |
To | @property(retain, nonatomic, nullable) SCNGeometry *baseGeometry |
Modified SCNSkinner.boneIndices
Declaration | |
---|---|
From | @property(readonly, nonatomic) SCNGeometrySource *boneIndices |
To | @property(readonly, nonatomic, nonnull) SCNGeometrySource *boneIndices |
Modified SCNSkinner.boneInverseBindTransforms
Declaration | |
---|---|
From | @property(readonly, nonatomic) NSArray *boneInverseBindTransforms |
To | @property(readonly, nonatomic, nullable) NSArray<NSValue *> *boneInverseBindTransforms |
Modified SCNSkinner.bones
Declaration | |
---|---|
From | @property(readonly, nonatomic) NSArray *bones |
To | @property(readonly, nonatomic, nonnull) NSArray<SCNNode *> *bones |
Modified SCNSkinner.boneWeights
Declaration | |
---|---|
From | @property(readonly, nonatomic) SCNGeometrySource *boneWeights |
To | @property(readonly, nonatomic, nonnull) SCNGeometrySource *boneWeights |
Modified SCNSkinner.skeleton
Declaration | |
---|---|
From | @property(nonatomic, retain) SCNNode *skeleton |
To | @property(nonatomic, retain, nullable) SCNNode *skeleton |
Modified +[SCNSkinner skinnerWithBaseGeometry:bones:boneInverseBindTransforms:boneWeights:boneIndices:]
Declaration | |
---|---|
From | + (instancetype)skinnerWithBaseGeometry:(SCNGeometry *)baseGeometry bones:(NSArray *)bones boneInverseBindTransforms:(NSArray *)boneInverseBindTransforms boneWeights:(SCNGeometrySource *)boneWeights boneIndices:(SCNGeometrySource *)boneIndices |
To | + (instancetype _Nonnull)skinnerWithBaseGeometry:(SCNGeometry * _Nullable)baseGeometry bones:(NSArray<SCNNode *> * _Nonnull)bones boneInverseBindTransforms:(NSArray<NSValue *> * _Nullable)boneInverseBindTransforms boneWeights:(SCNGeometrySource * _Nonnull)boneWeights boneIndices:(SCNGeometrySource * _Nonnull)boneIndices |
SCNTechnique.h
Declaration | |
---|---|
From | @property(readonly) NSDictionary *dictionaryRepresentation |
To | @property(readonly, nonnull) NSDictionary<NSString *,id> *dictionaryRepresentation |
Declaration | |
---|---|
From | - (void)handleBindingOfSymbol:(NSString *)symbol usingBlock:(SCNBindingBlock)block |
To | - (void)handleBindingOfSymbol:(NSString * _Nonnull)symbol usingBlock:(SCNBindingBlock _Nullable)block |
Declaration | |
---|---|
From | + (SCNTechnique *)techniqueBySequencingTechniques:(NSArray *)techniques |
To | + (SCNTechnique * _Nullable)techniqueBySequencingTechniques:(NSArray<SCNTechnique *> * _Nonnull)techniques |
Declaration | |
---|---|
From | + (SCNTechnique *)techniqueWithDictionary:(NSDictionary *)dictionary |
To | + (SCNTechnique * _Nullable)techniqueWithDictionary:(NSDictionary<NSString *,id> * _Nonnull)dictionary |
Modified SCNTechniqueSupport.technique
Declaration | |
---|---|
From | @property(nonatomic, copy) SCNTechnique *technique |
To | @property(nonatomic, copy, nullable) SCNTechnique *technique |
SCNTransaction.h
Declaration | |
---|---|
From | + (CAMediaTimingFunction *)animationTimingFunction |
To | + (CAMediaTimingFunction * _Nullable)animationTimingFunction |
Modified +[SCNTransaction completionBlock]
Declaration | |
---|---|
From | + (void (^)(void))completionBlock |
To | + (void (^ _Nullable)(void))completionBlock |
Modified +[SCNTransaction setAnimationTimingFunction:]
Declaration | |
---|---|
From | + (void)setAnimationTimingFunction:(CAMediaTimingFunction *)function |
To | + (void)setAnimationTimingFunction:(CAMediaTimingFunction * _Nullable)animationTimingFunction |
Modified +[SCNTransaction setCompletionBlock:]
Declaration | |
---|---|
From | + (void)setCompletionBlock:(void (^)(void))block |
To | + (void)setCompletionBlock:(void (^ _Nullable)(void))block |
Modified +[SCNTransaction setValue:forKey:]
Declaration | |
---|---|
From | + (void)setValue:(id)anObject forKey:(NSString *)key |
To | + (void)setValue:(id _Nullable)value forKey:(NSString * _Nonnull)key |
Modified +[SCNTransaction valueForKey:]
Declaration | |
---|---|
From | + (id)valueForKey:(NSString *)key |
To | + (id _Nullable)valueForKey:(NSString * _Nonnull)key |
SCNView.h
Modified SCNView.backgroundColor
Declaration | |
---|---|
From | @property(nonatomic, copy) NSColor *backgroundColor |
To | @property(nonatomic, copy, nonnull) NSColor *backgroundColor |
Modified -[SCNView initWithFrame:options:]
Declaration | |
---|---|
From | - (id)initWithFrame:(NSRect)frame options:(NSDictionary *)options |
To | - (instancetype _Nonnull)initWithFrame:(NSRect)frame options:(NSDictionary<NSString *,id> * _Nullable)options |
Modified SCNView.openGLContext
Declaration | |
---|---|
From | @property(nonatomic, retain) NSOpenGLContext *openGLContext |
To | @property(nonatomic, retain, nullable) NSOpenGLContext *openGLContext |
Modified -[SCNView pause:]
Declaration | |
---|---|
From | - (IBAction)pause:(id)sender |
To | - (IBAction)pause:(id _Nullable)sender |
Modified SCNView.pixelFormat
Declaration | |
---|---|
From | @property(nonatomic, retain) NSOpenGLPixelFormat *pixelFormat |
To | @property(nonatomic, retain, nullable) NSOpenGLPixelFormat *pixelFormat |
Modified -[SCNView play:]
Declaration | |
---|---|
From | - (IBAction)play:(id)sender |
To | - (IBAction)play:(id _Nullable)sender |
Modified SCNView.scene
Declaration | |
---|---|
From | @property(nonatomic, retain) SCNScene *scene |
To | @property(nonatomic, retain, nullable) SCNScene *scene |
Modified -[SCNView snapshot]
Declaration | |
---|---|
From | - (NSImage *)snapshot |
To | - (NSImage * _Nonnull)snapshot |
Modified -[SCNView stop:]
Declaration | |
---|---|
From | - (IBAction)stop:(id)sender |
To | - (IBAction)stop:(id _Nullable)sender |