官术网_书友最值得收藏!

Changing the background color

Another thing we need to change is the color of the virtual world. We do this by changing Clear flags. This is the color that is being used when no pixels need to be drawn for our scene. In a game, it would be nice to have a default background such as the one we see now, but in HoloLens, we want the default to be transparent and thus black.

Change Clear Flags from Skybox to Solid color and change the background color underneath this to black (RGB--0,0,0).

Every now and then, Unity might show Skybox again when we select other objects, but this is something we can ignore.

The camera itself has a "MainCamera" tag. This means that the SDK will take this camera and use it as the point of view. You can have multiple cameras in a scene, but only one camera can be the main camera. By default, this tag is already assigned, so we do not need to change anything here.

The properties of the main camera
主站蜘蛛池模板: 高密市| 岳西县| 乳源| 阿拉尔市| 凤台县| 定日县| 祁连县| 大同市| 平泉县| 康乐县| 宝鸡市| 乐业县| 彰化县| 靖州| 隆子县| 麟游县| 东宁县| 健康| 德令哈市| 偃师市| 武汉市| 广元市| 右玉县| 永昌县| 麦盖提县| 仁化县| 蓝田县| 故城县| 铁岭市| 凤凰县| 自治县| 石泉县| 色达县| 安塞县| 奉新县| 辰溪县| 江孜县| 长汀县| 天等县| 辽阳市| 元朗区|