C# Class TerrainDisplay.World.Map

Afficher le fichier Open project: WCell/WCell-Terrain Class Usage Examples

Méthodes publiques

Свойство Type Description
IsWMOOnly bool
MapId MapId
QuadTree QuadTree
TileProfile ].bool[

Méthodes publiques

Méthode Description
Map ( MapId mapId ) : System

Private Methods

Méthode Description
GetHeightAtPosition ( System.Vector3 pos, float &height ) : bool
GetNearestValidPosition ( System.Vector3 pos, System.Vector3 &validPos ) : bool
GetNearestWalkablePosition ( System.Vector3 pos, System.Vector3 &walkablePos ) : bool
HasLOS ( System.Vector3 pos1, System.Vector3 pos2 ) : bool

Checks this Map for LOS between two positions.

Map ( ) : System
ReadTileProfile ( BinaryReader br, bool isWMOOnly ) : ].bool[
ReadWDTInfo ( Stream file ) : Map
TryGetTile ( TileIdentifier tileId, Tile &tile ) : bool

Tries to get the tile with the given TileId. If the tile is not loaded, tries to load the tile from disk.

TryLoad ( MapId mapId, Map &map ) : bool

Method Details

Map() public méthode

public Map ( MapId mapId ) : System
mapId MapId
Résultat System

Property Details

IsWMOOnly public_oe property

public bool IsWMOOnly
Résultat bool

MapId public_oe property

public MapId MapId
Résultat MapId

QuadTree public_oe property

public QuadTree QuadTree
Résultat QuadTree

TileProfile public_oe property

public bool[,] TileProfile
Résultat ].bool[