setC method

LightC setC(
  1. LightC o
)

Implementation

LightC setC(LightC o) {
  type = o.type;
  enabled = o.enabled;
  position.setC(o.position);
  target.setC(o.target);
  color.setC(o.color);
  attenuation = o.attenuation;
  enabledLoc = o.enabledLoc;
  typeLoc = o.typeLoc;
  positionLoc = o.positionLoc;
  targetLoc = o.targetLoc;
  colorLoc = o.colorLoc;
  attenuationLoc = o.attenuationLoc;
  return this;
}