CssTransformComponent

CssTransformComponent

Connects a domElement to an entity and applies the transformComponent of the entity to the domElement with CSS3 3D transforms.

Constructor

new CssTransformComponent(domElement, faceCamera)

Parameters:
Name Type Description
domElement domElement
faceCamera boolean

Members

domElement

DOM element.

faceCamera :boolean

scale :number

Default Value:
  • 1