weightNames
TypeScriptget weightNames(): Array<string>Swift declarationvar weightNames: [String] { get }The name of each weight value defined in the ``weights`` variable.
struct · iOS 18.0+ · SDK 27.1
struct BlendShapeWeightsDataA structure that encapsulates the blend shape name, blend shape weights and the names of those weights to be stored by the blend shape weights set.
get weightNames(): Array<string>Swift declarationvar weightNames: [String] { get }The name of each weight value defined in the ``weights`` variable.
static init(id: string, weights: Array<[string, number]>): BlendShapeWeightsDataSwift declarationinit(id: BlendShapeWeightsData.ID, weights: [(String, BlendShapeWeights.Element)])Creates an instance of the named weights for a single blend shape. - Parameters: - id: The unique name of the blend shape. - weights: An array of name value pairs for the weights in predefined order.
get id(): stringSwift declarationvar id: BlendShapeWeightsData.ID { get }The unique id of the blend shape. This value is used when binding to the structure using an animation bind target.
get weights(): BlendShapeWeightsSwift declarationvar weights: BlendShapeWeights { get set }The blend shape's weight values.
set weights(value: BlendShapeWeights)Swift declarationvar weights: BlendShapeWeights { get set }The blend shape's weight values.
No declarations were skipped in this snapshot.