Disable CreateFullscreenUI

I want to stop rendering AdvancedDynamicTexture.CreateFullscreenUI
I tried Scene.prototype.removeTexture. Texture was removed from scene but kept rendering.

You should be able to do adt.layer.isEnabled = false to disable rendering the GUI.

However, it is still responsive to events even if not displayed! I don’t know if we can disable the interactions with the GUI, cc @carolhmj who should know.

1 Like

You should be able to use dispose on the ADT: Simple GUI in fullscreen mode | Babylon.js Playground (babylonjs.com)

1 Like