Inheritance: EventDispatcher → Object3D →
The base 3D object that is supported by CSS3DRenderer.
CSS3DObject is an addon, and must be imported explicitly, see Installation#Addons.
import { CSS3DObject } from 'three/addons/renderers/CSS3DRenderer.js';
Constructs a new CSS3D object.
element
The DOM element.
The DOM element which defines the appearance of this 3D object.
Default is true.
This flag can be used for type testing.
Default is true.