Screen capture

Is there a built in system or other solution to get screen capture functionality in Unity? I want to render camera paths directly to image sequences, somewhat like Fraps.

Maybe something like this in your code…

		if (Input.GetKeyDown(KeyCode.P))
			Application.CaptureScreenshot("Screenshot.png");

That sounds interesting, I want to be able to create an imagesequence that when played back is played in real time (being able to define 25fps, 30fps etc). So I can export a camera animation in MAX to Unity and have Unity render that animation to an image sequence with correct framerate.

Hi namon,

We have a new plugin for Unity that allows you to capture videos from the viewport straight to AVI files on disk. It’s currently Windows only but it’s integrated directly into Unity and allows you to capture within the editor and in stand-alone builds.

Check out web website for AVPro Movie Capture where you can find a demo and documentation.

-Andrew