OCP Dienste :
boxelyRenderer
>
shell
> replaceLibrary
method
replaceLibrary
void replaceLibrary(
string currentURL,
string newURL
);
Argumente
currentURL
Specifies the current library URL that will be replaced.
newURL
Specifies the new library URL.
Zurückgegebener Wert
None
This method replaces a given library with a different library in each scene that currently exists within this
shell
.
function onSample() { shell.replaceLibrary("../theme/style.box", "../theme/accStyle.box"); }