camera.clearflags 清除旗标

2015-1-4 01:47| 发布者: 杨炎| 查看: 2220| 评论: 0|原作者: 蛮牛|来自: yzc88亚洲城脚本manual

摘要: camera.clearflags 清除标识varclearflags:cameraclearflagsdescription描述how the camera clears the background.相机如何清除背景。can becameraclearflags.skybox,cameraclearflags.solidcolor,cameraclearflags ...

camera.clearflags 清除标识

varclearflags:cameraclearflags

description描述

how the camera clears the background.

相机如何清除背景。

can becameraclearflags.skybox,cameraclearflags.solidcolor,cameraclearflags.depthorcameraclearflags.nothing.

c#

javascript

using unityengine;

using system.collections;

public class example :monobehaviour{

public void awake() {

camera.clearflags = cameraclearflags.solidcolor;

}

}

// clear with background color (ignore any skyboxes)

//用背景颜色清除(忽略天空盒)

camera.clearflags = cameraclearflags.solidcolor;

相关阅读

文章点评
相关文章