C# Class UnityEditor.SpriteUtilityWindow

Inheritance: EditorWindow
显示文件 Open project: randomize/VimConfig Class Usage Examples

Protected Properties

Property Type Description
m_MipLevel float
m_ScrollPosition Vector2
m_ShowAlpha bool
m_Texture UnityEngine.Texture2D
m_TextureRect UnityEngine.Rect
m_TextureViewRect UnityEngine.Rect
m_Zoom float
s_Styles Styles

Protected Methods

Method Description
DoAlphaZoomToolbarGUI ( ) : void
DoTextureGUI ( ) : void
DoTextureGUIExtras ( ) : void
DrawGizmos ( ) : void
DrawScreenspaceBackground ( ) : void
DrawTexture ( ) : void
DrawTexturespaceBackground ( ) : void
GetMinZoom ( ) : float
HandlePanning ( ) : void
HandleScrollbars ( ) : void
HandleZoom ( ) : void
InitStyles ( ) : void
SetNewTexture ( Texture2D texture ) : void
SetupHandlesMatrix ( ) : void

Private Methods

Method Description
Log2 ( float x ) : float
OnResized ( ) : void

Method Details

DoAlphaZoomToolbarGUI() protected method

protected DoAlphaZoomToolbarGUI ( ) : void
return void

DoTextureGUI() protected method

protected DoTextureGUI ( ) : void
return void

DoTextureGUIExtras() protected method

protected DoTextureGUIExtras ( ) : void
return void

DrawGizmos() protected method

protected DrawGizmos ( ) : void
return void

DrawScreenspaceBackground() protected method

protected DrawScreenspaceBackground ( ) : void
return void

DrawTexture() protected method

protected DrawTexture ( ) : void
return void

DrawTexturespaceBackground() protected method

protected DrawTexturespaceBackground ( ) : void
return void

GetMinZoom() protected method

protected GetMinZoom ( ) : float
return float

HandlePanning() protected method

protected HandlePanning ( ) : void
return void

HandleScrollbars() protected method

protected HandleScrollbars ( ) : void
return void

HandleZoom() protected method

protected HandleZoom ( ) : void
return void

InitStyles() protected method

protected InitStyles ( ) : void
return void

SetNewTexture() protected method

protected SetNewTexture ( Texture2D texture ) : void
texture UnityEngine.Texture2D
return void

SetupHandlesMatrix() protected method

protected SetupHandlesMatrix ( ) : void
return void

Property Details

m_MipLevel protected_oe property

protected float m_MipLevel
return float

m_ScrollPosition protected_oe property

protected Vector2 m_ScrollPosition
return Vector2

m_ShowAlpha protected_oe property

protected bool m_ShowAlpha
return bool

m_Texture protected_oe property

protected Texture2D,UnityEngine m_Texture
return UnityEngine.Texture2D

m_TextureRect protected_oe property

protected Rect,UnityEngine m_TextureRect
return UnityEngine.Rect

m_TextureViewRect protected_oe property

protected Rect,UnityEngine m_TextureViewRect
return UnityEngine.Rect

m_Zoom protected_oe property

protected float m_Zoom
return float

s_Styles protected_oe static_oe property

protected static Styles s_Styles
return Styles