Go to: Synopsis. Return value. MEL examples.

Synopsis

scaleBrushBrightness (float $scaleFac, int $template)

Scales the overall effect of lighting on a brush. This is useful when compensating for bright lights

Return value

None

Arguments

Variable Name Variable Type Description
$scaleFacfloatA factor to scale the brightness by.
$templateintIf true then the factor is applied to the template, or current brush. Otherwise it is applied to selected strokes and brushes.

MEL examples

  scaleBrushBrightness (2.5, true);
  scaleBrushBrightness (0.5, false);