Class AmplitudeDensity
Multiplies the input node by a height-dependent amplitude (a function of Y); zero amplitude skips the input.
public sealed class AmplitudeDensity : Density
- Inheritance
-
AmplitudeDensity
- Inherited Members
Constructors
AmplitudeDensity(Func<double, double>, Density?)
Multiplies the input node by a height-dependent amplitude (a function of Y); zero amplitude skips the input.
public AmplitudeDensity(Func<double, double> amplitudeFunction, Density? input)
Parameters
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[]