init(id:weights:)
Creates an instance of the named weights for a single blend shape.
Declaration
init(id: BlendShapeWeightsData.ID, weights: [(String, BlendShapeWeights.Element)])Parameters
- id:
The unique name of the blend shape.
- weights:
An array of name value pairs for the weights in predefined order.