C# 클래스 Material_Editor.BaseMaterialFile

파일 보기 프로젝트 열기: ousnius/Material-Editor 1 사용 예제들

Private Properties

프로퍼티 타입 설명
ConvertAlphaBlendMode AlphaBlendModeType
ConvertAlphaBlendMode void
OnDeserializing void

공개 메소드들

메소드 설명
Deserialize ( BinaryReader input ) : void
Open ( FileStream file ) : bool
Save ( string fileName ) : bool
Serialize ( BinaryWriter output ) : void

보호된 메소드들

메소드 설명
BaseMaterialFile ( uint signature ) : System
ReadString ( BinaryReader input ) : string
SetDefaults ( ) : void
WriteString ( BinaryWriter output, string str ) : void

비공개 메소드들

메소드 설명
ConvertAlphaBlendMode ( byte a, uint b, uint c ) : AlphaBlendModeType
ConvertAlphaBlendMode ( AlphaBlendModeType type, byte &a, uint &b, uint &c ) : void
OnDeserializing ( StreamingContext c ) : void

메소드 상세

BaseMaterialFile() 보호된 메소드

protected BaseMaterialFile ( uint signature ) : System
signature uint
리턴 System

Deserialize() 공개 메소드

public Deserialize ( BinaryReader input ) : void
input System.IO.BinaryReader
리턴 void

Open() 공개 메소드

public Open ( FileStream file ) : bool
file System.IO.FileStream
리턴 bool

ReadString() 보호된 정적인 메소드

protected static ReadString ( BinaryReader input ) : string
input System.IO.BinaryReader
리턴 string

Save() 공개 메소드

public Save ( string fileName ) : bool
fileName string
리턴 bool

Serialize() 공개 메소드

public Serialize ( BinaryWriter output ) : void
output System.IO.BinaryWriter
리턴 void

SetDefaults() 보호된 메소드

protected SetDefaults ( ) : void
리턴 void

WriteString() 보호된 정적인 메소드

protected static WriteString ( BinaryWriter output, string str ) : void
output System.IO.BinaryWriter
str string
리턴 void