C# 클래스 TuxedoBerries.ScenePanel.Controllers.TextureDatabase

Texture database. Provide a databse of the scenes snapshots.
파일 보기 프로젝트 열기: TuxedoBerries/ScenePanel 1 사용 예제들

공개 메소드들

메소드 설명
Clear ( ) : void

Clear this instance.

GetRelativeTexture ( string path ) : Texture

Gets the texture using the relative path fro this class file.

GetTexture ( string path ) : Texture

Gets the texture by path if any.

GetTexture ( string path, bool refresh ) : Texture

Gets the texture by path if any. If refresh is true, it will force to update the texture.

RefreshCache ( string path ) : bool

Refreshs the cache.

TextureDatabase ( ) : System.Collections.Generic
isCached ( string path ) : bool

Check if the given texture path is cached

비공개 메소드들

메소드 설명
LocateRelativePath ( ) : void

메소드 상세

Clear() 공개 메소드

Clear this instance.
public Clear ( ) : void
리턴 void

GetRelativeTexture() 공개 메소드

Gets the texture using the relative path fro this class file.
public GetRelativeTexture ( string path ) : Texture
path string Path.
리턴 UnityEngine.Texture

GetTexture() 공개 메소드

Gets the texture by path if any.
public GetTexture ( string path ) : Texture
path string Path.
리턴 UnityEngine.Texture

GetTexture() 공개 메소드

Gets the texture by path if any. If refresh is true, it will force to update the texture.
public GetTexture ( string path, bool refresh ) : Texture
path string Path.
refresh bool If set to true refresh.
리턴 UnityEngine.Texture

RefreshCache() 공개 메소드

Refreshs the cache.
public RefreshCache ( string path ) : bool
path string Path.
리턴 bool

TextureDatabase() 공개 메소드

public TextureDatabase ( ) : System.Collections.Generic
리턴 System.Collections.Generic

isCached() 공개 메소드

Check if the given texture path is cached
public isCached ( string path ) : bool
path string Path.
리턴 bool