C# Class HaloMap.RawData.ParsedModel

Summary description for Model.
Inheritance: IDisposable
显示文件 Open project: troymac1ure/Entity Class Usage Examples

Public Properties

Property Type Description
BoundingBox BoundingBoxContainer
Display DisplayedInfo
Frames HaloMap.Render.FrameHierarchy
LOD LODInfo
PermutationString string
RawDataMetaChunks RawDataMetaChunk[]
Shaders ShaderContainer
hlmt HaloMap.H2MetaContainers.hlmtContainer
name string

Protected Properties

Property Type Description
map HaloMap.Map.Map

Public Methods

Method Description
CEParsedModel ( Meta &meta ) : void

The ce parsed model.

CompressNormal ( System.Vector3 normal ) : int

The compress normal.

DecompressNormal ( int compressednormal ) : System.Vector3

The decompress normal.

DecompressVertice ( float input, float min, float max ) : float

The decompress vertice.

Dispose ( ) : void

The dispose.

ExtractMesh ( string path ) : void

The extract mesh.

ExtractMeshesToOBJ ( string path ) : void

The extract meshes to obj.

ExtractMeshesToX ( string path ) : void

The extract meshes to x.

H2ParsedModel ( Meta &meta ) : void

The h 2 parsed model.

InjectModel ( string FilePath, Meta meta ) : Meta

The inject model.

LoadFromOBJ ( string FilePath ) : void

The load from obj.

ParsedModel ( ) : System

Initializes a new instance of the ParsedModel class.

ParsedModel ( Meta &meta ) : System

Initializes a new instance of the ParsedModel class.

writeOBJ ( StreamWriter SW, string mtllib, RawDataMetaChunk chunk, List names, int &pass, int &startFace ) : void

The write obj.

Private Methods

Method Description
WriteMatrix ( System.Matrix matrix, StreamWriter &SW ) : void

The write matrix.

WriteRecursiveFrameHeirarchy ( FrameInfo frame, StreamWriter &SW ) : void

The write recursive frame heirarchy.

Write_Frame_Header ( string name, System.Matrix m, StreamWriter &SW ) : void

The write_ frame_ header.

Method Details

CEParsedModel() public method

The ce parsed model.
public CEParsedModel ( Meta &meta ) : void
meta HaloMap.Meta.Meta The meta.
return void

CompressNormal() public static method

The compress normal.
public static CompressNormal ( System.Vector3 normal ) : int
normal System.Vector3 The normal.
return int

DecompressNormal() public static method

The decompress normal.
public static DecompressNormal ( int compressednormal ) : System.Vector3
compressednormal int The compressednormal.
return System.Vector3

DecompressVertice() public method

The decompress vertice.
public DecompressVertice ( float input, float min, float max ) : float
input float The input.
min float The min.
max float The max.
return float

Dispose() public method

The dispose.
public Dispose ( ) : void
return void

ExtractMesh() public method

The extract mesh.
public ExtractMesh ( string path ) : void
path string The path.
return void

ExtractMeshesToOBJ() public method

The extract meshes to obj.
public ExtractMeshesToOBJ ( string path ) : void
path string The path.
return void

ExtractMeshesToX() public method

The extract meshes to x.
public ExtractMeshesToX ( string path ) : void
path string The path.
return void

H2ParsedModel() public method

The h 2 parsed model.
public H2ParsedModel ( Meta &meta ) : void
meta HaloMap.Meta.Meta The meta.
return void

InjectModel() public method

The inject model.
public InjectModel ( string FilePath, Meta meta ) : Meta
FilePath string The file path.
meta HaloMap.Meta.Meta The meta.
return HaloMap.Meta.Meta

LoadFromOBJ() public method

The load from obj.
public LoadFromOBJ ( string FilePath ) : void
FilePath string The file path.
return void

ParsedModel() public method

Initializes a new instance of the ParsedModel class.
public ParsedModel ( ) : System
return System

ParsedModel() public method

Initializes a new instance of the ParsedModel class.
public ParsedModel ( Meta &meta ) : System
meta HaloMap.Meta.Meta The meta.
return System

writeOBJ() public method

The write obj.
public writeOBJ ( StreamWriter SW, string mtllib, RawDataMetaChunk chunk, List names, int &pass, int &startFace ) : void
SW System.IO.StreamWriter The sw.
mtllib string The mtllib.
chunk RawDataMetaChunk The chunk.
names List The names.
pass int The pass.
startFace int The start face.
return void

Property Details

BoundingBox public_oe property

The bounding box.
public BoundingBoxContainer BoundingBox
return BoundingBoxContainer

Display public_oe property

The display.
public DisplayedInfo Display
return DisplayedInfo

Frames public_oe property

The frames.
public FrameHierarchy,HaloMap.Render Frames
return HaloMap.Render.FrameHierarchy

LOD public_oe property

The lod.
public LODInfo LOD
return LODInfo

PermutationString public_oe property

The permutation string.
public string PermutationString
return string

RawDataMetaChunks public_oe property

The raw data meta chunks.
public RawDataMetaChunk[] RawDataMetaChunks
return RawDataMetaChunk[]

Shaders public_oe property

The shaders.
public ShaderContainer Shaders
return ShaderContainer

hlmt public_oe property

The hlmt.
public hlmtContainer,HaloMap.H2MetaContainers hlmt
return HaloMap.H2MetaContainers.hlmtContainer

map protected_oe property

protected Map,HaloMap.Map map
return HaloMap.Map.Map

name public_oe property

The name.
public string name
return string