blend(sources:name:isAdditive:)
Combines the animations that result from the individual blend-tree nodes of the given array to a single blend-tree node.
Declaration
func blend(sources: [any BlendTreeNode], name: String = "", isAdditive: Bool = false) -> any BlendTreeNodeParameters
- sources:
The blend-tree nodes to combine.
- 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.