DomElement3D

new DomElement3D(domElement, scalar)

Composed of a CSS3DObject containing html and a THREE.Object3D superposing each other

Parameters:
NameTypeDefaultDescription
domElementHTMLElement

dom element

scalarnumber1

scale domelement content

Classes

DomElement3D

Members

css3DObject :CSS3DObject

css3D object

Type:
  • CSS3DObject

domElement :HTMLElement

html element of css3Dobject

Type:
  • HTMLElement

isSelected :boolean

selected (css style is different if true or false)

Type:
  • boolean

maskObject :THREE.Object3D

mask superposing css3DObject

Type:
  • THREE.Object3D

scalar :number

Type:
  • number

uuid :string

uuid

Type:
  • string

Methods

select(value)

Set if this is selected or not and update css style

Parameters:
NameTypeDescription
valueboolean

new selected value