The EditorSceneViewGUI type exposes the following members.
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
EditorSceneViewGUI |
Methods
Name | Description | |
---|---|---|
GetScreenHeight |
Returns Screen.height or Screen.height minus SceneViewHeightError,
depending on whether we're in the scene view or not (this is to work around an offset
bug of Unity).
| |
GetScreenWidth |
Returns Screen.width or Screen.width minus SceneViewWidthError,
depending on whether we're in the scene view or not (this is to work around an offset
bug of Unity).
| |
Toggle(Rect, Boolean) |
Toggle that alterates between being a button and a box.
| |
Toggle(Rect, Boolean, GUIContent, GUIContent) |
A toggle with two icons representing the different states.
| |
ToggleWithToolTip |
A toggle with two icons representing the different states, and tooltips for both states.
|
Fields
Name | Description | |
---|---|---|
SceneViewHeightError |
The scene view pretends to be 40 pixels higher than it really
is (at least in Unity 3.5.7).
| |
SceneViewWidthError |
The scene view pretends to be about 2 pixels wider than it really
is (at least in Unity 3.5.7).
|
See Also