List all advancedTexturePlane

Hi everybody,

Do you know how to obtain a list of all the advancedTexturePlane created with

var advancedTexturePlane =BABYLON.GUI.AdvancedDynamicTexture.CreateForMesh(…

If anybody can help…

Thanks in advance,

Boris

The function does not create planes, it only create a texture and a material for the mesh you requested it for. Not sure what Plane you want to get ?

I want to dispose all these textures before saving my scene to babylon format.

If you do not have any other AdvancedDynamicTexture you can go in scene.textures and find all the ones with getClassName() === “AdvancedDynamicTexture”

3 Likes

You’re right, thank you