C# Class Fusion.Engine.Graphics.GIS.LinesGisLayer

Inheritance: Gis.GisLayer
显示文件 Open project: demiurghg/FusionEngine Class Usage Examples

Public Properties

Property Type Description
Flags int
Texture Texture2D

Public Methods

Method Description
Dispose ( ) : void
Draw ( GameTime gameTime, ConstantBuffer constBuffer ) : void
GenerateDistanceGrid ( Game Game, DVector2 lonLatLeftBottomCorner, double step, int xStepsCount, int yStepsCount, Color color ) : LinesGisLayer
GenerateGrid ( Game Game, DVector2 leftTop, DVector2 rightBottom, int dimX, int dimY, Color color, MapProjection projection, bool keepQuad = false ) : LinesGisLayer
LinesGisLayer ( Game engine, int linesPointsCount, bool isDynamic = false ) : System
Select ( System.DVector3 nearPoint, System.DVector3 farPoint ) : List
UpdatePointsBuffer ( ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Draw() public method

public Draw ( GameTime gameTime, ConstantBuffer constBuffer ) : void
gameTime Fusion.Engine.Common.GameTime
constBuffer ConstantBuffer
return void

GenerateDistanceGrid() public static method

public static GenerateDistanceGrid ( Game Game, DVector2 lonLatLeftBottomCorner, double step, int xStepsCount, int yStepsCount, Color color ) : LinesGisLayer
Game Game
lonLatLeftBottomCorner DVector2
step double
xStepsCount int
yStepsCount int
color Color
return LinesGisLayer

GenerateGrid() public static method

public static GenerateGrid ( Game Game, DVector2 leftTop, DVector2 rightBottom, int dimX, int dimY, Color color, MapProjection projection, bool keepQuad = false ) : LinesGisLayer
Game Game
leftTop DVector2
rightBottom DVector2
dimX int
dimY int
color Color
projection Fusion.Engine.Graphics.GIS.DataSystem.MapSources.Projections.MapProjection
keepQuad bool
return LinesGisLayer

LinesGisLayer() public method

public LinesGisLayer ( Game engine, int linesPointsCount, bool isDynamic = false ) : System
engine Game
linesPointsCount int
isDynamic bool
return System

Select() public method

public Select ( System.DVector3 nearPoint, System.DVector3 farPoint ) : List
nearPoint System.DVector3
farPoint System.DVector3
return List

UpdatePointsBuffer() public method

public UpdatePointsBuffer ( ) : void
return void

Property Details

Flags public_oe property

public int Flags
return int

Texture public_oe property

public Texture2D Texture
return Texture2D