C# Class HaloMap.RawData.BSPModel

The bsp model.
Inheritance: IDisposable
Afficher le fichier Open project: troymac1ure/Entity Class Usage Examples

Méthodes publiques

Свойство 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

Méthodes publiques

Méthode 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 méthode

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

AddUncompressedVertice() public static méthode

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

BSPModel() public méthode

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

Dispose() public méthode

The dispose.
public Dispose ( ) : void
Résultat void

ExtractModel() public méthode

The extract model.
public ExtractModel ( string path ) : void
path string The path.
Résultat void

ExtractModelAsSingleMesh() public méthode

The extract model as single mesh.
public ExtractModelAsSingleMesh ( string path ) : void
path string The path.
Résultat void

InjectModel() public méthode

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

LoadFromOBJ() public méthode

The load from obj.
public LoadFromOBJ ( string FilePath ) : void
FilePath string The file path.
Résultat void

LoadLightmaps() public méthode

The load lightmaps.
public LoadLightmaps ( ) : void
Résultat void

LoadModelStructure() public méthode

The load model structure.
public LoadModelStructure ( Meta &meta ) : void
meta HaloMap.Meta.Meta The meta.
Résultat void

LoadPermutations() public méthode

The load permutations.
public LoadPermutations ( Meta &meta ) : void
meta HaloMap.Meta.Meta The meta.
Résultat void

LoadSky() public méthode

The load sky.
public LoadSky ( Meta &meta ) : void
meta HaloMap.Meta.Meta The meta.
Résultat void

LoadUnknowns() public méthode

The load unknowns.
public LoadUnknowns ( Meta &meta ) : void
meta HaloMap.Meta.Meta The meta.
Résultat void

Property Details

BSPPermutationRawDataMetaChunks public_oe property

The bsp permutation raw data meta chunks.
public BSPPermutationRawDataMetaChunk[] BSPPermutationRawDataMetaChunks
Résultat BSPPermutationRawDataMetaChunk[]

BSPPermutationRawDataMetaChunksOffset public_oe property

The bsp permutation raw data meta chunks offset.
public int BSPPermutationRawDataMetaChunksOffset
Résultat int

BSPRawDataMetaChunks public_oe property

The bsp raw data meta chunks.
public BSPRawDataMetaChunk[] BSPRawDataMetaChunks
Résultat BSPRawDataMetaChunk[]

BSPRawDataMetaChunksOffset public_oe property

The bsp raw data meta chunks offset.
public int BSPRawDataMetaChunksOffset
Résultat int

BspNumber public_oe property

The bsp number.
public int BspNumber
Résultat int

ClusterInfo public_oe property

The cluster info.
public ClusterPVS[] ClusterInfo
Résultat ClusterPVS[]

Display public_oe property

The display.
public BSPDisplayedInfo Display
Résultat BSPDisplayedInfo

DrawBSPPermutations public_oe property

The draw bsp permutations.
public bool DrawBSPPermutations
Résultat bool

LightMapBitmap public_oe property

The light map bitmap.
public Bitmap[],System.Drawing LightMapBitmap
Résultat System.Drawing.Bitmap[]

LightMapParsedBitmap public_oe property

The light map parsed bitmap.
public ParsedBitmap,HaloMap.RawData LightMapParsedBitmap
Résultat ParsedBitmap

LightMapTexture public_oe property

The light map texture.
public Texture[] LightMapTexture
Résultat Texture[]

Name public_oe property

The name.
public string Name
Résultat string

PermutationInfo public_oe property

The permutation info.
public PermutationPlacement[] PermutationInfo
Résultat PermutationPlacement[]

RenderBSPLighting public_oe property

The render bsp lighting.
public bool RenderBSPLighting
Résultat bool

SceneryLightMapBitmap public_oe property

The scenery light map bitmap.
public Bitmap[],System.Drawing SceneryLightMapBitmap
Résultat System.Drawing.Bitmap[]

SceneryLightMapTexture public_oe property

The scenery light map texture.
public Texture[] SceneryLightMapTexture
Résultat Texture[]

Shaders public_oe property

The shaders.
public BSPShaderContainer Shaders
Résultat BSPShaderContainer

SkyBox public_oe property

The sky box.
public ParsedModel,HaloMap.RawData SkyBox
Résultat ParsedModel

Spawns public_oe property

The spawns.
public SpawnInfo,HaloMap.Render Spawns
Résultat HaloMap.Render.SpawnInfo

UnknownChunks public_oe property

The unknown chunks.
public UnknownChunk[] UnknownChunks
Résultat UnknownChunk[]

cameraCulling public_oe property

Performs culling of BSP mesh out of camera (buggy)
public bool cameraCulling
Résultat bool

maxBoundries public_oe property

Map maximum X,Y,Z boundries
public Vector3 maxBoundries
Résultat Vector3

minBoundries public_oe property

Map minimum X,Y,Z boundries
public Vector3 minBoundries
Résultat Vector3

sky public_oe property

The sky.
public Sky sky
Résultat Sky