Documentation Archive Developer
Search

SceneKit Changes

SceneKit

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
SCNGeometry.h
Modified SCNGeometry
Protocols
FromNSCopying, SCNAnimatable, SCNBoundingVolume
ToNSCopying, 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

SCNLight.h
Declaration
From+ (SCNLight *)light
To+ (instancetype)light

SCNMaterial.h
Removed SCNMaterial.program
Modified SCNMaterial
Protocols
FromNSCopying, SCNAnimatable
ToNSCopying, SCNAnimatable, SCNShadable

Declaration
From+ (SCNMaterial *)material
To+ (instancetype)material

Modified SCNProgram
Header
FromSceneKit/SCNMaterial.h
ToSceneKit/SCNShadable.h

Header
FromSceneKit/SCNMaterial.h
ToSceneKit/SCNShadable.h

Header
FromSceneKit/SCNMaterial.h
ToSceneKit/SCNShadable.h

HeaderDeclaration
FromSceneKit/SCNMaterial.h+ (SCNProgram *)program
ToSceneKit/SCNShadable.h+ (instancetype)program

Header
FromSceneKit/SCNMaterial.h
ToSceneKit/SCNShadable.h

Header
FromSceneKit/SCNMaterial.h
ToSceneKit/SCNShadable.h

Header
FromSceneKit/SCNMaterial.h
ToSceneKit/SCNShadable.h

Header
FromSceneKit/SCNMaterial.h
ToSceneKit/SCNShadable.h

Header
FromSceneKit/SCNMaterial.h
ToSceneKit/SCNShadable.h

Header
FromSceneKit/SCNMaterial.h
ToSceneKit/SCNShadable.h

Header
FromSceneKit/SCNMaterial.h
ToSceneKit/SCNShadable.h

Header
FromSceneKit/SCNMaterial.h
ToSceneKit/SCNShadable.h

SCNNode.h
Declaration
From@property(nonatomic, readonly, copy) NSArray *childNodes
To@property(nonatomic, readonly) NSArray *childNodes

Declaration
From+ (SCNNode *)node
To+ (instancetype)node

Declaration
From- (void)replaceChildNode:(SCNNode *)child with:(SCNNode *)child2
To- (void)replaceChildNode:(SCNNode *)oldChild with:(SCNNode *)newChild

SCNParametricGeometry.h
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

Declaration
From+ (id)floor
To+ (instancetype)floor

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

Declaration
From+ (id)sphereWithRadius:(CGFloat)radius
To+ (instancetype)sphereWithRadius:(CGFloat)radius

Deprecation
Fromnone
ToOS 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
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

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
FromSceneKit/SCNMaterial.h
ToSceneKit/SCNShadable.h

Header
FromSceneKit/SCNMaterial.h
ToSceneKit/SCNShadable.h

Header
FromSceneKit/SCNMaterial.h
ToSceneKit/SCNShadable.h

HeaderDeclaration
FromSceneKit/SCNMaterial.h+ (SCNProgram *)program
ToSceneKit/SCNShadable.h+ (instancetype)program

Header
FromSceneKit/SCNMaterial.h
ToSceneKit/SCNShadable.h

Header
FromSceneKit/SCNMaterial.h
ToSceneKit/SCNShadable.h

Header
FromSceneKit/SCNMaterial.h
ToSceneKit/SCNShadable.h

Header
FromSceneKit/SCNMaterial.h
ToSceneKit/SCNShadable.h

Header
FromSceneKit/SCNMaterial.h
ToSceneKit/SCNShadable.h

Header
FromSceneKit/SCNMaterial.h
ToSceneKit/SCNShadable.h

Header
FromSceneKit/SCNMaterial.h
ToSceneKit/SCNShadable.h

Header
FromSceneKit/SCNMaterial.h
ToSceneKit/SCNShadable.h

SCNSkinner.h
SceneKitTypes.h
Added #def GLKMatrix4FromCATransform3D
Added #def GLKMatrix4ToCATransform3D