DrawCameraMode 绘制相机模式
Enumeration
Drawing modes for Handles.DrawCamera.
应用Handles.DrawCamera的绘制模式。
Note: This is an editor class. To use it you have to place your script in Assets/Editor inside your project folder. Editor classes are in the UnityEditor namespace so for C# scripts you need to add "using UnityEditor;" at the beginning of the script.
注意:这是一个编辑器类,如果想使用它你需要把它放到工程目录下的Assets/Editor文件夹下。编辑器类在UnityEditor命名空间下。所以当使用C#脚本时,你需要在脚本前面加上 "using UnityEditor"引用。
Values值
-
Draw the camera like it would be drawn in-game. This uses the clear flags of the camera.
绘制相机,就像在游戏中绘制。这这用于清除相机的标识。 -
Draw the camera textured with selection wireframe and no background clearing.
绘制带纹理的相机,带有选择线框和无背景清除。 -
Draw the camera in wireframe and no background clearing.
绘制相机,带有线框和无背景清除。 -
Draw the camera where all objects have a wireframe overlay. and no background clearing.
绘制相机,所有物体都有线框和无背景清除。 -
Draw color-coded render paths. // 绘制颜色代码渲染路径。
-
Draw textured with overlaid lightmap resolution grid.
绘制带有覆盖光照贴图分辨率网格纹理。
最后修改:2011年7月18日 Monday 14:00