C3DMesh::LoadX

Top  Previous  Next

Syntax:

 

LoadX(C3DScreen pScreen, string  filename), int

 

Purpose:

Loads an X format mesh file.

 

Parameters:

pScreen - A C3DScreen object

filename - String that specifies the filename.

 

Returned value(s):

 

Application:

tiger.LoadX(s, GetStartPath() + "tiger.x")

 

Class Hierarchy

C3DObject

-------C3DMesh

 

Additional Info:

All the meshes in the file will be collapsed into one output mesh. If the file contains a frame hierarchy, all the transformations will be applied to the mesh.

 

For mesh files that do not contain effect instance information, default effect instances will be generated from the material information in the .x file.

 

See Also:

LoadSkinnedX