setD method

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

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;
}