mirror of
https://github.com/lubosz/overte.git
synced 2025-04-23 20:34:07 +02:00
added js documentation for the three trigger recenter functionsthat have been added to MyAvatar class
This commit is contained in:
parent
90d87c5b5d
commit
3f44b88d2d
1 changed files with 22 additions and 0 deletions
|
@ -404,6 +404,28 @@ public:
|
|||
Q_INVOKABLE void enableDriveKey(DriveKeys key);
|
||||
Q_INVOKABLE bool isDriveKeyDisabled(DriveKeys key) const;
|
||||
|
||||
/**jsdoc
|
||||
*The triggerVerticalRecenter function activates one time the recentering
|
||||
*behaviour in the vertical direction. This call is only takes effect when the property
|
||||
*MyAvatar.hmdLeanRecenterEnabled is set to false.
|
||||
*@function MyAvatar.triggerVerticalRecenter
|
||||
*
|
||||
*/
|
||||
|
||||
/**jsdoc
|
||||
*The triggerHorizontalRecenter function activates one time the recentering behaviour
|
||||
*in the horizontal direction. This call is only takes effect when the property
|
||||
*MyAvatar.hmdLeanRecenterEnabled is set to false.
|
||||
*@function MyAvatar.triggerHorizontalRecenter
|
||||
*/
|
||||
|
||||
/**jsdoc
|
||||
*The triggerRotationRecenter function activates one time the recentering behaviour
|
||||
*in the rotation of the root of the avatar. This call is only takes effect when the property
|
||||
*MyAvatar.hmdLeanRecenterEnabled is set to false.
|
||||
*@function MyAvatar.triggerRotationRecenter
|
||||
*/
|
||||
|
||||
Q_INVOKABLE void triggerVerticalRecenter();
|
||||
Q_INVOKABLE void triggerHorizontalRecenter();
|
||||
Q_INVOKABLE void triggerRotationRecenter();
|
||||
|
|
Loading…
Reference in a new issue