This method of the Direct3dRMAnimationSet Class loads an animation set.
public void loadFromFileByPos(String filename, int position, int flags, ILoadTextureCallback c, IUnknown pUser, Direct3dRMFrame f);
filename | The name of the file that the object is to be loaded from. |
position | The position in the file to be loaded from. The value gives the object's order in the file. This parameter can be null. |
flags | A load options type. |
c | The callback interface that contains the load texture callback function called to load any textures used by the object that require special formatting. This parameter can be null. |
pUser | Application-defined data passed to the load texture callback function. |
f | The parent Direct3dRMFrame object. This prevents the frames referred to by the animation set from being created with a null parent. |
By default, this method loads the first animation set in the file specified by the objSource parameter.