C# Class TerrainEntityData, Bad-Company-2-Map-Editor

Inheritance: MonoBehaviour
Mostrar archivo Open project: Powback/Bad-Company-2-Map-Editor

Public Properties

Property Type Description
instance Inst
partition Partition

Public Methods

Method Description
CheckTerrain ( string id, int res, int terrainCount ) : void
GenerateOuterTerrain ( string location ) : void
GenerateTerrainMesh ( GameObject terrainGO, string path, int sizeorg, int height, int fullsize, int terrainCount, int id ) : void
LoadTerrain ( string location, int res, int height, string id, int terrainCount ) : void
Start ( ) : void
ToBigEndian ( byte buf, int i ) : int

Private Methods

Method Description
GenerateTerrain ( string location, int res, int height, string id, int terrainCount ) : GameObject
OuterTerrainPos ( int res, string id, int terrainCount ) : Vector3
TerrainHeight ( string location ) : int
TerrainRes ( string location, string guid ) : int

Method Details

CheckTerrain() public method

public CheckTerrain ( string id, int res, int terrainCount ) : void
id string
res int
terrainCount int
return void

GenerateOuterTerrain() public method

public GenerateOuterTerrain ( string location ) : void
location string
return void

GenerateTerrainMesh() public static method

public static GenerateTerrainMesh ( GameObject terrainGO, string path, int sizeorg, int height, int fullsize, int terrainCount, int id ) : void
terrainGO GameObject
path string
sizeorg int
height int
fullsize int
terrainCount int
id int
return void

LoadTerrain() public method

public LoadTerrain ( string location, int res, int height, string id, int terrainCount ) : void
location string
res int
height int
id string
terrainCount int
return void

Start() public method

public Start ( ) : void
return void

ToBigEndian() public static method

public static ToBigEndian ( byte buf, int i ) : int
buf byte
i int
return int

Property Details

instance public_oe property

public Inst instance
return Inst

partition public_oe property

public Partition partition
return Partition