C# Class RTSEngine.Graphics.HeightmapModel

显示文件 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_oe property

public float[] FogOfWar
return float[]

FogOfWarTexture public_oe property

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

IBPrimary public_oe property

public IndexBuffer IBPrimary
return IndexBuffer

PrimaryTexture public_oe property

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

SecondaryTexture public_oe property

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

VBPrimary public_oe property

public VertexBuffer VBPrimary
return VertexBuffer