Reader3dsGetFrame Method (Int32, Viewport3D) |
Namespace: Ab3d
public Model3DGroup GetFrame( int frameNo, Viewport3D viewport )
Reader3ds newReader3ds; newReader3ds = new Reader3ds(); newReader3ds.ReadFile("c:\\models\\simple_animation.3ds"); for (int frameNo=0; frameNo<newReader3ds.FramesCount; frameNo++) { newReader3ds.GetFrame(frameNo, Viewport1); System.Threading.Thread.Sleep(250); // 4 frames per second }