_3D_Madness.Element.Element C# (CSharp) Method

Element() public method

public Element ( VertexPositionTexture x, Microsoft.Xna.Framework.Graphics.Texture2D texture ) : Microsoft.Xna.Framework.Graphics
x Microsoft.Xna.Framework.Graphics.VertexPositionTexture
texture Microsoft.Xna.Framework.Graphics.Texture2D
return Microsoft.Xna.Framework.Graphics
        public Element(VertexPositionTexture[] x, Texture2D texture)
        {
            verts = x;
            Texture = texture;
            leftEdge = -10;
            rightEdge = -10;
            upEdge = -10;
            bottomEdge = -10;
        }

Same methods

Element::Element ( string _fileName, string _leftEdge, string _rightEdge, string _bottomEdge, string _upEdge, string _additional ) : Microsoft.Xna.Framework.Graphics
Element