【Unity】UI界面展示3D模型

方法一: 使用RenderTexture。RawImage作爲UI元素可隨意調節顯示層級(即UI子物體先後順序),適合將3D物體投影到局部UI界面。 1. Project中創建RenderTexture; 2. UI新建RawImage,設置Texture爲RenderTexture; 3. 3D物體Cube標記Layer爲"Cube"; 4. 新建相機,設置ClearFlags、CullingM
相關文章
相關標籤/搜索