Class ScaleDensity
Scales the sample coordinates (by the reciprocal of the given factors) before evaluating the input. Unlike upstream, this allocates a per-call child context rather than reusing an instance scratch buffer, so it is safe to evaluate from multiple threads.
public sealed class ScaleDensity : Density
- Inheritance
-
ScaleDensity
- Inherited Members
Constructors
ScaleDensity(double, double, double, Density?)
public ScaleDensity(double scaleX, double scaleY, double scaleZ, 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[]