blend(_:_:name:isAdditive:)
Combines the animations that result from two blend-tree nodes into a single blend-tree node.
Declaration
func blend(_ x: any BlendTreeNode, _ y: any BlendTreeNode, name: String = "", isAdditive: Bool = false) -> any BlendTreeNodeParameters
- x:
A blend-tree node whose animation combines with the second animation argument.
- y:
A blend-tree node whose animation combines with the first animation argument.
- name:
A unique name for the combined node.
- isAdditive:
A Boolean value that indicates whether the animation builds on the current state of the target entity, or resets the state before running.
Return Value
A blend-tree node that combines the given animations.