scale method

NoisePlane scale(
  1. double scale
)

Implementation

NoisePlane scale(double scale) {
  if (this is ScaledProvider) {
    return ScaledProvider(
      generator: (this as ScaledProvider).generator,
      scaleValue: (this as ScaledProvider).scaleValue * scale,
    );
  }

  return ScaledProvider(
    generator: this,
    scaleValue: scale,
  );
}