PDA

View Full Version : Scene ID?!



I3D
22 Nov 2011, 2:04 AM
Hey guys

IS there a way to know the Scene ID? if i create the scenes in order then they are numbered properly, but i move them around, they will keep their ID, which gets complicated if rely on controller.StartSceneByID() to jump based on logic, also it gets more complicated if had scenes and deleted them, then numbers are out of whack! any ideas?

Best

arnebech
22 Nov 2011, 3:57 PM
Please bear with us until the next update.

In the meantime, as a last resort you could take a look at the exported code where scenes will be listed in order and have the scene id visible.



window.addEventListener('load', function(){
var configData = {
parentId: 'AN-sObj-parentOl',
ormma: false,
scenes: [
{id: 1,animationCount: 1,duration: 6071.428571428572,dimensions: {height: 248,width: 300,expanded: true,fit: false}},
{id: 0,animationCount: 1,duration: 2058.4415584415583,dimensions: {height: 248,width: 300,expanded: false,fit: false}}],