How to rotate TouchHolographicButton?

Self-explanatory. It seems don’t have a property or method to set its rotation value.

It might be odd to say, but why not just rotate the anchor?

What is anchor?

Oh, yes sorry. Thought you visited the doc and featured PGs for the 3D GUI.
It’s an abstract mesh you can use as a transform node.

1 Like
 var touchHoloTextButton = new TouchHolographicButton("TouchHoloTextButton");
touchHoloTextButton .mesh!.rotation.y=Math.PI/2;

This may seem strange, but I can actually do rotate TouchHolographicButton