Documentation Archive Developer
Search

SceneKit Changes

SceneKit

SCNAction.h (Added)
Added SCNAction
Added SCNAction(SCNActions)
SCNAnimation.h
Modified SCNAnimatable
Protocols
From--
ToNSObject

SCNBoundingVolume.h
Protocols
From--
ToNSObject

SCNCamera.h
Modified SCNCamera
Protocols
FromNSCopying, SCNAnimatable
ToNSCopying, NSSecureCoding, SCNAnimatable, SCNTechniqueSupport

Declaration
From
- (CATransform3D)projectionTransform
To
- (SCNMatrix4)projectionTransform

Declaration
From
- (void)setProjectionTransform:(CATransform3D)projectionTransform
To
- (void)setProjectionTransform:(SCNMatrix4)projectionTransform

SCNConstraint.h
Modified SCNConstraint
Protocols
FromNSCopying, SCNAnimatable
ToNSCopying, NSSecureCoding, SCNAnimatable

Declaration
From
+ (instancetype)transformConstraintInWorldSpace:(BOOL)world withBlock:(CATransform3D (^)(SCNNode *node, CATransform3D transform))block
To
+ (instancetype)transformConstraintInWorldSpace:(BOOL)world withBlock:(SCNMatrix4 (^)(SCNNode *node, SCNMatrix4 transform))block

SCNGeometry.h
Modified SCNGeometry
Protocols
FromNSCopying, SCNAnimatable, SCNBoundingVolume, SCNShadable
ToNSCopying, NSSecureCoding, SCNAnimatable, SCNBoundingVolume, SCNShadable

Protocols
From--
ToNSSecureCoding

Protocols
From--
ToNSSecureCoding

Declaration
From
+ (instancetype)geometrySourceWithNormals:(SCNVector3 *)normals count:(NSInteger)count
To
+ (instancetype)geometrySourceWithNormals:(const SCNVector3 *)normals count:(NSInteger)count

Declaration
From
+ (instancetype)geometrySourceWithTextureCoordinates:(CGPoint *)texcoord count:(NSInteger)count
To
+ (instancetype)geometrySourceWithTextureCoordinates:(const CGPoint *)texcoord count:(NSInteger)count

Declaration
From
+ (instancetype)geometrySourceWithVertices:(SCNVector3 *)vertices count:(NSInteger)count
To
+ (instancetype)geometrySourceWithVertices:(const SCNVector3 *)vertices count:(NSInteger)count

SCNJavascript.h (Added)
SCNLayer.h
Modified SCNLayer
Protocols
FromSCNSceneRenderer
ToSCNSceneRenderer, SCNTechniqueSupport

SCNLevelOfDetail.h
Protocols
FromNSCopying
ToNSCopying, NSSecureCoding

SCNLight.h
Modified SCNLight
Protocols
FromNSCopying, SCNAnimatable
ToNSCopying, NSSecureCoding, SCNAnimatable, SCNTechniqueSupport

Deprecation
From--
ToOS X 10.10

Deprecation
From--
ToOS X 10.10

Deprecation
From--
ToOS X 10.10

Deprecation
From--
ToOS X 10.10

Deprecation
From--
ToOS X 10.10

Deprecation
From--
ToOS X 10.10

Deprecation
From--
ToOS X 10.10

Deprecation
From--
ToOS X 10.10

Deprecation
From--
ToOS X 10.10

SCNMaterial.h
Modified SCNMaterial
Protocols
FromNSCopying, SCNAnimatable, SCNShadable
ToNSCopying, NSSecureCoding, SCNAnimatable, SCNShadable

SCNMaterialProperty.h
Protocols
FromSCNAnimatable
ToNSSecureCoding, SCNAnimatable

Declaration
From
@property(nonatomic) CATransform3D contentsTransform
To
@property(nonatomic) SCNMatrix4 contentsTransform

SCNMorpher.h
Modified SCNMorpher
Protocols
FromSCNAnimatable
ToNSSecureCoding, SCNAnimatable

SCNNode.h
Modified SCNNode
Protocols
FromNSCopying, SCNAnimatable, SCNBoundingVolume
ToNSCopying, NSSecureCoding, SCNActionable, SCNAnimatable, SCNBoundingVolume

Declaration
From
- (CATransform3D)convertTransform:(CATransform3D)transform fromNode:(SCNNode *)node
To
- (SCNMatrix4)convertTransform:(SCNMatrix4)transform fromNode:(SCNNode *)node

Declaration
From
- (CATransform3D)convertTransform:(CATransform3D)transform toNode:(SCNNode *)node
To
- (SCNMatrix4)convertTransform:(SCNMatrix4)transform toNode:(SCNNode *)node

Modified SCNNode.pivot
Declaration
From
@property(nonatomic) CATransform3D pivot
To
@property(nonatomic) SCNMatrix4 pivot

Declaration
From
@property(nonatomic) CATransform3D transform
To
@property(nonatomic) SCNMatrix4 transform

Declaration
From
@property(nonatomic, readonly) CATransform3D worldTransform
To
@property(nonatomic, readonly) SCNMatrix4 worldTransform

Optional
From--
Toyes

SCNParametricGeometry.h
SCNParticleSystem.h (Added)
Added SCNNode(SCNParticleSystemSupport)
Added SCNScene(SCNParticleSystemSupport)
SCNPhysicsBehavior.h (Added)
SCNRenderer.h
Modified SCNRenderer
Protocols
FromSCNSceneRenderer
ToSCNSceneRenderer, SCNTechniqueSupport

SCNShadable.h
Modified SCNProgram
Protocols
FromNSCopying
ToNSCopying, NSSecureCoding

DeprecationOptional
From----
ToOS X 10.10yes

Optional
From--
Toyes

DeprecationOptional
From----
ToOS X 10.10yes

DeprecationOptional
From----
ToOS X 10.10yes

Modified SCNShadable
Protocols
From--
ToNSObject

Optional
From--
Toyes

Optional
From--
Toyes

Header
FromSceneKit/SCNMaterial.h
ToSceneKit/SCNShadable.h

SCNTransaction.h
Declaration
From
+ (void (^)())completionBlock
To
+ (void (^)(void))completionBlock

SCNView.h
Modified SCNView
Protocols
FromSCNSceneRenderer
ToSCNSceneRenderer, SCNTechniqueSupport

Declaration
From
- (void)pause:(id)sender
To
- (IBAction)pause:(id)sender

Declaration
From
- (void)play:(id)sender
To
- (IBAction)play:(id)sender

Declaration
From
- (void)stop:(id)sender
To
- (IBAction)stop:(id)sender