   [C#] [XNA] Extracting colour from model materials?
  I can extract colour from a model's VertexBuffer using the VertexDeclaration.GetVertexElemts method.This doesn't extract the colour correctly if the model has the colours applied using materials.  For example the following in .X file:   Material color0 {    0.000000;0.000000;0.000000;1.000000;;    30.000003;    0.900000;0.900000;0.900000;;    0.000000;0.000000;0.000000;;   }How can extract the colour for any triangle in a model mesh when it gets its colour from the diffuse material defined in the .X file?   
  If that material goes through the default model processor pipeline, the albedos will get set as the DiffuseColor, SpecularColor, SpecularPower, EmissiveColor properties of the BasicEffect created for that ModelMeshPart.   ;  Thank you, that got it.The diffuse colour value doesn't have an alpha as it is only a Vector3 in XNA?  For example I create another black cube that has the following material with an alpha of 0.427451.   Material color0 {    0.000000;0.000000;0.000000;0.427451;;    30.000003;    0.900000;0.900000;0.900000;;    0.000000;0.000000;0.000000;;   }How can I extract the alpha value from the material?EDIT: It appears that alpha is separated from diffuse colour into its own property.  I've got it :)[Edited by - Spa8nky on September 6, 2010 7:58:40 AM]