C# Class UnityEditor.ScreenShots

显示文件 Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Public Properties

Property Type Description
kToolbarBorderColor Color
kWindowBorderColor Color
s_TakeComponentScreenshot bool

Public Methods

Method Description
SaveScreenShot ( Rect r, string name ) : void
SaveScreenShotWithBorder ( Rect r, Color borderColor, string name ) : string
ScreenShotComponent ( Rect contentRect, Object target ) : void

Private Methods

Method Description
GetGUIViewName ( GUIView view ) : string
GetMouseOverView ( ) : GUIView
GetUniquePathForName ( string name ) : string
SaveScreenShot ( int width, int height, Color pixels, string name ) : string
ScreenGameViewContent ( ) : void
ScreenShotComponent ( ) : void
Screenshot ( ) : void
ScreenshotExtendedRight ( ) : void
ScreenshotToolbar ( ) : void
SetMainWindowSize ( ) : void
SetMainWindowSizeSmall ( ) : void
ToggleFakeNonDeveloperBuild ( ) : void

Method Details

SaveScreenShot() public static method

public static SaveScreenShot ( Rect r, string name ) : void
r UnityEngine.Rect
name string
return void

SaveScreenShotWithBorder() public static method

public static SaveScreenShotWithBorder ( Rect r, Color borderColor, string name ) : string
r UnityEngine.Rect
borderColor Color
name string
return string

ScreenShotComponent() public static method

public static ScreenShotComponent ( Rect contentRect, Object target ) : void
contentRect UnityEngine.Rect
target Object
return void

Property Details

kToolbarBorderColor public_oe static_oe property

public static Color kToolbarBorderColor
return Color

kWindowBorderColor public_oe static_oe property

public static Color kWindowBorderColor
return Color

s_TakeComponentScreenshot public_oe static_oe property

public static bool s_TakeComponentScreenshot
return bool