aframe

    1熱度

    1回答

    我需要在所有資產(圖片或視頻)加載到一個框架之前顯示加載效果。任何人都可以幫忙嗎?如果可能,我需要詳細的JavaScript代碼。

    2熱度

    3回答

    一個簡單的問題。我用了4-6個小時來找到這個,但沒有找到。 例,林建全景圖查看:<a-sky> <script src="https://aframe.io/releases/0.3.0/aframe.min.js"></script> <a-scene> <a-sky src="https://aframe.io/aframe/examples/boilerpla

    0熱度

    1回答

    我在A框架中有一個圓柱體,並在外部應用了紋理。我想讓這裏成爲一個冰屋,我可以進去。我如何將紋理應用到圓筒內部? <a-cylinder></a-cylinder> <a-entity geometry="primitive: cylinder" material="src: #texture"></a-entity>

    0熱度

    1回答

    我在我的項目中使用了A-Frame。有這個遊標組件可讓您通過點擊與元素進行交互,這與DOM點擊非常相似。 但是,在實現我的指針鎖定後,光標點擊不再有效。 指針鎖適用於我,我可以四處走動並環視四周,光標總是出現在我的面前。 爲什麼點擊不起作用?當我沒有進入指針鎖定模式時,我可以確認點擊工作正常。謝謝! 鏈接到我的演示: http://zichao.co/exp/_simu/ 我對 '#floor'

    0熱度

    1回答

    我不想改變相機以適應模型。我希望知道給定位置的正確尺寸,以確保縮放後的模型/幾何圖形將出現在屏幕中。 我不想移動相機,因爲我可能有許多不同的物體。 想法?

    0熱度

    1回答

    我有一個A字架的一幕: <a-scene> <a-box position="-1 0.5 -3" rotation="0 45 0" color="#4CC3D9"></a-box> <a-sphere position="0 1.25 -5" radius="1.25" color="#EF2D5E"></a-sphere> <a-cylinder posi

    2熱度

    1回答

    我在做A幀的實體setAttribute或$.attr()。例如, el.setAttribute('position', '2 2 2'); 位置更新,但我沒有看到它在HTML/DOM檢查器中更新。我剛剛設置<a-entity position>怎麼回事?

    0熱度

    1回答

    我試圖做這個動畫在A型架霧的顏色: <a-scene antialias="true" fog="type: exponential; color: #444; density: 0.1"> <a-animation attribute="fog.color" from="#444" to="#000" dur="2000"></a-animation> </a-scene> 但它

    0熱度

    1回答

    有沒有辦法以更漂亮的方式重用相同的動畫? <a-entity channel-selection class="channels" mixin="fontplane" material="opacity:0.6"> <a-animation attribute="material.opacity" begin="fade" to="0"></a-animation> <a-an

    4熱度

    1回答

    A-Frame正在將頁面鎖定在我正在使用的頁面中。當我用A-Frame場景打開頁面時,它佔用了100%的頁面寬度和高度,我無法滾動。有我需要刪除的課程嗎?