Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
Hi I need to get the name of the current scene and i tried to use this: var root1 = ccbGetRootSceneNode(); var name1 = ccbGetSceneNodeProperty(root1, 'Name'); But I get a cannot find property "Name" of scene node. What can i do? |
||||
|
Currently there is no way to do this (unless you are using WebGL, then you could use the CopperLicht API to get this), sorry. When switching scene, you could probably set a variable to get the current scene. Or add an invisible node into each scene with a specific name to identify the scene, maybe, as workaround. |
||||
|
Ok thanks Niko. |
|