Update API docs to reflect changes

This commit is contained in:
SilverfishVR 2022-09-01 22:23:07 +02:00 committed by ksuprynowicz
parent df56e047f3
commit 0ca8545c20

View file

@ -334,9 +334,9 @@ public slots:
* dimensions is adjusted in order to match the aspect ratio. * dimensions is adjusted in order to match the aspect ratio.
* @param {string} [filename=""] - If a filename is not provided, the image is saved as "overte-snap-by-<user * @param {string} [filename=""] - If a filename is not provided, the image is saved as "overte-snap-by-<user
* name>-on-YYYY-MM-DD_HH-MM-SS". * name>-on-YYYY-MM-DD_HH-MM-SS".
* <p>Still images are saved in JPEG or PNG format according to the extension provided &mdash; <code>".jpg"</code>, * <p>Still images are saved in JPEG, PNG or WEBP format according to the extension provided &mdash; <code>".jpg"</code>,
* <code>".jpeg"</code>, or <code>".png"</code> &mdash; or if not provided then in JPEG format with an extension of * <code>".jpeg"</code>, <code>".png"</code>, or <code>".webp"</code> &mdash; or if not provided then in the format chosen in general settings,
* <code>".jpg"</code>. Animated images are saved in GIF format.</p> * Default is PNG. Animated images are saved in GIF format.</p>
* *
* @example <caption>Using the snapshot function and signals.</caption> * @example <caption>Using the snapshot function and signals.</caption>
* function onStillSnapshotTaken(path, notify) { * function onStillSnapshotTaken(path, notify) {
@ -373,9 +373,9 @@ public slots:
* signal. * signal.
* @param {string} [filename=""] - If a filename is not provided, the image is saved as "overte-snap-by-&lt;user * @param {string} [filename=""] - If a filename is not provided, the image is saved as "overte-snap-by-&lt;user
* name&gt;-on-YYYY-MM-DD_HH-MM-SS". * name&gt;-on-YYYY-MM-DD_HH-MM-SS".
* <p>Images are saved in JPEG or PNG format according to the extension provided &mdash; <code>".jpg"</code>, * <p>Still images are saved in JPEG, PNG or WEBP format according to the extension provided &mdash; <code>".jpg"</code>,
* <code>".jpeg"</code>, or <code>".png"</code> &mdash; or if not provided then in JPEG format with an extension of * <code>".jpeg"</code>, <code>".png"</code>, or <code>".webp"</code> &mdash; or if not provided then in the format chosen in general settings,
* <code>".jpg"</code>.</p> * Default is PNG. Animated images are saved in GIF format.</p>
*/ */
void takeSecondaryCameraSnapshot(const bool& notify = true, const QString& filename = QString()); void takeSecondaryCameraSnapshot(const bool& notify = true, const QString& filename = QString());
@ -392,9 +392,9 @@ public slots:
* signal. * signal.
* @param {string} [filename=""] - If a filename is not provided, the image is saved as "overte-snap-by-&lt;user * @param {string} [filename=""] - If a filename is not provided, the image is saved as "overte-snap-by-&lt;user
* name&gt;-on-YYYY-MM-DD_HH-MM-SS". * name&gt;-on-YYYY-MM-DD_HH-MM-SS".
* <p>Images are saved in JPEG or PNG format according to the extension provided &mdash; <code>".jpg"</code>, * <p>Still images are saved in JPEG, PNG or WEBP format according to the extension provided &mdash; <code>".jpg"</code>,
* <code>".jpeg"</code>, or <code>".png"</code> &mdash; or if not provided then in JPEG format with an extension of * <code>".jpeg"</code>, <code>".png"</code>, or <code>".webp"</code> &mdash; or if not provided then in the format chosen in general settings,
* <code>".jpg"</code>.</p> * Default is PNG. Animated images are saved in GIF format.</p>
*/ */
void takeSecondaryCamera360Snapshot(const glm::vec3& cameraPosition, const bool& cubemapOutputFormat = false, const bool& notify = true, const QString& filename = QString()); void takeSecondaryCamera360Snapshot(const glm::vec3& cameraPosition, const bool& cubemapOutputFormat = false, const bool& notify = true, const QString& filename = QString());