* Remove child entity. * * @param {Element} el - Child entity.
(el)
| 239 | * @param {Element} el - Child entity. |
| 240 | */ |
| 241 | remove (el) { |
| 242 | if (el) { |
| 243 | this.object3D.remove(el.object3D); |
| 244 | } else { |
| 245 | this.parentNode.removeChild(this); |
| 246 | } |
| 247 | } |
| 248 | |
| 249 | /** |
| 250 | * @returns {Array<Element>} Direct children that are entities. |
no outgoing calls
no test coverage detected