C# Class TerrainDisplay.MPQ.ADT.ADTBase

Show file Open project: WCell/WCell-Terrain

Public Properties

Property Type Description
Indices List
LiquidIndices List
LiquidVertices List
TerrainVertices List

Public Methods

Method Description
GenerateHeightIndices ( int indexY, int indexX, int offset, List indices ) : void

Adds the rendering indices to the provided list for the MapChunk given by:

GenerateHeightVertexAndIndices ( ) : void
GenerateHeightVertices ( int indexY, int indexX, ICollection vertices ) : int

Adds the rendering liquid vertices to the provided list for the MapChunk given by:

GenerateLiquidIndices ( int indexY, int indexX, int offset, List indices ) : void

Adds the rendering liquid indices to the provided list for the MapChunk given by:

GenerateLiquidVertexAndIndices ( ) : void
GenerateLiquidVertices ( int indexY, int indexX, ICollection vertices ) : int

Adds the rendering liquid vertices to the provided list for the MapChunk given by:

GetPotentialColliders ( WCell.Util.Graphics.Ray2D ray2D, List results ) : bool

Method Details

GenerateHeightIndices() public abstract method

Adds the rendering indices to the provided list for the MapChunk given by:
public abstract GenerateHeightIndices ( int indexY, int indexX, int offset, List indices ) : void
indexY int The y index of the map chunk.
indexX int The x index of the map chunk
offset int The number to add to the indices so as to match the end of the Vertices list.
indices List The Collection to add the indices to.
return void

GenerateHeightVertexAndIndices() public abstract method

public abstract GenerateHeightVertexAndIndices ( ) : void
return void

GenerateHeightVertices() public abstract method

Adds the rendering liquid vertices to the provided list for the MapChunk given by:
public abstract GenerateHeightVertices ( int indexY, int indexX, ICollection vertices ) : int
indexY int The y index of the map chunk.
indexX int The x index of the map chunk
vertices ICollection The Collection to add the vertices to.
return int

GenerateLiquidIndices() public abstract method

Adds the rendering liquid indices to the provided list for the MapChunk given by:
public abstract GenerateLiquidIndices ( int indexY, int indexX, int offset, List indices ) : void
indexY int The y index of the map chunk.
indexX int The x index of the map chunk
offset int The number to add to the indices so as to match the end of the Vertices list.
indices List The Collection to add the indices to.
return void

GenerateLiquidVertexAndIndices() public abstract method

public abstract GenerateLiquidVertexAndIndices ( ) : void
return void

GenerateLiquidVertices() public abstract method

Adds the rendering liquid vertices to the provided list for the MapChunk given by:
public abstract GenerateLiquidVertices ( int indexY, int indexX, ICollection vertices ) : int
indexY int The y index of the map chunk.
indexX int The x index of the map chunk
vertices ICollection The Collection to add the vertices to.
return int

GetPotentialColliders() public abstract method

public abstract GetPotentialColliders ( WCell.Util.Graphics.Ray2D ray2D, List results ) : bool
ray2D WCell.Util.Graphics.Ray2D
results List
return bool

Property Details

Indices public property

public List Indices
return List

LiquidIndices public property

public List LiquidIndices
return List

LiquidVertices public property

public List LiquidVertices
return List

TerrainVertices public property

public List TerrainVertices
return List