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

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
主站蜘蛛池模板: 濮阳市| 安福县| 井陉县| 哈巴河县| 敦化市| 基隆市| 凤台县| 通江县| 泾阳县| 阆中市| 嘉黎县| 阿勒泰市| 苏州市| 阜阳市| 河源市| 易门县| 美姑县| 宜君县| 宜宾县| 边坝县| 西平县| 佳木斯市| 扶绥县| 万安县| 平武县| 禄丰县| 富顺县| 郑州市| 凤台县| 循化| 焉耆| 大兴区| 财经| 富宁县| 塔河县| 浏阳市| 龙游县| 南江县| 涞水县| 清丰县| 安泽县|