C# Class TerrainDisplay.Recast.RecastRendererBase

Inheritance: Microsoft.Xna.Framework.DrawableGameComponent
Show file Open project: WCell/WCell-Terrain

Protected Properties

Property Type Description
_cachedPolyIndices int[]
_cachedPolyVertices VertexPositionNormalColored[]
_graphics GraphicsDeviceManager
_manager NavMeshManager
_vertexDeclaration Microsoft.Xna.Framework.Graphics.VertexDeclaration

Public Methods

Method Description
Initialize ( ) : void
RecastRendererBase ( Microsoft.Xna.Framework.Game game, GraphicsDeviceManager graphics, NavMeshManager manager ) : Microsoft.Xna.Framework
RecastRendererBase ( Microsoft.Xna.Framework.Game game, NavMeshManager manager ) : Microsoft.Xna.Framework
RefreshRenderData ( ) : void

Protected Methods

Method Description
BuildPolyVerticiesAndIndicies ( ) : bool

Method Details

BuildPolyVerticiesAndIndicies() protected abstract method

protected abstract BuildPolyVerticiesAndIndicies ( ) : bool
return bool

Initialize() public method

public Initialize ( ) : void
return void

RecastRendererBase() public method

public RecastRendererBase ( Microsoft.Xna.Framework.Game game, GraphicsDeviceManager graphics, NavMeshManager manager ) : Microsoft.Xna.Framework
game Microsoft.Xna.Framework.Game
graphics GraphicsDeviceManager
manager NavMeshManager
return Microsoft.Xna.Framework

RecastRendererBase() public method

public RecastRendererBase ( Microsoft.Xna.Framework.Game game, NavMeshManager manager ) : Microsoft.Xna.Framework
game Microsoft.Xna.Framework.Game
manager NavMeshManager
return Microsoft.Xna.Framework

RefreshRenderData() public method

public RefreshRenderData ( ) : void
return void

Property Details

_cachedPolyIndices protected property

protected int[] _cachedPolyIndices
return int[]

_cachedPolyVertices protected property

protected VertexPositionNormalColored[] _cachedPolyVertices
return VertexPositionNormalColored[]

_graphics protected property

protected GraphicsDeviceManager _graphics
return GraphicsDeviceManager

_manager protected property

protected NavMeshManager,TerrainDisplay.Recast _manager
return NavMeshManager

_vertexDeclaration protected property

protected VertexDeclaration,Microsoft.Xna.Framework.Graphics _vertexDeclaration
return Microsoft.Xna.Framework.Graphics.VertexDeclaration