OCP Dienste :
boxelyRenderer
>
scene
> setThemeForAlias
method
setThemeForAlias
library setThemeForAlias(
string alias,
string library
);
Argumente
alias
The alias to be associated with the library
library
The library url that is to be associated with the given alias.
Zurückgegebener Wert
library
This method sets up an alias library. If the alias already exists the old library is removed from this alias and the new library is added.
function onInitialized() { scene.setThemeForAlias("Foobar", "../themes/theme_blue.box"); }