* isLayerEnabled * Is the given layerID enabled? * @param {string} layerID - the layerID to check * @return {boolean} `true` if enabled, `false` if not
(layerID)
| 649 | * @return {boolean} `true` if enabled, `false` if not |
| 650 | */ |
| 651 | isLayerEnabled(layerID) { |
| 652 | const context = this.context; |
| 653 | const scene = context.systems.gfx.scene; |
| 654 | const layer = scene.layers.get(layerID); |
| 655 | return layer?.enabled; |
| 656 | } |
| 657 | |
| 658 | |
| 659 | /** |
no test coverage detected