From d20cd6ad44c15f185f3c427d6e3e82fafa207e7d Mon Sep 17 00:00:00 2001 From: David Rowe Date: Thu, 17 May 2018 20:25:25 +1200 Subject: [PATCH] Add missing JSDoc of parameter in takeSecondaryCamera360Snapshot() --- interface/src/scripting/WindowScriptingInterface.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/interface/src/scripting/WindowScriptingInterface.h b/interface/src/scripting/WindowScriptingInterface.h index 27e00442bc..0209e49225 100644 --- a/interface/src/scripting/WindowScriptingInterface.h +++ b/interface/src/scripting/WindowScriptingInterface.h @@ -374,6 +374,8 @@ public slots: * Takes a 360 snapshot given a position of the secondary camera (which does not need to have been previously set up). * @function Window.takeSecondaryCameraSnapshot * @param {vec3} [cameraPosition] - The (x, y, z) position of the camera for the 360 snapshot + * @param {boolean} [cubemapOutputFormat=false] - If true then the snapshot is saved as a cube map image, + * otherwise is saved as an equirectangular image. * @param {string} [filename=""] - If this parameter is not given, the image will be saved as 'hifi-snap-by--YYYY-MM-DD_HH-MM-SS'. * If this parameter is "" then the image will be saved as ".jpg". * Otherwise, the image will be saved to this filename, with an appended ".jpg".