setD method
Copies the fields of the Dart struct o into this instance.
Implementation
@override
LightD setD(LightD o) {
originalPointer ??= o.originalPointer;
type = o.type;
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;
}