C# 클래스 KFreonLib.Textures.TPFTexInfo

Formerly TexNodeHash. Provides an object to store TPFTools texture objects.
상속: abstractTexInfo, IDisposable
파일 보기 프로젝트 열기: ME3Explorer/ME3Explorer 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
AutofixSuccess bool
ExpectedFormat ImageEngineFormat
ExpectedMips int
FileDuplicates List
FileName String
FilePath string
Height int
TPFInd int
ThumbInd int
Thumbnail System.IO.MemoryStream
TreeDuplicates List
Width int
found bool
wasAnalysed bool
zippy SaltTPF.ZipReader

공개 메소드들

메소드 설명
Autofixedpath ( string TemporaryPath ) : string
CalculateMipCount ( int Width, int Height ) : int
Clone ( ) : TPFTexInfo

Clones current TPF texture object.

Convert ( ) : void

Converts texture.

CreateModJob ( string ExecFolder, string pathBIOGame ) : ModMaker.ModJob

Create a .mod job from current TPF texture object.

DisplayString ( int index ) : string
DisplayString ( string file ) : string
Dispose ( ) : void
EnumerateDetails ( ) : void

Collects details of current texture, like thumbnail, number of mips, and format.

Extract ( string ExtractPath, bool ToMemory = false ) : byte[]

Extracts image from TPF or copies image data from external file. Also able to return a byte[] of image data.

FormatTexDetails ( bool Analysed ) : String

Format texture details for TPFTools.

GetFileFromDisplay ( string file ) : string
TPFTexInfo ( ) : KFreonLib.Debugging

Constructor for TPF texture object. Placeholder for lists.

TPFTexInfo ( string filename, int tpfind, string path, ZipReader zip, int WhichGame ) : KFreonLib.Debugging

Constructor for TPF texture objects.

UndoAnalysis ( int newGameVersion ) : void
UpdateTex ( int treeInd, TreeTexInfo treetex ) : void

Updates current texture object from tree.

ValidateDimensions ( TreeTexInfo tex = null ) : bool

메소드 상세

Autofixedpath() 공개 메소드

public Autofixedpath ( string TemporaryPath ) : string
TemporaryPath string
리턴 string

CalculateMipCount() 공개 정적인 메소드

public static CalculateMipCount ( int Width, int Height ) : int
Width int
Height int
리턴 int

Clone() 공개 메소드

Clones current TPF texture object.
public Clone ( ) : TPFTexInfo
리턴 TPFTexInfo

Convert() 공개 메소드

Converts texture.
public Convert ( ) : void
리턴 void

CreateModJob() 공개 메소드

Create a .mod job from current TPF texture object.
public CreateModJob ( string ExecFolder, string pathBIOGame ) : ModMaker.ModJob
ExecFolder string Path to ME3Explorer \exec\ folder.
pathBIOGame string Path to BIOGame.
리턴 KFreonLib.Scripting.ModMaker.ModJob

DisplayString() 공개 메소드

public DisplayString ( int index ) : string
index int
리턴 string

DisplayString() 공개 메소드

public DisplayString ( string file ) : string
file string
리턴 string

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

EnumerateDetails() 공개 메소드

Collects details of current texture, like thumbnail, number of mips, and format.
public EnumerateDetails ( ) : void
리턴 void

Extract() 공개 메소드

Extracts image from TPF or copies image data from external file. Also able to return a byte[] of image data.
public Extract ( string ExtractPath, bool ToMemory = false ) : byte[]
ExtractPath string Path to extract image to.
ToMemory bool OPTIONAL: If true, byte[] of image data returned.
리턴 byte[]

FormatTexDetails() 공개 메소드

Format texture details for TPFTools.
public FormatTexDetails ( bool Analysed ) : String
Analysed bool Add extra stuff if analysis has been performed.
리턴 String

GetFileFromDisplay() 공개 메소드

public GetFileFromDisplay ( string file ) : string
file string
리턴 string

TPFTexInfo() 공개 메소드

Constructor for TPF texture object. Placeholder for lists.
public TPFTexInfo ( ) : KFreonLib.Debugging
리턴 KFreonLib.Debugging

TPFTexInfo() 공개 메소드

Constructor for TPF texture objects.
public TPFTexInfo ( string filename, int tpfind, string path, ZipReader zip, int WhichGame ) : KFreonLib.Debugging
filename string Filename of texture.
tpfind int Index of texture inside TPF, if applicable.
path string Path of texture, if applicable.
zip SaltTPF.ZipReader Zippy of TPF, if applicable.
WhichGame int
리턴 KFreonLib.Debugging

UndoAnalysis() 공개 메소드

public UndoAnalysis ( int newGameVersion ) : void
newGameVersion int
리턴 void

UpdateTex() 공개 메소드

Updates current texture object from tree.
public UpdateTex ( int treeInd, TreeTexInfo treetex ) : void
treeInd int Index of texture in tree.
treetex TreeTexInfo Tree texture object to get info from.
리턴 void

ValidateDimensions() 공개 메소드

public ValidateDimensions ( TreeTexInfo tex = null ) : bool
tex TreeTexInfo
리턴 bool

프로퍼티 상세

AutofixSuccess 공개적으로 프로퍼티

public bool AutofixSuccess
리턴 bool

ExpectedFormat 공개적으로 프로퍼티

public ImageEngineFormat ExpectedFormat
리턴 ImageEngineFormat

ExpectedMips 공개적으로 프로퍼티

public int ExpectedMips
리턴 int

FileDuplicates 공개적으로 프로퍼티

public List FileDuplicates
리턴 List

FileName 공개적으로 프로퍼티

public String FileName
리턴 String

FilePath 공개적으로 프로퍼티

public string FilePath
리턴 string

Height 공개적으로 프로퍼티

public int Height
리턴 int

TPFInd 공개적으로 프로퍼티

public int TPFInd
리턴 int

ThumbInd 공개적으로 프로퍼티

public int ThumbInd
리턴 int

Thumbnail 공개적으로 프로퍼티

public MemoryStream,System.IO Thumbnail
리턴 System.IO.MemoryStream

TreeDuplicates 공개적으로 프로퍼티

public List TreeDuplicates
리턴 List

Width 공개적으로 프로퍼티

public int Width
리턴 int

found 공개적으로 프로퍼티

public bool found
리턴 bool

wasAnalysed 공개적으로 프로퍼티

public bool wasAnalysed
리턴 bool

zippy 공개적으로 프로퍼티

public ZipReader,SaltTPF zippy
리턴 SaltTPF.ZipReader