H. Pauwelyn
H. Pauwelyn

Reputation: 14320

Add 2D images in scene using A-frame

Is it possible to add 2D images like below in my scene. I'm using (version 0.5.0) in combination with .

Search icon

I've tried to watch inside the inspector tools (ctrl + alt + I) it there is an option to add this but nothing found to add an image component.

Upvotes: 1

Views: 5992

Answers (2)

ngokevin
ngokevin

Reputation: 13233

<a-image src="image.png">

Upvotes: 2

thoragio
thoragio

Reputation: 289

Add a plane entity to the scene first and then attach your image to it as a texture.

See the A-Frame documentation for more details: https://aframe.io/docs/0.5.0/primitives/a-plane.html

Upvotes: 1

Related Questions