OCP Dienste :
boxelyRenderer
>
scene
> replaceLibrary
method
replaceLibrary
void replaceLibrary(
string oldURL,
string newURL
);
Argumente
oldURL
The library to be replaced.
newURL
The library to be added in the place of the old library.
Zurückgegebener Wert
None
This method replaces a given library with a different library. This function will maintain the child ordering of all libraries.
function onSample() { scene.replaceLibrary("../theme/style.box", "../theme/accStyle.box"); }