Specifies a weight value at a specified target index.
- iOS 8.0+
- macOS 10.9+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
- watchOS 3.0+
A number specifying the contribution of the target geometry to the blended surface, generally between
The index of a geometry in the morpher’s
Target geometries and their weights determine the current form of the surface produced by the morpher. For example, if a morpher has one target whose weight is
0, the form of the resulting surface will be halfway between those of the base geometry and the target geometry.
You can also animate weights implicitly or explicitly using the keypath
index corresponds to the
target parameter of this method.