Class Potree
Defined in: Potree.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Potree()
|
Field Attributes | Field Name and Description |
---|---|
<static> |
Potree.includes
a list of all js files that must be included by Potree
|
Method Attributes | Method Name and Description |
---|---|
<static> |
Potree.calculateTimeSinceLastFrame()
|
<static> |
Potree.createGridNode()
a grid at the origin.
|
<static> |
Potree.draw()
draws a frame to the canvas
|
<static> |
Potree.importScripts(path)
includes the javascript file at {path} by adding a script tag to the document.
|
<static> |
Potree.init(canvas)
|
<static> |
Potree.initGL()
creates the WebGL context
|
<static> |
Potree.isWebGLEnabled(canvas)
|
<static> |
Potree.mainLoop()
|
<static> |
Potree.update(time)
|
Field Detail
<static>
Potree.includes
a list of all js files that must be included by Potree
Method Detail
<static>
Potree.calculateTimeSinceLastFrame()
<static>
{SceneNode}
Potree.createGridNode()
a grid at the origin.
- Returns:
- {SceneNode}
<static>
Potree.draw()
draws a frame to the canvas
<static>
Potree.importScripts(path)
includes the javascript file at {path} by adding a script tag to the document.
- Parameters:
- path
- Potree library path
- Returns:
<static>
Potree.init(canvas)
- Parameters:
- canvas
- the canvas element for rendering. Potree can only be intialized once.
- Returns:
<static>
Potree.initGL()
creates the WebGL context
<static>
Potree.isWebGLEnabled(canvas)
- Parameters:
- canvas
<static>
Potree.mainLoop()
<static>
Potree.update(time)
- Parameters:
- time