Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
this._xrInputSourceSubtree.children = inputSources && Array.from(inputSources).map(xrInputSource => {
// TODO resolve config overrides?
return {
facade: XRInputSourceFacade,
key: utils.getIdForObject(xrInputSource),
xrInputSource,
xrSession: this.xrSession,
xrReferenceSpace: this.xrReferenceSpace
}
})
this._xrInputSourceSubtree.afterUpdate()