new ThreeContext()
A combination of context, camera and renderer of three.js.
Methods
-
getDimension() → {Hash}
-
Get width and height of context.
Returns:
{width, height}- Type
- Hash
-
setDimension(width, height)
-
Set width and height of context.
Parameters:
Name Type Description width
Int height
Int