property sceneCount

(r/o) int32 sceneCount;

Typ

Zugriff

This property returns the number of scenes in the shell object.
function onSample()
{
    var sceneCount = shell.sceneCount;
    for (i = 0; i < sceneCount; i++)
    {
        var myScene = shell.getSceneAt(i);
        if (myScene)
        {
            shell.print(myScene.url);
        }
    }
}