C# 클래스 TuxedoBerries.ScenePanel.Drawers.ScreenshotDrawer

Screenshot drawer. Draws the screenshot tool.
상속: BaseDrawer
파일 보기 프로젝트 열기: TuxedoBerries/ScenePanel 1 사용 예제들

공개 메소드들

메소드 설명
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