C# Class UnityEditor.AudioMixerDrawUtils

ファイルを表示 Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Public Properties

Property Type Description
kBackgroundHi Color
kBackgroundHiHighlight Color
kBackgroundLo Color
kBackgroundLoHighlight Color

Public Methods

Method Description
AddTooltipOverlay ( Rect r, string tooltip ) : void
BuildGUIStyleForLabel ( Color color, int fontSize, bool wrapText, FontStyle fontstyle, TextAnchor anchor ) : GUIStyle
DrawConnection ( Color col, float mixLevel, float srcX, float srcY, float dstX, float dstY, float width ) : void
DrawGradientRect ( Rect r, Color c1, Color c2 ) : void
DrawGradientRectHorizontal ( Rect r, Color c1, Color c2 ) : void
DrawLine ( float x1, float y1, float x2, float y2, Color c ) : void
DrawRect ( Rect rect, Color color ) : void
DrawRegionBg ( Rect rect, Rect &headerRect, Rect &contentRect ) : void
DrawScrollDropShadow ( Rect scrollViewRect, float scrollY, float contentHeight ) : void
DrawSplitter ( ) : void
DrawVerticalShow ( Rect rect, bool fadeToTheRight ) : void
GetAlpha ( ) : float
GetEffectColor ( AudioMixerEffectController effect ) : Color
HeaderLabel ( Rect r, GUIContent text, Texture2D icon ) : void
InitStyles ( ) : void
ReadOnlyLabel ( Rect r, GUIContent content, GUIStyle style ) : void
ReadOnlyLabel ( Rect r, string text, GUIStyle style ) : void
ReadOnlyLabel ( Rect r, string text, GUIStyle style, string tooltipText ) : void
Vertex ( float x, float y ) : void

Private Methods

Method Description
DetectVertexOffset ( ) : void

Method Details

AddTooltipOverlay() public static method

public static AddTooltipOverlay ( Rect r, string tooltip ) : void
r UnityEngine.Rect
tooltip string
return void

BuildGUIStyleForLabel() public static method

public static BuildGUIStyleForLabel ( Color color, int fontSize, bool wrapText, FontStyle fontstyle, TextAnchor anchor ) : GUIStyle
color Color
fontSize int
wrapText bool
fontstyle FontStyle
anchor TextAnchor
return UnityEngine.GUIStyle

DrawConnection() public static method

public static DrawConnection ( Color col, float mixLevel, float srcX, float srcY, float dstX, float dstY, float width ) : void
col Color
mixLevel float
srcX float
srcY float
dstX float
dstY float
width float
return void

DrawGradientRect() public static method

public static DrawGradientRect ( Rect r, Color c1, Color c2 ) : void
r UnityEngine.Rect
c1 Color
c2 Color
return void

DrawGradientRectHorizontal() public static method

public static DrawGradientRectHorizontal ( Rect r, Color c1, Color c2 ) : void
r UnityEngine.Rect
c1 Color
c2 Color
return void

DrawLine() public static method

public static DrawLine ( float x1, float y1, float x2, float y2, Color c ) : void
x1 float
y1 float
x2 float
y2 float
c Color
return void

DrawRect() public static method

public static DrawRect ( Rect rect, Color color ) : void
rect UnityEngine.Rect
color Color
return void

DrawRegionBg() public static method

public static DrawRegionBg ( Rect rect, Rect &headerRect, Rect &contentRect ) : void
rect UnityEngine.Rect
headerRect UnityEngine.Rect
contentRect UnityEngine.Rect
return void

DrawScrollDropShadow() public static method

public static DrawScrollDropShadow ( Rect scrollViewRect, float scrollY, float contentHeight ) : void
scrollViewRect UnityEngine.Rect
scrollY float
contentHeight float
return void

DrawSplitter() public static method

public static DrawSplitter ( ) : void
return void

DrawVerticalShow() public static method

public static DrawVerticalShow ( Rect rect, bool fadeToTheRight ) : void
rect UnityEngine.Rect
fadeToTheRight bool
return void

GetAlpha() public static method

public static GetAlpha ( ) : float
return float

GetEffectColor() public static method

public static GetEffectColor ( AudioMixerEffectController effect ) : Color
effect UnityEditor.Audio.AudioMixerEffectController
return Color

HeaderLabel() public static method

public static HeaderLabel ( Rect r, GUIContent text, Texture2D icon ) : void
r UnityEngine.Rect
text UnityEngine.GUIContent
icon UnityEngine.Texture2D
return void

InitStyles() public static method

public static InitStyles ( ) : void
return void

ReadOnlyLabel() public static method

public static ReadOnlyLabel ( Rect r, GUIContent content, GUIStyle style ) : void
r UnityEngine.Rect
content UnityEngine.GUIContent
style UnityEngine.GUIStyle
return void

ReadOnlyLabel() public static method

public static ReadOnlyLabel ( Rect r, string text, GUIStyle style ) : void
r UnityEngine.Rect
text string
style UnityEngine.GUIStyle
return void

ReadOnlyLabel() public static method

public static ReadOnlyLabel ( Rect r, string text, GUIStyle style, string tooltipText ) : void
r UnityEngine.Rect
text string
style UnityEngine.GUIStyle
tooltipText string
return void

Vertex() public static method

public static Vertex ( float x, float y ) : void
x float
y float
return void

Property Details

kBackgroundHi public_oe static_oe property

public static Color kBackgroundHi
return Color

kBackgroundHiHighlight public_oe static_oe property

public static Color kBackgroundHiHighlight
return Color

kBackgroundLo public_oe static_oe property

public static Color kBackgroundLo
return Color

kBackgroundLoHighlight public_oe static_oe property

public static Color kBackgroundLoHighlight
return Color