C# Class RTSEngine.Graphics.HeightmapModel

Show file Open project: RegrowthStudios/VoxelRTS

Public Properties

Property Type Description
FogOfWar float[]
FogOfWarTexture Microsoft.Xna.Framework.Graphics.Texture2D
IBPrimary IndexBuffer
PrimaryTexture Microsoft.Xna.Framework.Graphics.Texture2D
SecondaryTexture Microsoft.Xna.Framework.Graphics.Texture2D
VBPrimary VertexBuffer

Public Methods

Method Description
ApplyFOW ( ) : void
HeightmapModel ( RTSRenderer renderer, int fw, int fh ) : System
SetFOW ( int x, int y, float f ) : void

Method Details

ApplyFOW() public method

public ApplyFOW ( ) : void
return void

HeightmapModel() public method

public HeightmapModel ( RTSRenderer renderer, int fw, int fh ) : System
renderer RTSRenderer
fw int
fh int
return System

SetFOW() public method

public SetFOW ( int x, int y, float f ) : void
x int
y int
f float
return void

Property Details

FogOfWar public property

public float[] FogOfWar
return float[]

FogOfWarTexture public property

public Texture2D,Microsoft.Xna.Framework.Graphics FogOfWarTexture
return Microsoft.Xna.Framework.Graphics.Texture2D

IBPrimary public property

public IndexBuffer IBPrimary
return IndexBuffer

PrimaryTexture public property

public Texture2D,Microsoft.Xna.Framework.Graphics PrimaryTexture
return Microsoft.Xna.Framework.Graphics.Texture2D

SecondaryTexture public property

public Texture2D,Microsoft.Xna.Framework.Graphics SecondaryTexture
return Microsoft.Xna.Framework.Graphics.Texture2D

VBPrimary public property

public VertexBuffer VBPrimary
return VertexBuffer