Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to add rounded edges to a-plane (Aframe) Web VR

Tags:

aframe

How can i add rounded edges/border radius to a a-plane?

<a-plane position="1 0.75 -3" geometry="width: 1.25; height: 1.25;depth: 1.25;"></a-plane> i have to make a square with rounded edges

like image 589
Tim Avatar asked Feb 13 '18 20:02

Tim


1 Answers

Rounded corners with a-plane is not possible. You can use the slice9 component

slice9

like image 200
Diego Marcos Avatar answered Oct 14 '22 15:10

Diego Marcos