简体   繁体   English

如何设置默认值 <a-sky> 一个框架

[英]How to Set Default <a-sky> Aframe

i saw people project using double image on a sky 我看到人们在天空上使用双像投影

[https://codepen.io/captDaylight/full/PNaVmR/][code]

when u open that you can see 2 sphere, and default background is white / without image. 当您打开时,您可以看到2个球体,默认背景为白色/无图像。 then if you move your cursor to sphere you can see background changed from white to image, nah im just confuse how to set default image for white background. 然后,如果将光标移到球形,您会看到背景从白色变为图像,不,我只是混淆了如何为白色背景设置默认图像。 i mean when i open that i can saw default image from my setting, only default image when i open that first time, other still same. 我的意思是,当我打开时,我可以从设置中看到默认图像,第一次打开时只能看到默认图像,其他都一样。 can anyone help me? 谁能帮我? im really tired to tryng set default image. 我真的很累尝试设置默认图像。

设置src: <a-sky src="myimg.jpg">

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM