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
367367 void takeSecondaryCameraSnapshot(const QString& filename = QString());
368368
369369 /**jsdoc
370− * Takes a 360 snapshot of the current view from the secondary camera that can be set up through the {@link Render} API.
371− * NOTE: to provide a non-default value - all previous parameters must be provided.
370+ * Takes a 360 snapshot given a position of the secondary camera (which does not need to have been previously set up).
372371 * @function Window.takeSecondaryCameraSnapshot
372+ * @param {vec3} [cameraPosition] - The (x, y, z) position of the camera for the 360 snapshot
373373 * @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'.
374374 * If this parameter is <code>""</code> then the image will be saved as ".jpg".
375375 * Otherwise, the image will be saved to this filename, with an appended ".jpg".
@@ -587,10 +587,10 @@ signals: · 211 unmodified lines
587587 void stillSnapshotTaken(const QString& pathStillSnapshot, bool notify);
588588
589589 /**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}
591591 * @function Window.equirectangularSnapshotTaken
592592 * @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}
594594 * was called with.
595595 * @returns {Signal}
596596 */

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