scene.createTextureAtlas() resulting in 'Uncaught TypeError: undefined is not a function' error

Hi all,

I have the following code, however the code gets stuck on the line:

var textureAtlas = viewer.scene.createTextureAtlas({
image : image
});

With the error:

Uncaught TypeError: undefined is not a function

Any idea why?

Do the calls to createTextureAtlas in the Billboards example work for you? If so, can you strip them down to debug it?

Patrick