mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 12:28:02 +02:00
Add jsdoc information
This commit is contained in:
parent
ad42f6a590
commit
37854ab05e
1 changed files with 9 additions and 0 deletions
|
@ -980,7 +980,16 @@ public slots:
|
||||||
*/
|
*/
|
||||||
// FIXME move to a renderable entity interface
|
// FIXME move to a renderable entity interface
|
||||||
Q_INVOKABLE glm::vec3 getAbsoluteJointTranslationInObjectFrame(const QUuid& entityID, int jointIndex);
|
Q_INVOKABLE glm::vec3 getAbsoluteJointTranslationInObjectFrame(const QUuid& entityID, int jointIndex);
|
||||||
|
|
||||||
|
/**jsdoc
|
||||||
|
* Get the index of the parent joint.
|
||||||
|
* @function Entities.getJointParent
|
||||||
|
* @param {Uuid} entityID - The ID of the entity.
|
||||||
|
* @param {number} index - The integer index of the joint.
|
||||||
|
* @returns {number} The index of the parent joint.
|
||||||
|
*/
|
||||||
Q_INVOKABLE int getJointParent(const QUuid& entityID, int index);
|
Q_INVOKABLE int getJointParent(const QUuid& entityID, int index);
|
||||||
|
|
||||||
/**jsdoc
|
/**jsdoc
|
||||||
* Get the translation of a joint in a {@link Entities.EntityType|Model} entity relative to the entity's position and
|
* Get the translation of a joint in a {@link Entities.EntityType|Model} entity relative to the entity's position and
|
||||||
* orientation.
|
* orientation.
|
||||||
|
|
Loading…
Reference in a new issue