<!--
{
  "availability" : [
    "iOS: 8.0.0 - 26.0.0",
    "iPadOS: 8.0.0 - 26.0.0",
    "macCatalyst: 13.1.0 - 26.0.0",
    "macOS: 10.8.0 - 26.0.0",
    "tvOS: 9.0.0 - 26.0.0",
    "visionOS: 1.0.0 - 26.0.0",
    "watchOS: 3.0.0 - 26.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "SceneKit",
  "identifier" : "/documentation/SceneKit/SCNMorpher",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "SceneKit"
    ],
    "preciseIdentifier" : "c:objc(cs)SCNMorpher"
  },
  "title" : "SCNMorpher"
}
-->

# SCNMorpher

An object that manages smooth transitions between a node’s base geometry and one or more target geometries.

```
class SCNMorpher
```

## Overview

![](images/com.apple.scenekit/media-2929789@2x.png)

You control these transitions by associating an [`SCNMorpher`](/documentation/SceneKit/SCNMorpher) object with a node using its [`morpher`](/documentation/SceneKit/SCNNode/morpher) property. The morpher maintains an array of target geometries and a set of weights associated with each. When all weights are zero, the surface takes the form of the base geometry (from the node’s [`geometry`](/documentation/SceneKit/SCNNode/geometry) property). When you use the [`setWeight(_:forTargetAt:)`](/documentation/SceneKit/SCNMorpher/setWeight(_:forTargetAt:)) method to increase a weight to `1.0`, the surface takes the form of the geometry at the corresponding index in the morpher’s [`targets`](/documentation/SceneKit/SCNMorpher/targets) array. If you use a variety of weight values for several targets, the surface takes a form that proportionally interpolates between the target geometries.

You can also animate weights implicitly or explicitly using keypath animations. For example, the following code creates a morph animation that transitions one target weight back and forth repeatedly:

```objc
CABasicAnimation *animation = [CABasicAnimation animationWithKeyPath:@"morpher.weights[0]"];
animation.fromValue = @0.0;
animation.toValue = @1.0;
animation.autoreverses = YES;
animation.repeatCount = INFINITY;
animation.duration = 5;
[node addAnimation:animation forKey:nil];
```

A morpher and its target geometries may be loaded from a scene file or created programmatically. The base geometry and all target geometries must be topologically identical—that is, they must contain the same number and structural arrangement of vertices.

## Topics

### Specifying Morph Targets

[`targets`](/documentation/SceneKit/SCNMorpher/targets)

The array of target geometries to morph between.

### Blending between Morph Targets

[`-  weightForTargetAtIndex:`](/documentation/SceneKit/SCNMorpher/weight(forTargetAt:))

Returns the weight value for the specified target index.

[`-  setWeight:forTargetAtIndex:`](/documentation/SceneKit/SCNMorpher/setWeight(_:forTargetAt:))

Specifies a weight value at a specified target index.

### Changing Interpolation Mode

[`calculationMode`](/documentation/SceneKit/SCNMorpher/calculationMode)

The interpolation formula for blending between target geometries.

### Constants

[`SCNMorpherCalculationMode`](/documentation/SceneKit/SCNMorpherCalculationMode)

The interpolation formulas for blending between target geometries.

## Relationships

### Conforms To

[`Hashable`](/documentation/Swift/Hashable)

[`Equatable`](/documentation/Swift/Equatable)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`NSCoding`](/documentation/Foundation/NSCoding)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`CVarArg`](/documentation/Swift/CVarArg)

[`NSSecureCoding`](/documentation/Foundation/NSSecureCoding)

[`SCNAnimatable`](/documentation/SceneKit/SCNAnimatable)

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)