public LinePrimitive ( Microsoft.Xna.Framework.Graphics.Texture2D singlePixelTexture ) : System | ||
singlePixelTexture | Microsoft.Xna.Framework.Graphics.Texture2D | |
Résultat | System |
public LinePrimitive(Texture2D singlePixelTexture)
{
// create pixels
mTexture = singlePixelTexture;
Color = Color.White;
Position = new Vector2(0, 0);
Depth = 0;
mVectors = new List<Vector2>();
}