()
| 351 | } |
| 352 | |
| 353 | getTexture(): Texture | null { |
| 354 | return this._texture || this._externalTexture; |
| 355 | } |
| 356 | |
| 357 | getIconMapping(icon: string | UnpackedIcon): PrepackedIcon { |
| 358 | const id = this._autoPacking ? getIconId(icon as UnpackedIcon) : (icon as string); |