Class MultiMixDensity
Blends across an ordered set of keyed nodes by a single influence input: the influence value selects the surrounding two keys and linearly interpolates between their densities. Below/above the range returns the first/last key. Requires at least two keys with unique values.
public sealed class MultiMixDensity : Density
- Inheritance
-
MultiMixDensity
- Inherited Members
Constructors
MultiMixDensity(IReadOnlyList<Key>, Density)
public MultiMixDensity(IReadOnlyList<MultiMixDensity.Key> keys, Density influenceDensity)
Parameters
keysIReadOnlyList<MultiMixDensity.Key>influenceDensityDensity
Methods
Process(Context)
public override double Process(Density.Context context)
Parameters
Returns
SetInputs(Density[])
Wire this node's inputs (no-op for leaf nodes).
public override void SetInputs(Density[] inputs)
Parameters
inputsDensity[]