setD method

LightC setD(
  1. LightD o
)

Implementation

LightC setD(LightD o) {
  type = o.type.value;
  enabled = o.enabled;
  position.setD(o.position);
  target.setD(o.target);
  color.setD(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;
}