Doc > Nodes > SOP > CSS2DObject

Doc > Nodes > SOP > CSS2DObject

Creates CSS2DObjects.

Description

This is very useful to create 2D html labels that would be positioned at specific points in the 3D world. Note that the camera must be configured to use a CSS2DRenderer to display them

Parameters

Name Type Description
useIdAttrib boolean defines if the vertex id attribute is used to create the html id attribute
id string value of the html element id attribute
useClassAttrib boolean defines if the vertex class attribute is used to create the html class
className string value of the html class
useHTMLAttrib boolean defines if the vertex html attribute is used to create the html content
html string value of the html content
copyAttributes boolean toggles on if attributes are copied from the geometry to the html element
attributesToCopy string names of the attributes that are copied from the geometry to the html element