mirror of
https://github.com/overte-org/overte.git
synced 2025-04-19 15:43:50 +02:00
Merge pull request #13801 from wayne-chen/fixMyAvatarScale-case-17434
MS17434: modifying MyAvatar.scale get property
This commit is contained in:
commit
6b73a0bba5
2 changed files with 3 additions and 3 deletions
|
@ -143,7 +143,7 @@ class MyAvatar : public Avatar {
|
|||
* registration point of the 3D model.
|
||||
*
|
||||
* @property {Vec3} position
|
||||
* @property {number} scale
|
||||
* @property {number} scale - Returns the clamped scale of the avatar.
|
||||
* @property {number} density <em>Read-only.</em>
|
||||
* @property {Vec3} handPosition
|
||||
* @property {number} bodyYaw - The rotation left or right about an axis running from the head to the feet of the avatar.
|
||||
|
@ -982,7 +982,7 @@ public:
|
|||
|
||||
/**jsdoc
|
||||
* @function MyAvatar.getAvatarScale
|
||||
* @returns {number}
|
||||
* @returns {number}
|
||||
*/
|
||||
Q_INVOKABLE float getAvatarScale();
|
||||
|
||||
|
|
|
@ -363,7 +363,7 @@ class AvatarData : public QObject, public SpatiallyNestable {
|
|||
|
||||
// The following properties have JSDoc in MyAvatar.h and ScriptableAvatar.h
|
||||
Q_PROPERTY(glm::vec3 position READ getWorldPosition WRITE setPositionViaScript)
|
||||
Q_PROPERTY(float scale READ getTargetScale WRITE setTargetScale)
|
||||
Q_PROPERTY(float scale READ getDomainLimitedScale WRITE setTargetScale)
|
||||
Q_PROPERTY(float density READ getDensity)
|
||||
Q_PROPERTY(glm::vec3 handPosition READ getHandPosition WRITE setHandPosition)
|
||||
Q_PROPERTY(float bodyYaw READ getBodyYaw WRITE setBodyYaw)
|
||||
|
|
Loading…
Reference in a new issue