C# 클래스 AlbedoDatabaseGenerator.Database

상속: IDisposable
파일 보기 프로젝트 열기: Patapom/GodComplex 1 사용 예제들

공개 메소드들

메소드 설명
Database ( ) : System
Dispose ( ) : void
Export ( FileInfo _FileName ) : void

Exports the database to a JSON file readable by the javascript web page that will help browsing the textures

GetRelativePath ( string filespec ) : string
GetRelativePath ( string folder, string filespec ) : string

From http://stackoverflow.com/questions/703281/getting-path-relative-to-the-current-working-directory

Load ( FileInfo _FileName ) : void
Save ( FileInfo _FileName ) : void

비공개 메소드들

메소드 설명
AppendElement ( XmlNode _ParentNode, string _ElementName ) : XmlElement
FindEntry ( FileInfo _ManifestFileName ) : Entry

Attempts to retrieve an existing entry from the provided manifest file name

SetAttribute ( XmlElement _Element, string _Attribute, string _Value ) : Database
SetAttribute ( string _Attribute, string _Value ) : Database

메소드 상세

Database() 공개 메소드

public Database ( ) : System
리턴 System

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Export() 공개 메소드

Exports the database to a JSON file readable by the javascript web page that will help browsing the textures
public Export ( FileInfo _FileName ) : void
_FileName System.IO.FileInfo
리턴 void

GetRelativePath() 공개 메소드

public GetRelativePath ( string filespec ) : string
filespec string
리턴 string

GetRelativePath() 공개 정적인 메소드

From http://stackoverflow.com/questions/703281/getting-path-relative-to-the-current-working-directory
public static GetRelativePath ( string folder, string filespec ) : string
folder string
filespec string
리턴 string

Load() 공개 메소드

public Load ( FileInfo _FileName ) : void
_FileName System.IO.FileInfo
리턴 void

Save() 공개 메소드

public Save ( FileInfo _FileName ) : void
_FileName System.IO.FileInfo
리턴 void