writeInto method

  1. @override
void writeInto(
  1. LightC p
)
override

Implementation

@override
void writeInto(LightC p) {
  p.type = type.value;
  p.enabled = enabled;
  position.writeInto(p.position);
  target.writeInto(p.target);
  color.writeInto(p.color);
  p.attenuation = attenuation;
  p.enabledLoc = enabledLoc;
  p.typeLoc = typeLoc;
  p.positionLoc = positionLoc;
  p.targetLoc = targetLoc;
  p.colorLoc = colorLoc;
  p.attenuationLoc = attenuationLoc;
}