Capítulo 534 de 859
The base 3D object that is supported by CSS3DRenderer.
import { CSS3DObject } from 'three/addons/renderers/CSS3DRenderer.js';
Constructor
| Signature |
|---|
new CSS3DObject( element : HTMLElement ) |
Properties
| Property | Description |
|---|---|
.element : HTMLElement (readonly) | The DOM element which defines the appearance of this 3D object. |
.isCSS3DObject : boolean (readonly) | This flag can be used for type testing. |