C# Class Ballz.GameSession.World.Terrain.TerrainShape

Show file Open project: SpagAachen/Ballz

Public Properties

Property Type Description
Outlines List>
TerrainBitmap ].TerrainType[
Triangles List
TypeTexture Microsoft.Xna.Framework.Graphics.Texture2D

Property Details

Outlines public property

Outline line segments for use in physics.
Positions are in Pixel units. Use Terrain.Scale to transform into world coordinates.
public List> Outlines
return List>

TerrainBitmap public property

A bitmap of the terrain shape. True means earth, False means air.
public TerrainType[,] TerrainBitmap
return ].TerrainType[

Triangles public property

Triangles for rendering.
Positions are in Pixel units. Use Terrain.Scale to transform into world coordinates.
public List Triangles
return List

TypeTexture public property

Contains type information for the terrain material shader. See Terrain.BuildTerrainTypeTexture()
public Texture2D,Microsoft.Xna.Framework.Graphics TypeTexture
return Microsoft.Xna.Framework.Graphics.Texture2D