mirror of
https://github.com/lubosz/overte.git
synced 2025-04-16 17:38:15 +02:00
DriveKeys JSDoc
This commit is contained in:
parent
c0dbec7940
commit
3eadec3eaa
1 changed files with 34 additions and 0 deletions
|
@ -436,6 +436,40 @@ class MyAvatar : public Avatar {
|
|||
const bool DEFAULT_STRAFE_ENABLED = true;
|
||||
public:
|
||||
|
||||
/**jsdoc
|
||||
* The <code>DriveKeys</code> API provides constant numeric values that represent different logical keys that drive your
|
||||
* avatar and camera.
|
||||
*
|
||||
* @namespace DriveKeys
|
||||
*
|
||||
* @hifi-interface
|
||||
* @hifi-client-entity
|
||||
* @hifi-avatar
|
||||
*
|
||||
* @property {number} TRANSLATE_X - Move the user's avatar in the direction of its x-axis, if the camera isn't in
|
||||
* independent or mirror modes.
|
||||
* @property {number} TRANSLATE_Y - Move the user's avatar in the direction of its y-axis, if the camera isn't in
|
||||
* independent or mirror modes.
|
||||
* @property {number} TRANSLATE_Z - Move the user's avatar in the direction of its z-axis, if the camera isn't in
|
||||
* independent or mirror modes.
|
||||
* @property {number} YAW - Rotate the user's avatar about its y-axis at a rate proportional to the control value, if the
|
||||
* camera isn't in independent or mirror modes.
|
||||
* @property {number} STEP_TRANSLATE_X - No action.
|
||||
* @property {number} STEP_TRANSLATE_Y - No action.
|
||||
* @property {number} STEP_TRANSLATE_Z - No action.
|
||||
* @property {number} STEP_YAW - Rotate the user's avatar about its y-axis in a step increment, if the camera isn't in
|
||||
* independent or mirror modes.
|
||||
* @property {number} PITCH - Rotate the user's avatar head and attached camera about its negative x-axis (i.e., positive
|
||||
* values pitch down) at a rate proportional to the control value, if the camera isn't in HMD, independent, or mirror
|
||||
* modes.
|
||||
* @property {number} ZOOM - Zoom the camera in or out.
|
||||
* @property {number} DELTA_YAW - Rotate the user's avatar about its y-axis by an amount proportional to the control value,
|
||||
* if the camera isn't in independent or mirror modes.
|
||||
* @property {number} DELTA_PITCH - Rotate the user's avatar head and attached camera about its negative x-axis (i.e.,
|
||||
* positive values pitch down) by an amount proportional to the control value, if the camera isn't in HMD, independent,
|
||||
* or mirror modes.
|
||||
*/
|
||||
|
||||
/**jsdoc
|
||||
* <p>Logical keys that drive your avatar and camera.</p>
|
||||
* <table>
|
||||
|
|
Loading…
Reference in a new issue