EditorGUIUtility 编辑器界面工具
Inherits from GUIUtility
Misc helper stuff for EditorGUI.
EditorGUI的辅助工具。
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"引用。
Class Variables类变量
-
Get a white texture. // 获取一个白色纹理。
-
The system copy buffer. // 系统复制缓冲区。
Class Functions类函数
-
Return a GUIContent object with the name and icon of an Object.
返回一个GUIContent对象,带有名称和物体的图标。 -
Does a given class have per-object thumbnails?
给定的类每个物体都有缩略图? -
Get a texture from its source filename.
从源文件名获取一个纹理。 -
Get one of the built-in GUI skins // 获取内置的GUISkin。
-
Load a built-in resource that has to be there.
加载一个已有的内置资源。 -
Load a built-in resource // 加载一个内置资源。
-
Ping an object in a window like clicking it in an inspector
在窗口Ping一个物体,就像在检视面板点击它。 -
Render all ingame cameras. // 渲染游戏中所有的相机。
-
Send an input event into the game. // 发送导入事件到游戏。
-
Make all ref::EditorGUI look like regular controls.
使所有ref::EditorGUI看起来像标准控件。 -
Make all EditorGUI look like simplified outline view controls.
使所有EditorGUI看起来像简单大纲视图控件。 -
Creates an event // 创建一个事件。
-
Draw a color swatch. // 绘制一个颜色样本。
-
Draw a curve swatch. // 绘制一个曲线样本。
-
Convert a color from RGB to HSV color space.
转换颜色从RGB 到 HSV颜色空间。 -
Convert a set of HSV values to an RGB Color.
转换HSV值到RGB颜色。 -
Add a custom mouse pointer to a control
添加一个自定义鼠标指针到控件。
Inherited members继承成员
Inherited Class Variables继承类变量
-
The controlID of the current hot control.
当前热点控件的controlID。 -
The controlID of the control that has keyboard focus.
具有键盘焦点控件的controlID。
Inherited Class Functions继承类函数
-
Get a unique ID for a control.
为控件获取一个唯一ID。 -
Get a state object from a controlID.
从一个controlID获取一个状态的物体。 -
Get an existing state object from a controlID.
从一个controlID获取一个存在的状态物体。 -
Convert a point from GUI position to screen space.
转换一个点从GUI位置到屏幕坐标空间。 -
Convert a point from screen space to GUI position.
转换一个点从屏幕坐标空间位置到GUI位置。 -
Helper function to rotate the GUI around a point.
使GUI绕一个点旋转的辅助函数。 -
Helper function to scale the GUI around a point.
使GUI沿一个点缩放的辅助函数。
最后修改:2011年10月8日 Saturday 13:11