/home/lindsay/xeolabs/xeogl-next/xeogl/src/xeogl.js
API Docs for:

File: /home/lindsay/xeolabs/xeogl-next/xeogl/src/xeogl.js

  1. /**
  2. The xeogl namespace.
  3.  
  4. @class xeogl
  5. @main xeogl
  6. @static
  7. @author xeolabs / http://xeolabs.com/
  8. */
  9. import {core} from "./core.js";
  10. import {tasks} from "./tasks.js";
  11. import {loop} from "./loop.js";
  12. import {utils} from "./utils.js";
  13.  
  14. // Core framework
  15.  
  16. export {WEBGL_INFO} from "./webglInfo.js";
  17. export {stats} from "./stats.js";
  18. export {math} from "./math/math.js";
  19.  
  20. export const scenes = core.scenes;
  21. export const getDefaultScene = core.getDefaultScene;
  22. export const setDefaultScene = core.setDefaultScene;
  23. export const scheduleTask = tasks.scheduleTask;
  24. export const clear = core.clear;
  25. export const _isString = utils.isString; // Backward compat
  26. export const _apply = utils.apply; // Backward compat
  27. export const _isNumeric = utils.isNumeric;
  28.  
  29. // Component classes
  30.  
  31. export {Component} from "./component.js";
  32. export {CameraFlightAnimation} from './animation/cameraFlightAnimation.js';
  33. export {Canvas} from "./canvas/canvas.js";
  34. export {Spinner} from "./canvas/spinner.js";
  35. export {Clip} from "./clipping/clip.js";
  36. export {CameraControl} from "./controls/cameraControl.js";
  37. export {Geometry} from "./geometry/geometry.js";
  38. export {BoxGeometry} from "./geometry/boxGeometry.js";
  39. export {TorusGeometry} from "./geometry/torusGeometry.js";
  40. export {SphereGeometry} from "./geometry/sphereGeometry.js";
  41. export {OBBGeometry} from "./geometry/obbGeometry.js";
  42. export {AABBGeometry} from "./geometry/aabbGeometry.js";
  43. export {CylinderGeometry} from "./geometry/cylinderGeometry.js";
  44. export {PlaneGeometry} from "./geometry/planeGeometry.js";
  45. export {Input} from "./input/input.js";
  46. export {AmbientLight} from "./lighting/ambientLight.js";
  47. export {DirLight} from "./lighting/dirLight.js";
  48. export {PointLight} from "./lighting/pointLight.js";
  49. export {SpotLight} from "./lighting/spotLight.js";
  50. export {CubeTexture} from "./lighting/cubeTexture.js";
  51. export {LightMap} from "./lighting/lightMap.js";
  52. export {ReflectionMap} from "./lighting/reflectionMap.js";
  53. export {Shadow} from "./lighting/shadow.js";
  54. export {Model} from "./models/model.js";
  55. export {Mesh} from "./objects/mesh.js";
  56. export {Group} from "./objects/group.js";
  57. export {xeoglObject as Object} from "./objects/object.js";
  58. export {Material} from "./materials/material.js";
  59. export {PhongMaterial} from "./materials/phongMaterial.js";
  60. export {LambertMaterial} from "./materials/lambertMaterial.js";
  61. export {SpecularMaterial} from "./materials/specularMaterial.js";
  62. export {MetallicMaterial} from "./materials/metallicMaterial.js";
  63. export {EmphasisMaterial} from "./materials/emphasisMaterial.js";
  64. export {EdgeMaterial} from "./materials/edgeMaterial.js";
  65. export {OutlineMaterial} from "./materials/outlineMaterial.js";
  66. export {Texture} from "./materials/texture.js";
  67. export {Fresnel} from "./materials/fresnel.js";
  68. export {Viewport} from "./viewport/viewport.js";
  69. export {Camera} from "./camera/camera.js";
  70. export {Frustum} from "./camera/frustum.js";
  71. export {Ortho} from "./camera/ortho.js";
  72. export {Perspective} from "./camera/perspective.js";
  73. export {CustomProjection} from "./camera/customProjection.js"
  74. export {Scene} from "./scene/scene.js";
  75.  
  76.  
  77.