C3DMesh::LoadSkinnedX

Top  Previous  Next

Syntax:

 

LoadSkinnedX(C3DScreen pScreen, string  filename), int

 

Purpose:

Loads a skinned X format mesh file..

 

Parameters:

pScreen - A C3DScreen object.

filename - The skinned X file to load,

 

Returned value(s):

TRUE if the mesh could be loaded, FALSE otherwise

 

Application:

'load a skinned mesh
if pMesh.LoadSkinnedX(GETSTARTPATH + "tiny.x")
   pMesh.Positiont(0,0,0)
   pMesh.Orient(0,0,1,0,1,0)
   'for skinned X meshes StartFrame = animation track, EndFrame is ignored
   'if track = -1 then no animation
   pMesh.SetAnimation(0,0,800,timeGetTime())
ENDIF

 

Class Hierarchy

C3DObject

-------C3DMesh