copyFrom method

void copyFrom(
  1. ColorTransform other
)

Implementation

void copyFrom(ColorTransform other) {
  multipliers[0] = other.multipliers[0];
  multipliers[1] = other.multipliers[1];
  multipliers[2] = other.multipliers[2];
  multipliers[3] = other.multipliers[3];

  offsets[0] = other.offsets[0];
  offsets[1] = other.offsets[1];
  offsets[2] = other.offsets[2];
  offsets[3] = other.offsets[3];
}