Hi,
I’m trying to implement a simple thumbnail selection bar using the standard gui-editor image-button to represent each thumbnail - held in a scrollable stack.
An array called ‘envThumbnails’ will hold each thumbnail.
Each thumbnail is cloned from the original image-button, made in the gui editor and then is pushed onto the array.
The thumnail is also added to the gui thumbnailStack using addControl.
I can change some properties of each cloned thumbnail - like color = ‘black’ etc,
But, so far not the image.
I need to change the image’s source url for each thumbnail.
HERE IS THE CODE:
playground.babylonjs.com/#4RTUCB#108