History

Tons of stability and clarity improvements

Zach Fox committed 8 years ago

Commit 249e2a21 parent c115f2b5 files · +97 −67Browse files

Showing the changes to interface/src/scripting/WindowScriptingInterface.h (1 of 5 files). Show all

Unified · Split

interface/src/scripting/WindowScriptingInterface.h+4−4
@@ -367,9 +367,9 @@ public slots: · 366 unmodified lines
367 void takeSecondaryCameraSnapshot(const QString& filename = QString());367 void takeSecondaryCameraSnapshot(const QString& filename = QString());
368 368
369 /**jsdoc369 /**jsdoc
370 * Takes a 360 snapshot of the current view from the secondary camera that can be set up through the {@link Render} API.370 * Takes a 360 snapshot given a position of the secondary camera (which does not need to have been previously set up).
371 * NOTE: to provide a non-default value - all previous parameters must be provided.
372 * @function Window.takeSecondaryCameraSnapshot371 * @function Window.takeSecondaryCameraSnapshot
372 * @param {vec3} [cameraPosition] - The (x, y, z) position of the camera for the 360 snapshot
373 * @param {string} [filename=""] - If this parameter is not given, the image will be saved as 'hifi-snap-by-<user name>-YYYY-MM-DD_HH-MM-SS'.373 * @param {string} [filename=""] - If this parameter is not given, the image will be saved as 'hifi-snap-by-<user name>-YYYY-MM-DD_HH-MM-SS'.
374 * If this parameter is <code>""</code> then the image will be saved as ".jpg".374 * If this parameter is <code>""</code> then the image will be saved as ".jpg".
375 * Otherwise, the image will be saved to this filename, with an appended ".jpg".375 * Otherwise, the image will be saved to this filename, with an appended ".jpg".
@@ -587,10 +587,10 @@ signals: · 211 unmodified lines
587 void stillSnapshotTaken(const QString& pathStillSnapshot, bool notify);587 void stillSnapshotTaken(const QString& pathStillSnapshot, bool notify);
588 588
589 /**jsdoc589 /**jsdoc
590 * Triggered when a still equirectangular snapshot has been taken by calling {@link Window.take360Snapshot|take360Snapshot}590 * Triggered when a still equirectangular snapshot has been taken by calling {@link Window.takeSecondaryCamera360Snapshot|takeSecondaryCamera360Snapshot}
591 * @function Window.equirectangularSnapshotTaken591 * @function Window.equirectangularSnapshotTaken
592 * @param {string} pathStillSnapshot - The path and name of the snapshot image file.592 * @param {string} pathStillSnapshot - The path and name of the snapshot image file.
593 * @param {boolean} notify - The value of the <code>notify</code> parameter that {@link Window.take360Snapshot|take360Snapshot}593 * @param {boolean} notify - The value of the <code>notify</code> parameter that {@link Window.takeSecondaryCamera360Snapshot|takeSecondaryCamera360Snapshot}
594 * was called with.594 * was called with.
595 * @returns {Signal}595 * @returns {Signal}
596 */596 */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t