Documentation

Classes

Built-In Namespace _global_



Method Summary
Method Attributes Method Name and Description
 
startCopperLichtFromFile(elementIdOfCanvas, filetoload, loadingScreenText, noWebGLText, fullpage)
Creates an instance of the CopperLicht 3D engine by loading the scene from a CopperCube file.
Method Detail
{CL3D.CopperLicht} startCopperLichtFromFile(elementIdOfCanvas, filetoload, loadingScreenText, noWebGLText, fullpage)
Creates an instance of the CopperLicht 3D engine by loading the scene from a CopperCube file.
Defined in: <documented.js>.
Parameters:
elementIdOfCanvas
The id of the canvas in your html document.
filetoload
a filename such as 'test.ccbjs' or 'test.ccbz' which will be loaded, displayed and animated by the 3d engine. .ccbjs and .ccbz files can be created using the CopperCube editor, it is free to use for 14 days.
loadingScreenText
{String} optional parameter specifying a loadingScreen text. Setting this to a text like "Loading" will cause a loading screen with this text to appear while the file is being loaded.
noWebGLText
{String} optional parameter specifying a text to show when there is no webgl.
fullpage
{Boolean} optional parameter, set to true to expand canvas automatically to the full browser size.
Returns:
{CL3D.CopperLicht} the instance of the CopperLicht engine

© 2011-2017 N.Gebhardt, Ambiera
Documentation generated by JsDoc Toolkit