name
TypeScriptget name(): stringSwift declarationvar name: StringA textual name for the blend node.
struct · iOS 15.0+ · SDK 27.1
struct BlendTreeInvalidNodeA blend tree node that's internal only or sources from an invalid definition. This structure adopts ``BlendTreeNode`` and adds the ability to detect a node that contains neither an animation nor any branches in the blend tree. You don't create instances of this structure. Instead, detect whether your blend-tree node matches the framework's criteria for invalid nodes by checking the node type, as the following code demonstrates. ```swift // Get the blend tree's root node. guard let blendNode = blendTree.root as? BlendTreeBlendNode else { return } for node in blendNode.sources { if let invalidNode = node as? BlendTreeInvalidNode { // Respond to invalid-node criteria. ```
get name(): stringSwift declarationvar name: StringA textual name for the blend node.
set name(value: string)Swift declarationvar name: StringA textual name for the blend node.
get weight(): BlendWeightSwift declarationvar weight: BlendWeightThe amount that an animation impacts the entity it applies to.
set weight(value: BlendWeight)Swift declarationvar weight: BlendWeightThe amount that an animation impacts the entity it applies to.
No declarations were skipped in this snapshot.