SceneKit Changes
SceneKit
SCNAnimation.h
Added SCNAnimationEvent
Added SCNAnimationEventBlock
SCNBase.h
Removed #def SCENEKIT_DEPRECATED
Removed #def SCENEKIT_EXTERN
Removed #def SCENEKIT_INLINE
Removed #def SCENEKIT_UNUSED
Added #def SCENEKIT_CLASS_AVAILABLE
Added #def SCENEKIT_ENUM_AVAILABLE
Added #def SCN_EXTERN
SCNBoundingVolume.h
SCNCamera.h
SCNConstraint.h
SCNGeometry.h
Added +[SCNGeometry geometry]
Modified SCNGeometry
Protocols | |
---|---|
From | NSCopying, SCNAnimatable, SCNBoundingVolume |
To | NSCopying, SCNAnimatable, SCNBoundingVolume, SCNShadable |
Declaration | |
---|---|
From | + (id)geometryWithSources:(NSArray *)sources elements:(NSArray *)elements |
To | + (instancetype)geometryWithSources:(NSArray *)sources elements:(NSArray *)elements |
Declaration | |
---|---|
From | + (id)geometryElementWithData:(NSData *)data primitiveType:(SCNGeometryPrimitiveType)primitiveType primitiveCount:(NSInteger)primitiveCount bytesPerIndex:(NSInteger)bytesPerIndex |
To | + (instancetype)geometryElementWithData:(NSData *)data primitiveType:(SCNGeometryPrimitiveType)primitiveType primitiveCount:(NSInteger)primitiveCount bytesPerIndex:(NSInteger)bytesPerIndex |
Declaration | |
---|---|
From | + (id)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)geometrySourceWithData:(NSData *)data semantic:(NSString *)semantic vectorCount:(NSInteger)vectorCount floatComponents:(BOOL)floatComponents componentsPerVector:(NSInteger)componentsPerVector bytesPerComponent:(NSInteger)bytesPerComponent dataOffset:(NSInteger)offset dataStride:(NSInteger)stride |
Declaration | |
---|---|
From | + (id)geometrySourceWithNormals:(SCNVector3 *)normals count:(NSInteger)count |
To | + (instancetype)geometrySourceWithNormals:(SCNVector3 *)normals count:(NSInteger)count |
Declaration | |
---|---|
From | + (id)geometrySourceWithTextureCoordinates:(CGPoint *)texcoord count:(NSInteger)count |
To | + (instancetype)geometrySourceWithTextureCoordinates:(CGPoint *)texcoord count:(NSInteger)count |
Declaration | |
---|---|
From | + (id)geometrySourceWithVertices:(SCNVector3 *)vertices count:(NSInteger)count |
To | + (instancetype)geometrySourceWithVertices:(SCNVector3 *)vertices count:(NSInteger)count |
SCNLevelOfDetail.h
SCNLight.h
Added SCNLight.gobo
SCNMaterial.h
Removed SCNMaterial.program
Modified SCNMaterial
Protocols | |
---|---|
From | NSCopying, SCNAnimatable |
To | NSCopying, SCNAnimatable, SCNShadable |
Modified +[SCNMaterial material]
Declaration | |
---|---|
From | + (SCNMaterial *)material |
To | + (instancetype)material |
Modified SCNProgram
Header | |
---|---|
From | SceneKit/SCNMaterial.h |
To | SceneKit/SCNShadable.h |
Modified SCNProgram.delegate
Header | |
---|---|
From | SceneKit/SCNMaterial.h |
To | SceneKit/SCNShadable.h |
Modified SCNProgram.fragmentShader
Header | |
---|---|
From | SceneKit/SCNMaterial.h |
To | SceneKit/SCNShadable.h |
Modified +[SCNProgram program]
Header | Declaration | |
---|---|---|
From | SceneKit/SCNMaterial.h | + (SCNProgram *)program |
To | SceneKit/SCNShadable.h | + (instancetype)program |
Modified -[SCNProgram semanticForSymbol:]
Header | |
---|---|
From | SceneKit/SCNMaterial.h |
To | SceneKit/SCNShadable.h |
Header | |
---|---|
From | SceneKit/SCNMaterial.h |
To | SceneKit/SCNShadable.h |
Modified SCNProgram.vertexShader
Header | |
---|---|
From | SceneKit/SCNMaterial.h |
To | SceneKit/SCNShadable.h |
Modified SCNProgramDelegate
Header | |
---|---|
From | SceneKit/SCNMaterial.h |
To | SceneKit/SCNShadable.h |
Header | |
---|---|
From | SceneKit/SCNMaterial.h |
To | SceneKit/SCNShadable.h |
Header | |
---|---|
From | SceneKit/SCNMaterial.h |
To | SceneKit/SCNShadable.h |
Header | |
---|---|
From | SceneKit/SCNMaterial.h |
To | SceneKit/SCNShadable.h |
Header | |
---|---|
From | SceneKit/SCNMaterial.h |
To | SceneKit/SCNShadable.h |
SCNMaterialProperty.h
Added SCNFilterModeLinear
Added SCNFilterModeNearest
Added SCNFilterModeNone
Added SCNWrapModeClamp
Added SCNWrapModeClampToBorder
Added SCNWrapModeMirror
Added SCNWrapModeRepeat
SCNMorpher.h
SCNNode.h
Modified SCNNode.childNodes
Declaration | |
---|---|
From | @property(nonatomic, readonly, copy) NSArray *childNodes |
To | @property(nonatomic, readonly) NSArray *childNodes |
Modified +[SCNNode node]
Declaration | |
---|---|
From | + (SCNNode *)node |
To | + (instancetype)node |
Modified -[SCNNode replaceChildNode:with:]
Declaration | |
---|---|
From | - (void)replaceChildNode:(SCNNode *)child with:(SCNNode *)child2 |
To | - (void)replaceChildNode:(SCNNode *)oldChild with:(SCNNode *)newChild |
SCNParametricGeometry.h
Added SCNPlane.cornerRadius
Added SCNShape
Added SCNShape.chamferMode
Added SCNShape.chamferProfile
Added SCNShape.chamferRadius
Added SCNShape.extrusionDepth
Added SCNShape.path
Added SCNText.chamferProfile
Added SCNText.flatness
Added SCNChamferMode
Added SCNChamferModeBack
Added SCNChamferModeBoth
Added SCNChamferModeFront
Declaration | |
---|---|
From | + (id)boxWithWidth:(CGFloat)width height:(CGFloat)height length:(CGFloat)length chamferRadius:(CGFloat)chamferRadius |
To | + (instancetype)boxWithWidth:(CGFloat)width height:(CGFloat)height length:(CGFloat)length chamferRadius:(CGFloat)chamferRadius |
Declaration | |
---|---|
From | + (id)capsuleWithCapRadius:(CGFloat)capRadius height:(CGFloat)height |
To | + (instancetype)capsuleWithCapRadius:(CGFloat)capRadius height:(CGFloat)height |
Declaration | |
---|---|
From | + (id)coneWithTopRadius:(CGFloat)topRadius bottomRadius:(CGFloat)bottomRadius height:(CGFloat)height |
To | + (instancetype)coneWithTopRadius:(CGFloat)topRadius bottomRadius:(CGFloat)bottomRadius height:(CGFloat)height |
Declaration | |
---|---|
From | + (id)cylinderWithRadius:(CGFloat)radius height:(CGFloat)height |
To | + (instancetype)cylinderWithRadius:(CGFloat)radius height:(CGFloat)height |
Modified +[SCNFloor floor]
Declaration | |
---|---|
From | + (id)floor |
To | + (instancetype)floor |
Modified +[SCNPlane planeWithWidth:height:]
Declaration | |
---|---|
From | + (id)planeWithWidth:(CGFloat)width height:(CGFloat)height |
To | + (instancetype)planeWithWidth:(CGFloat)width height:(CGFloat)height |
Declaration | |
---|---|
From | + (id)pyramidWithWidth:(CGFloat)width height:(CGFloat)height length:(CGFloat)length |
To | + (instancetype)pyramidWithWidth:(CGFloat)width height:(CGFloat)height length:(CGFloat)length |
Modified +[SCNSphere sphereWithRadius:]
Declaration | |
---|---|
From | + (id)sphereWithRadius:(CGFloat)radius |
To | + (instancetype)sphereWithRadius:(CGFloat)radius |
Modified SCNText.chamferSegmentCount
Deprecation | |
---|---|
From | none |
To | OS X 10.9 |
Declaration | |
---|---|
From | + (id)textWithString:(id)string extrusionDepth:(CGFloat)extrusionDepth |
To | + (instancetype)textWithString:(id)string extrusionDepth:(CGFloat)extrusionDepth |
Declaration | |
---|---|
From | + (id)torusWithRingRadius:(CGFloat)ringRadius pipeRadius:(CGFloat)pipeRadius |
To | + (instancetype)torusWithRingRadius:(CGFloat)ringRadius pipeRadius:(CGFloat)pipeRadius |
Declaration | |
---|---|
From | + (id)tubeWithInnerRadius:(CGFloat)innerRadius outerRadius:(CGFloat)outerRadius height:(CGFloat)height |
To | + (instancetype)tubeWithInnerRadius:(CGFloat)innerRadius outerRadius:(CGFloat)outerRadius height:(CGFloat)height |
SCNRenderer.h
Declaration | |
---|---|
From | + (SCNRenderer *)rendererWithContext:(void *)context options:(NSDictionary *)options |
To | + (instancetype)rendererWithContext:(void *)context options:(NSDictionary *)options |
SCNScene.h
Modified +[SCNScene scene]
Declaration | |
---|---|
From | + (SCNScene *)scene |
To | + (instancetype)scene |
Declaration | |
---|---|
From | + (SCNScene *)sceneWithURL:(NSURL *)url options:(NSDictionary *)options error:(NSError **)error |
To | + (instancetype)sceneWithURL:(NSURL *)url options:(NSDictionary *)options error:(NSError **)error |
SCNSceneRenderer.h
SCNSceneSource.h
Declaration | |
---|---|
From | + (id)sceneSourceWithData:(NSData *)data options:(NSDictionary *)options |
To | + (instancetype)sceneSourceWithData:(NSData *)data options:(NSDictionary *)options |
Declaration | |
---|---|
From | + (id)sceneSourceWithURL:(NSURL *)url options:(NSDictionary *)options |
To | + (instancetype)sceneSourceWithURL:(NSURL *)url options:(NSDictionary *)options |
SCNShadable.h
Modified SCNProgram
Header | |
---|---|
From | SceneKit/SCNMaterial.h |
To | SceneKit/SCNShadable.h |
Modified SCNProgram.delegate
Header | |
---|---|
From | SceneKit/SCNMaterial.h |
To | SceneKit/SCNShadable.h |
Modified SCNProgram.fragmentShader
Header | |
---|---|
From | SceneKit/SCNMaterial.h |
To | SceneKit/SCNShadable.h |
Modified +[SCNProgram program]
Header | Declaration | |
---|---|---|
From | SceneKit/SCNMaterial.h | + (SCNProgram *)program |
To | SceneKit/SCNShadable.h | + (instancetype)program |
Modified -[SCNProgram semanticForSymbol:]
Header | |
---|---|
From | SceneKit/SCNMaterial.h |
To | SceneKit/SCNShadable.h |
Header | |
---|---|
From | SceneKit/SCNMaterial.h |
To | SceneKit/SCNShadable.h |
Modified SCNProgram.vertexShader
Header | |
---|---|
From | SceneKit/SCNMaterial.h |
To | SceneKit/SCNShadable.h |
Modified SCNProgramDelegate
Header | |
---|---|
From | SceneKit/SCNMaterial.h |
To | SceneKit/SCNShadable.h |
Header | |
---|---|
From | SceneKit/SCNMaterial.h |
To | SceneKit/SCNShadable.h |
Header | |
---|---|
From | SceneKit/SCNMaterial.h |
To | SceneKit/SCNShadable.h |
Header | |
---|---|
From | SceneKit/SCNMaterial.h |
To | SceneKit/SCNShadable.h |
Header | |
---|---|
From | SceneKit/SCNMaterial.h |
To | SceneKit/SCNShadable.h |
SCNSkinner.h
Added SCNSkinner
Added SCNSkinner.skeleton
SceneKitTypes.h
Added #def GLKMatrix4FromCATransform3D
Added #def GLKMatrix4ToCATransform3D
Added SCNVector3ToGLKVector3()
Added SCNVector4ToGLKVector4()