EditorSceneViewGUI MembersScoreFlash API Documentation V4.6.0

The EditorSceneViewGUI type exposes the following members.
Constructors

  NameDescription
Public methodEditorSceneViewGUI
Back to Top
Methods

  NameDescription
Public methodStatic memberGetScreenHeight
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).
Public methodStatic memberGetScreenWidth
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).
Public methodStatic memberToggle(Rect, Boolean)
Toggle that alterates between being a button and a box.
Public methodStatic memberToggle(Rect, Boolean, GUIContent, GUIContent)
A toggle with two icons representing the different states.
Public methodStatic memberToggleWithToolTip
A toggle with two icons representing the different states, and tooltips for both states.
Back to Top
Fields

  NameDescription
Public fieldStatic memberSceneViewHeightError
The scene view pretends to be 40 pixels higher than it really is (at least in Unity 3.5.7).
Public fieldStatic memberSceneViewWidthError
The scene view pretends to be about 2 pixels wider than it really is (at least in Unity 3.5.7).
Back to Top
See Also