Microsoft.Xna.Framework.Graphics.VertexPositionNormalTexture.VertexPositionNormalTexture C# (CSharp) Метод

VertexPositionNormalTexture() статический приватный Метод

static private VertexPositionNormalTexture ( ) : System.Runtime.InteropServices
Результат System.Runtime.InteropServices
        static VertexPositionNormalTexture()
        {
            VertexElement[] elements = new VertexElement[] { new VertexElement(0, VertexElementFormat.Vector3, VertexElementUsage.Position, 0), new VertexElement(12, VertexElementFormat.Vector3, VertexElementUsage.Normal, 0), new VertexElement(0x18, VertexElementFormat.Vector2, VertexElementUsage.TextureCoordinate, 0) };
            VertexDeclaration declaration = new VertexDeclaration(elements);
            VertexDeclaration = declaration;
        }
    }

Same methods

VertexPositionNormalTexture::VertexPositionNormalTexture ( System.Vector3 position, System.Vector3 normal, System.Vector2 textureCoordinate ) : System.Runtime.InteropServices