prefab
US /ˈpriˌfæb/
・UK /ˈpri:fæb/
C2 高級
n.名詞預鑄住宅,組合式房屋
The young family decided to build a chea,p prefab home on their old family property
影片字幕
網格渲染器和濾鏡 - Unity官方教程 (Mesh Renderers and Filters - Unity Official Tutorials)
03:13
- prefab asset that includes a mesh filter
網格著色器不會對設定為皮膚的網格上色
- prefab game object with it's own
正常情況下,這個列表只會包含一種材質
預製板 - 概念和用法 - Unity官方教程 (Prefabs - Concept and usage - Unity Official Tutorials)
01:33
- To make a prefab simply create your game object
你可以從專案裡選取一個預製 然後在檢視裡調整它的屬性
- to save it as a prefab.
就會回存到預製 接下來你可以將預製的實體從場景上刪除
混合現實實用工具包:使用 Meta XR SDK 構建空間感知應用程序 (Mixed Reality Utility Kit: Build spatially-aware apps with Meta XR SDK)
13:59
- Let's now look at our MRUK prefab that contains the main component MRUK, which is a singleton and therefore should only exist once within our scene.
現在讓我們看看包含主要組件 MRUK 的 MRUK prefab,它是一個單例,是以在場景中只存在一次。
- Our data source can either be a room prefab which is provided to us by the utility kit already, or it can be the scene model that we have created inside our headset already.
我們的數據源可以是由實用工具包提供的房間預製件,也可以是我們已經在頭顯內部創建的場景模型。
空間錨 - 混合現實 Unity XR 教程 (Spatial Anchor - Mixed Reality Unity XR Tutorial)
19:05
- And this can create some issues because if we want to spawn some prefab on the anchor, we need to wait for the anchor to be processed.
這可能會產生一些問題,因為如果我們想在錨點上生成一些預製件,就需要等待錨點被處理。
- But actually, you can override this prefab here with this anchor-prefab parameters.
但實際上,你可以使用錨點預製參數覆蓋這個預製。
Meta Quest 空間錨點 | 創建、保存、刪除和加載空間錨點 (Meta Quest Spatial Anchors | Create, Save, Erase & Load spatial anchors)
15:11
- Inside this class, we declare a public variable called AnchorPrefab to hold a reference to the prefab you want to instantiate in the game.
在該類中,我們聲明瞭一個名為 AnchorPrefab 的公有變量,用於保存對要在遊戲中實例化的預製板的引用。
- This method creates an instance of the prefab at the current position and rotation of the right controller, utilizing the OVR input, and then adds an OVRSpatialAnchor component to newly created prefab instance.
該方法利用 OVR 輸入,在右控制器的當前位置和旋轉位置創建一個預製件實例,然後在新創建的預製件實例中添加一個 OVRSpatialAnchor 組件。