addRangeForInputValuesAbove(value:fullGainAtValue:fadeCurveType:subtree:)
Adds a child node that blends above a given value.
Declaration
func addRangeForInputValuesAbove(value: Double, fullGainAtValue: Double, fadeCurveType: PHASECurveType, subtree: PHASESoundEventNodeDefinition)Parameters
- value:
The value below which the child node blends.
- fullGainAtValue:
A threshold such that the node applies a fade curve to the child node’s gain when the blend parameter is between
valueand this value. - fadeCurveType:
An option that determines a rate of change for the child node’s gain over the fade range.
- subtree:
A child node to blend.