CSS2DObject How to override the transform attribute

                        let labelObject = new CSS2DObject(labelDiv);
			labelObject.name = label;
			labelObject.position.set(point.x, point.y, point.z);

I want to set the rotate of the transform attribute of css2dobject separately. What should I do?

I’m afraid manually defining the transform attribute is not possible since it is overwritten by CSS2DRenderer. Consider to use a custom version of the renderer.

I have found a solution that is to add another tag to the created tag to make attribute changes to it

1 Like