new DomElement3D(domElement, scalar)
Composed of a CSS3DObject
containing html and a THREE.Object3D
superposing each other
Parameters:
Name | Type | Default | Description |
---|---|---|---|
domElement | HTMLElement | dom element | |
scalar | number | 1 | scale domelement content |
- Source
Classes
Members
css3DObject :CSS3DObject
css3D object
Type:
- CSS3DObject
- Source
domElement :HTMLElement
html element of css3Dobject
Type:
- HTMLElement
- Source
isSelected :boolean
selected (css style is different if true or false)
Type:
- boolean
- Source
maskObject :THREE.Object3D
mask superposing css3DObject
Type:
- THREE.
Object3D
- Source
scalar :number
Type:
- number
- Source
uuid :string
uuid
Type:
- string
- Source
Methods
select(value)
Set if this is selected or not and update css style
Parameters:
Name | Type | Description |
---|---|---|
value | boolean | new selected value |
- Source