property paramsDictionary

(r/o) object paramsDictionary;

Typ

Zugriff

This property returns the basics::dictionary that was used when opening this scene. This value may be null if no dictionary was used to open the scene.
function onSample()
{
    var dictionary = scene.paramsDictionary;
    if (dictionary)
    {
        // Get a value from the dictionary.
        try
        {
            var value = dictionary.valueForKey("myKey");
            if (value)
            {
                // do something.
            }
        }
        catch(err)
        {
            // Key not found in dictionary.
        }
    }
}