Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
constructor(parent) {
super(parent)
this._sourcesDirty = true
// Required props:
this.xrSession = null
this.xrReferenceSpace = null
// Separate subtree for the XRInputSourceFacade instances:
this._xrInputSourceSubtree = new ParentFacade(this)
this._onInputSourcesChange = e => {
this._sourcesDirty = true
this.afterUpdate()
}
}