This method of the Direct3dRMMeshBuilder Class loads a Direct3dRMMeshBuilder object.
public void loadFromFileByPos(String filename, int position, int flags, ILoadTextureCallback c, IUnknown pUser);
filename | The name of the file containing the object to be loaded. |
position | The position of the object to be loaded. The value gives the object's order in the file. |
flags | The load options type value. |
c | The callback interface that contains a load texture callback function called to load textures used by an object that require special formatting. This parameter can be null. |
pUser | Application-defined data passed to the load texture callback function. |
By default, this method loads the first mesh from the file specified by the filename parameter.