SkinMesh.FromX Method |
Language: |
Loads skin information and mesh data from a Microsoft Direct3D .x file data object.
Visual Basic Public Shared Function FromX( _
ByVal xofObjMesh As XFileData, _
ByVal options As MeshFlags, _
ByVal device As Device _
) As SkinMeshC# public static SkinMesh FromX(
XFileData xofObjMesh,
MeshFlags options,
Device device
);C++ public:
static SkinMesh FromX(
XFileData^ xofObjMesh,
MeshFlags options,
Device^ device
);JScript public static function FromX(
xofObjMesh : XFileData,
options : MeshFlags,
device : Device
) : SkinMesh;
xofObjMesh Microsoft.DirectX.Direct3D.XFileData
An XFileData object that represents the Microsoft DirectX file data object to load.options Microsoft.DirectX.Direct3D.MeshFlags
A MeshFlags enumeration that specifies creation options for the mesh.device Microsoft.DirectX.Direct3D.Device
A Device object associated with the mesh.
Microsoft.DirectX.Direct3D.SkinMesh
A SkinMesh structure that contains the skin and mesh data from the .x file object.
Exceptions
InvalidCallException The method call is invalid. For example, a method's parameter might contain an invalid value. InvalidDataException The data is invalid. OutOfMemoryException 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