wonder.js
Version:
23 lines (19 loc) • 970 B
JavaScript
;
var AddComponentService$Wonderjs = require("../../../../primitive/component/AddComponentService.js");
function handleAddComponent(light, gameObjectUid, record) {
return /* record */[
/* index */record[/* index */0],
/* buffer */record[/* buffer */1],
/* colors */record[/* colors */2],
/* intensities */record[/* intensities */3],
/* constants */record[/* constants */4],
/* linears */record[/* linears */5],
/* quadratics */record[/* quadratics */6],
/* ranges */record[/* ranges */7],
/* renderLightArr */record[/* renderLightArr */8],
/* disposedIndexArray */record[/* disposedIndexArray */9],
/* gameObjectMap */AddComponentService$Wonderjs.addComponentToGameObjectMap(light, gameObjectUid, record[/* gameObjectMap */10])
];
}
exports.handleAddComponent = handleAddComponent;
/* AddComponentService-Wonderjs Not a pure module */