setDart method

  1. @override
LightD setDart(
  1. LightD o
)
override

Copies the fields of o into this instance.

Implementation

@override
LightD setDart(LightD o) {
  type = o.type;
  enabled = o.enabled;
  position.setDart(o.position);
  target.setDart(o.target);
  color.setDart(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;
}