plucked

Hello,

How can I get which Type of VertexFormat a ModelMesh have

My Problem is, I have a Model with an Mesh which contains TextureCoordinates and one without. In the same modelfile.

How can I get the right VertexFormat from the VertexBuffer from each Model


thx you


Re: XNA Framework How can I get the Vertex-Format of a ModelMesh?

Shawn Hargreaves - MSFT

You can look in the VertexDeclaration (using VertexDeclaration.GetVertexElements) to see what the format of your data is.





Re: XNA Framework How can I get the Vertex-Format of a ModelMesh?

plucked

|<----------- BIG THX ----------- >|