LoadObjectWithChildren

Description

Loads an object from a file, currently supported formats are .X .3ds .md3 .smd .md5 .lwo. .ac .b3d .dae .3d .lws .ms3d .blend .m3 .obj and .ago. If the model file contains a bone hierarchy or animation data then this will also be loaded and associated with the object. If the model file contains a scene graph containing multiple objects then these will also be loaded and stored in separate objects which can be discovered with GetObjectNumChildren. If you just want to load a single object without any bones, animation, or children then use LoadObject instead.

Definition

LoadObjectWithChildren( objID, szFilename )

integer LoadObjectWithChildren( szFilename )

Parameters