C# Class HaloMap.RawData.BSPModel

The bsp model.
Inheritance: IDisposable
显示文件 Open project: troymac1ure/Entity Class Usage Examples

Public Properties

Property Type Description
BSPPermutationRawDataMetaChunks BSPPermutationRawDataMetaChunk[]
BSPPermutationRawDataMetaChunksOffset int
BSPRawDataMetaChunks BSPRawDataMetaChunk[]
BSPRawDataMetaChunksOffset int
BspNumber int
ClusterInfo ClusterPVS[]
Display BSPDisplayedInfo
DrawBSPPermutations bool
LightMapBitmap System.Drawing.Bitmap[]
LightMapParsedBitmap ParsedBitmap
LightMapTexture Texture[]
Name string
PermutationInfo PermutationPlacement[]
RenderBSPLighting bool
SceneryLightMapBitmap System.Drawing.Bitmap[]
SceneryLightMapTexture Texture[]
Shaders BSPShaderContainer
SkyBox ParsedModel
Spawns HaloMap.Render.SpawnInfo
UnknownChunks UnknownChunk[]
cameraCulling bool
maxBoundries Vector3
minBoundries Vector3
sky Sky

Public Methods

Method Description
AddCompressedVertice ( BinaryReader &BR, BSPRawDataMetaChunk &chunk ) : void

The add compressed vertice.

AddUncompressedVertice ( BinaryReader &BR, BSPRawDataMetaChunk &chunk ) : void

The add uncompressed vertice.

BSPModel ( Meta &meta ) : System

Initializes a new instance of the BSPModel class.

Dispose ( ) : void

The dispose.

ExtractModel ( string path ) : void

The extract model.

ExtractModelAsSingleMesh ( string path ) : void

The extract model as single mesh.

InjectModel ( string FilePath, Meta meta ) : Meta

The inject model.

LoadFromOBJ ( string FilePath ) : void

The load from obj.

LoadLightmaps ( ) : void

The load lightmaps.

LoadModelStructure ( Meta &meta ) : void

The load model structure.

LoadPermutations ( Meta &meta ) : void

The load permutations.

LoadSky ( Meta &meta ) : void

The load sky.

LoadUnknowns ( Meta &meta ) : void

The load unknowns.

Method Details

AddCompressedVertice() public static method

The add compressed vertice.
public static AddCompressedVertice ( BinaryReader &BR, BSPRawDataMetaChunk &chunk ) : void
BR System.IO.BinaryReader The br.
chunk BSPRawDataMetaChunk The chunk.
return void

AddUncompressedVertice() public static method

The add uncompressed vertice.
public static AddUncompressedVertice ( BinaryReader &BR, BSPRawDataMetaChunk &chunk ) : void
BR System.IO.BinaryReader The br.
chunk BSPRawDataMetaChunk The chunk.
return void

BSPModel() public method

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

Dispose() public method

The dispose.
public Dispose ( ) : void
return void

ExtractModel() public method

The extract model.
public ExtractModel ( string path ) : void
path string The path.
return void

ExtractModelAsSingleMesh() public method

The extract model as single mesh.
public ExtractModelAsSingleMesh ( string path ) : void
path string The path.
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

LoadLightmaps() public method

The load lightmaps.
public LoadLightmaps ( ) : void
return void

LoadModelStructure() public method

The load model structure.
public LoadModelStructure ( Meta &meta ) : void
meta HaloMap.Meta.Meta The meta.
return void

LoadPermutations() public method

The load permutations.
public LoadPermutations ( Meta &meta ) : void
meta HaloMap.Meta.Meta The meta.
return void

LoadSky() public method

The load sky.
public LoadSky ( Meta &meta ) : void
meta HaloMap.Meta.Meta The meta.
return void

LoadUnknowns() public method

The load unknowns.
public LoadUnknowns ( Meta &meta ) : void
meta HaloMap.Meta.Meta The meta.
return void

Property Details

BSPPermutationRawDataMetaChunks public_oe property

The bsp permutation raw data meta chunks.
public BSPPermutationRawDataMetaChunk[] BSPPermutationRawDataMetaChunks
return BSPPermutationRawDataMetaChunk[]

BSPPermutationRawDataMetaChunksOffset public_oe property

The bsp permutation raw data meta chunks offset.
public int BSPPermutationRawDataMetaChunksOffset
return int

BSPRawDataMetaChunks public_oe property

The bsp raw data meta chunks.
public BSPRawDataMetaChunk[] BSPRawDataMetaChunks
return BSPRawDataMetaChunk[]

BSPRawDataMetaChunksOffset public_oe property

The bsp raw data meta chunks offset.
public int BSPRawDataMetaChunksOffset
return int

BspNumber public_oe property

The bsp number.
public int BspNumber
return int

ClusterInfo public_oe property

The cluster info.
public ClusterPVS[] ClusterInfo
return ClusterPVS[]

Display public_oe property

The display.
public BSPDisplayedInfo Display
return BSPDisplayedInfo

DrawBSPPermutations public_oe property

The draw bsp permutations.
public bool DrawBSPPermutations
return bool

LightMapBitmap public_oe property

The light map bitmap.
public Bitmap[],System.Drawing LightMapBitmap
return System.Drawing.Bitmap[]

LightMapParsedBitmap public_oe property

The light map parsed bitmap.
public ParsedBitmap,HaloMap.RawData LightMapParsedBitmap
return ParsedBitmap

LightMapTexture public_oe property

The light map texture.
public Texture[] LightMapTexture
return Texture[]

Name public_oe property

The name.
public string Name
return string

PermutationInfo public_oe property

The permutation info.
public PermutationPlacement[] PermutationInfo
return PermutationPlacement[]

RenderBSPLighting public_oe property

The render bsp lighting.
public bool RenderBSPLighting
return bool

SceneryLightMapBitmap public_oe property

The scenery light map bitmap.
public Bitmap[],System.Drawing SceneryLightMapBitmap
return System.Drawing.Bitmap[]

SceneryLightMapTexture public_oe property

The scenery light map texture.
public Texture[] SceneryLightMapTexture
return Texture[]

Shaders public_oe property

The shaders.
public BSPShaderContainer Shaders
return BSPShaderContainer

SkyBox public_oe property

The sky box.
public ParsedModel,HaloMap.RawData SkyBox
return ParsedModel

Spawns public_oe property

The spawns.
public SpawnInfo,HaloMap.Render Spawns
return HaloMap.Render.SpawnInfo

UnknownChunks public_oe property

The unknown chunks.
public UnknownChunk[] UnknownChunks
return UnknownChunk[]

cameraCulling public_oe property

Performs culling of BSP mesh out of camera (buggy)
public bool cameraCulling
return bool

maxBoundries public_oe property

Map maximum X,Y,Z boundries
public Vector3 maxBoundries
return Vector3

minBoundries public_oe property

Map minimum X,Y,Z boundries
public Vector3 minBoundries
return Vector3

sky public_oe property

The sky.
public Sky sky
return Sky