C# Класс TuxedoBerries.ScenePanel.Drawers.ScreenshotDrawer

Screenshot drawer. Draws the screenshot tool.
Наследование: BaseDrawer
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
DrawConfiguration ( ) : void

Draws the configuration.

DrawControls ( string dataPath, bool enableShot ) : string

Draws the controls for a screenshot.

DrawControls ( string dataPath, bool enableShot, string suggestedFolder, string suggestedName ) : string

Draws the controls for a screenshot.

DrawFull ( ) : void

Draws the configuration, controls and previews for a screenshot using the last screenshot taken.

DrawPreview ( string dataPath ) : bool

Draws the preview screenshot given the image path.

DrawSnapshot ( ISceneEntity entity ) : void

Draws the snapshot section of the entity.

ScreenshotDrawer ( ) : System.Collections.Generic

Приватные методы

Метод Описание
DeleteAllGeneralScreenshots ( ) : void
DrawOpenFolderButton ( string dataPath ) : void
DrawRefreshScreenshotButton ( string dataPath ) : string
DrawScreenshots ( ) : void
DrawTakeScreenshotButton ( string dataPath, bool enableShot, string suggestedFolder, string suggestedName ) : string
GetContent ( string label, string tooltip ) : GUIContent
GetContentIcon ( string iconName, string tooltip ) : GUIContent
GetTexture ( string path, bool refresh ) : Texture
MaxHeight ( Texture texture ) : float
MaxWidth ( Texture texture ) : float
RefreshScreenshots ( ) : void

Описание методов

DrawConfiguration() публичный Метод

Draws the configuration.
public DrawConfiguration ( ) : void
Результат void

DrawControls() публичный Метод

Draws the controls for a screenshot.
public DrawControls ( string dataPath, bool enableShot ) : string
dataPath string Data path.
enableShot bool If set to true enable shot.
Результат string

DrawControls() публичный Метод

Draws the controls for a screenshot.
public DrawControls ( string dataPath, bool enableShot, string suggestedFolder, string suggestedName ) : string
dataPath string Data path.
enableShot bool If set to true enable shot.
suggestedFolder string
suggestedName string
Результат string

DrawFull() публичный Метод

Draws the configuration, controls and previews for a screenshot using the last screenshot taken.
public DrawFull ( ) : void
Результат void

DrawPreview() публичный Метод

Draws the preview screenshot given the image path.
public DrawPreview ( string dataPath ) : bool
dataPath string Data path.
Результат bool

DrawSnapshot() публичный Метод

Draws the snapshot section of the entity.
public DrawSnapshot ( ISceneEntity entity ) : void
entity ISceneEntity Entity.
Результат void

ScreenshotDrawer() публичный Метод

public ScreenshotDrawer ( ) : System.Collections.Generic
Результат System.Collections.Generic