From 9325ea588a1b0fda23bea233eaa64ad924c2c5d1 Mon Sep 17 00:00:00 2001 From: "Anthony J. Thibault" Date: Sat, 26 Oct 2019 09:20:51 -0700 Subject: [PATCH] Re-added removed jsdoc comments for removed AvatarInput jsapi. With a comment that these properties/functions have been removed. --- interface/src/ui/AvatarInputs.h | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/interface/src/ui/AvatarInputs.h b/interface/src/ui/AvatarInputs.h index 40ee0ea7d4..3b0e57d037 100644 --- a/interface/src/ui/AvatarInputs.h +++ b/interface/src/ui/AvatarInputs.h @@ -32,6 +32,14 @@ class AvatarInputs : public QObject { * @hifi-client-entity * @hifi-avatar * + * @property {boolean} cameraEnabled - true if webcam face tracking is enabled, false if it is + * disabled. + * Read-only. + *

Deprecated: This property is deprecated and has been removed.

+ * @property {boolean} cameraMuted - true if webcam face tracking is muted (temporarily disabled), + * false it if isn't. + * Read-only. + *

Deprecated: This property is deprecated and has been removed.

* @property {boolean} ignoreRadiusEnabled - true if the privacy shield is enabled, false if it * is disabled. * Read-only. @@ -87,6 +95,20 @@ public slots: signals: + /**jsdoc + * Triggered when webcam face tracking is enabled or disabled. + * @deprecated This signal is deprecated and has been removed. + * @function AvatarInputs.cameraEnabledChanged + * @returns {Signal} + */ + + /**jsdoc + * Triggered when webcam face tracking is muted (temporarily disabled) or unmuted. + * @deprecated This signal is deprecated and has been removed. + * @function AvatarInputs.cameraMutedChanged + * @returns {Signal} + */ + /**jsdoc * Triggered when the display mode changes between desktop and HMD. * @function AvatarInputs.isHMDChanged @@ -157,6 +179,12 @@ protected: */ Q_INVOKABLE void resetSensors(); + /**jsdoc + * Toggles the muting (temporary disablement) of webcam face tracking on/off. + *

Deprecated: This function is deprecated and has been removed.

+ * @function AvatarInputs.toggleCameraMute + */ + private: void onAvatarEnteredIgnoreRadius(); void onAvatarLeftIgnoreRadius();