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

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
主站蜘蛛池模板: 天全县| 昆山市| 伊宁县| 恩施市| 霍山县| 吴川市| 富蕴县| 环江| 如皋市| 深水埗区| 柘城县| 雷山县| 永福县| 桂林市| 玉田县| 南开区| 尚志市| 漠河县| 聂拉木县| 大石桥市| 富源县| 肥东县| 奉节县| 兰溪市| 元朗区| 新野县| 太白县| 东丰县| 桐柏县| 永寿县| 甘肃省| 西盟| 靖宇县| 潼关县| 增城市| 盐津县| 海宁市| 德庆县| 五莲县| 梁河县| 荆州市|