Skip to content

Commit

Permalink
add oversampling control
Browse files Browse the repository at this point in the history
  • Loading branch information
tyson-kubota committed Dec 2, 2013
1 parent cc2bafd commit b997411
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ScreenCaptureDemo.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
var folder = "ScreenshotFolder";
var frameRate = 30;
var sequenceName = "mySequence";
var overSampling : int = 2;

function Start () {
// Set the playback framerate (real time will not relate to game time after this).
Expand All @@ -26,5 +27,5 @@ function Update () {
// This is useful to produce screenshots for printing.

// Capture the screenshot to the specified file.
Application.CaptureScreenshot(name, 2);
Application.CaptureScreenshot(name, overSampling);
}

0 comments on commit b997411

Please sign in to comment.