API Documentation

for 0.0.1
Show:

Engine3D Class

Engine3D class contains the technical elements that bind Mobilizing.js API to a 3D rendering library. Currently, it's Three.js that is used to acheive 3D rendering. In the future, we can imagine to use an other library or a home made Engine.

Constructor

Engine3D

(
  • canvas
  • context
)

Parameters:

  • canvas Canvas

    the canvas to use, if any, otherwise the Engine produce one.

  • context Context

    the Mobilizing.js context to use, if any.

Item Index

Methods

getCanvas

() Canvas

Returns the current Engine rendering canvas

Returns:

Canvas:

the canvas being used.

killShaderInfoLog

()

Avoid Infinite Logs coming from browser shader bad compilation