Showing the changes to interface/src/scripting/WindowScriptingInterface.h (1 of 1 file). Show all
Unified · Split
| @@ -325,7 +325,7 @@ public slots: · 324 unmodified lines | |||
| 325 | * @param {number} [aspectRatio=0] - The width/height ratio of the snapshot required. If the value is <code>0</code>, the | 325 | * @param {number} [aspectRatio=0] - The width/height ratio of the snapshot required. If the value is <code>0</code>, the |
| 326 | * full resolution is used (window dimensions in desktop mode; HMD display dimensions in HMD mode), otherwise one of the | 326 | * full resolution is used (window dimensions in desktop mode; HMD display dimensions in HMD mode), otherwise one of the |
| 327 | * dimensions is adjusted in order to match the aspect ratio. | 327 | * dimensions is adjusted in order to match the aspect ratio. |
| 328 | * @param {string} [filename=""] - If a filename is not provided, the image is saved as "hifi-snap-by-<user | 328 | * @param {string} [filename=""] - If a filename is not provided, the image is saved as "vircadia-snap-by-<user |
| 329 | * name>-on-YYYY-MM-DD_HH-MM-SS". | 329 | * name>-on-YYYY-MM-DD_HH-MM-SS". |
| 330 | * <p>Still images are saved in JPEG or PNG format according to the extension provided — <code>".jpg"</code>, | 330 | * <p>Still images are saved in JPEG or PNG format according to the extension provided — <code>".jpg"</code>, |
| 331 | * <code>".jpeg"</code>, or <code>".png"</code> — or if not provided then in JPEG format with an extension of | 331 | * <code>".jpeg"</code>, or <code>".png"</code> — or if not provided then in JPEG format with an extension of |
| @@ -364,7 +364,7 @@ public slots: · 32 unmodified lines | |||
| 364 | * @function Window.takeSecondaryCameraSnapshot | 364 | * @function Window.takeSecondaryCameraSnapshot |
| 365 | * @param {boolean} [notify=true] - This value is passed on through the {@link Window.stillSnapshotTaken|stillSnapshotTaken} | 365 | * @param {boolean} [notify=true] - This value is passed on through the {@link Window.stillSnapshotTaken|stillSnapshotTaken} |
| 366 | * signal. | 366 | * signal. |
| 367 | * @param {string} [filename=""] - If a filename is not provided, the image is saved as "hifi-snap-by-<user | 367 | * @param {string} [filename=""] - If a filename is not provided, the image is saved as "vircadia-snap-by-<user |
| 368 | * name>-on-YYYY-MM-DD_HH-MM-SS". | 368 | * name>-on-YYYY-MM-DD_HH-MM-SS". |
| 369 | * <p>Images are saved in JPEG or PNG format according to the extension provided — <code>".jpg"</code>, | 369 | * <p>Images are saved in JPEG or PNG format according to the extension provided — <code>".jpg"</code>, |
| 370 | * <code>".jpeg"</code>, or <code>".png"</code> — or if not provided then in JPEG format with an extension of | 370 | * <code>".jpeg"</code>, or <code>".png"</code> — or if not provided then in JPEG format with an extension of |
| @@ -383,7 +383,7 @@ public slots: · 12 unmodified lines | |||
| 383 | * otherwise it is saved as an equirectangular image. | 383 | * otherwise it is saved as an equirectangular image. |
| 384 | * @param {boolean} [notify=true] - This value is passed on through the {@link Window.stillSnapshotTaken|stillSnapshotTaken} | 384 | * @param {boolean} [notify=true] - This value is passed on through the {@link Window.stillSnapshotTaken|stillSnapshotTaken} |
| 385 | * signal. | 385 | * signal. |
| 386 | * @param {string} [filename=""] - If a filename is not provided, the image is saved as "hifi-snap-by-<user | 386 | * @param {string} [filename=""] - If a filename is not provided, the image is saved as "vircadia-snap-by-<user |
| 387 | * name>-on-YYYY-MM-DD_HH-MM-SS". | 387 | * name>-on-YYYY-MM-DD_HH-MM-SS". |
| 388 | * <p>Images are saved in JPEG or PNG format according to the extension provided — <code>".jpg"</code>, | 388 | * <p>Images are saved in JPEG or PNG format according to the extension provided — <code>".jpg"</code>, |
| 389 | * <code>".jpeg"</code>, or <code>".png"</code> — or if not provided then in JPEG format with an extension of | 389 | * <code>".jpeg"</code>, or <code>".png"</code> — or if not provided then in JPEG format with an extension of |