C# Class AcTools.Kn5File.Kn5Reader

Inheritance: System.IO.BinaryReader
显示文件 Open project: gro-ove/actools Class Usage Examples

Public Methods

Method Description
Extract ( int length, string filename ) : void
Kn5Reader ( Stream input, bool withoutHeader = false ) : System
Kn5Reader ( string filename ) : System
ReadBlendMode ( ) : Kn5MaterialBlendMode
ReadDepthMode ( ) : Kn5MaterialDepthMode
ReadHeader ( ) : Kn5Header
ReadMaterial ( ) : Kn5Material
ReadMatrix ( ) : float[]

Read 64 bytes as 16 floats.

ReadNode ( ) : Kn5Node
ReadNodeClass ( ) : Kn5NodeClass
ReadSingle2D ( ) : float[]
ReadSingle3D ( ) : float[]
ReadSingle4D ( ) : float[]
ReadString ( ) : string
ReadTexture ( ) : Kn5Texture

Method Details

Extract() public method

public Extract ( int length, string filename ) : void
length int
filename string
return void

Kn5Reader() public method

public Kn5Reader ( Stream input, bool withoutHeader = false ) : System
input Stream
withoutHeader bool
return System

Kn5Reader() public method

public Kn5Reader ( string filename ) : System
filename string
return System

ReadBlendMode() public method

public ReadBlendMode ( ) : Kn5MaterialBlendMode
return Kn5MaterialBlendMode

ReadDepthMode() public method

public ReadDepthMode ( ) : Kn5MaterialDepthMode
return Kn5MaterialDepthMode

ReadHeader() public method

public ReadHeader ( ) : Kn5Header
return Kn5Header

ReadMaterial() public method

public ReadMaterial ( ) : Kn5Material
return Kn5Material

ReadMatrix() public method

Read 64 bytes as 16 floats.
public ReadMatrix ( ) : float[]
return float[]

ReadNode() public method

public ReadNode ( ) : Kn5Node
return Kn5Node

ReadNodeClass() public method

public ReadNodeClass ( ) : Kn5NodeClass
return Kn5NodeClass

ReadSingle2D() public method

public ReadSingle2D ( ) : float[]
return float[]

ReadSingle3D() public method

public ReadSingle3D ( ) : float[]
return float[]

ReadSingle4D() public method

public ReadSingle4D ( ) : float[]
return float[]

ReadString() public method

public ReadString ( ) : string
return string

ReadTexture() public method

public ReadTexture ( ) : Kn5Texture
return Kn5Texture