SkinMesh.FromX Method

Language:

Loads skin information and mesh data from a Microsoft Direct3D .x file data object.

Overload List

public static SkinMesh FromX(XFileData, MeshFlags, Device);
public static SkinMesh FromX(XFileData, MeshFlags, Device, out ExtendedMaterial, out EffectInstance);
public static SkinMesh FromX(XFileData, MeshFlags, Device, out GraphicsStream);
public static SkinMesh FromX(XFileData, MeshFlags, Device, out GraphicsStream, out EffectInstance);
public static SkinMesh FromX(XFileData, MeshFlags, Device, out GraphicsStream, out ExtendedMaterial);
public static SkinMesh FromX(XFileData, MeshFlags, Device, out GraphicsStream, out ExtendedMaterial, out EffectInstance);

Remarks

Exceptions
InvalidCallException The method call is invalid. For example, a method's parameter might contain an invalid value.
InvalidDataException The data is invalid.
OutOfMemoryException Leave Site Direct3D could not allocate sufficient memory to complete the call.


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center