[name] is a simplified version of [page:CSS3DRenderer]. The only transformation that is supported is translation.

The renderer is very useful if you want to combine HTML based labels with 3D objects. Here too, the respective DOM elements are wrapped into an instance of *CSS2DObject* and added to the scene graph.


[example:webgl_loader_pdb molecules]




[method:Object getSize]()

Returns an object containing the width and height of the renderer.

[method:null render]( [param:Scene scene], [param:Camera camera] )

Renders a [page:Scene scene] using a [page:Camera camera].

[method:null setSize]([param:Number width], [param:Number height])

Resizes the renderer to (width, height).


[link:https://github.com/mrdoob/three.js/blob/master/examples/jsm/renderers/CSS2DRenderer.js examples/jsm/renderers/CSS2DRenderer.js]