History

Miscellaneous JSDoc fixes

David Rowe committed 8 years ago

Commit 0db44091 parent ac0607b4 files · +6 −6Browse files

Showing the changes to interface/src/raypick/PickScriptingInterface.cpp (1 of 4 files). Show all

Unified · Split

interface/src/raypick/PickScriptingInterface.cpp+2−2
@@ -36,7 +36,7 @@ unsigned int PickScriptingInterface::createPick(const PickQuery::PickType type, · 35 unmodified lines
36 * @typedef {object} Picks.RayPickProperties36 * @typedef {object} Picks.RayPickProperties
37 * @property {boolean} [enabled=false] If this Pick should start enabled or not. Disabled Picks do not updated their pick results.37 * @property {boolean} [enabled=false] If this Pick should start enabled or not. Disabled Picks do not updated their pick results.
38 * @property {number} [filter=Picks.PICK_NOTHING] The filter for this Pick to use, constructed using filter flags combined using bitwise OR.38 * @property {number} [filter=Picks.PICK_NOTHING] The filter for this Pick to use, constructed using filter flags combined using bitwise OR.
39 * @property {float} [maxDistance=0.0] The max distance at which this Pick will intersect. 0.0 = no max. < 0.0 is invalid.39 * @property {number} [maxDistance=0.0] The max distance at which this Pick will intersect. 0.0 = no max. < 0.0 is invalid.
40 * @property {string} [joint] Only for Joint or Mouse Ray Picks. If "Mouse", it will create a Ray Pick that follows the system mouse, in desktop or HMD.40 * @property {string} [joint] Only for Joint or Mouse Ray Picks. If "Mouse", it will create a Ray Pick that follows the system mouse, in desktop or HMD.
41 * If "Avatar", it will create a Joint Ray Pick that follows your avatar's head. Otherwise, it will create a Joint Ray Pick that follows the given joint, if it41 * If "Avatar", it will create a Joint Ray Pick that follows your avatar's head. Otherwise, it will create a Joint Ray Pick that follows the given joint, if it
42 * exists on your current avatar.42 * exists on your current avatar.
@@ -103,7 +103,7 @@ unsigned int PickScriptingInterface::createRayPick(const QVariant& properties) { · 60 unmodified lines
103 * @property {number} [hand=-1] An integer. 0 == left, 1 == right. Invalid otherwise.103 * @property {number} [hand=-1] An integer. 0 == left, 1 == right. Invalid otherwise.
104 * @property {boolean} [enabled=false] If this Pick should start enabled or not. Disabled Picks do not updated their pick results.104 * @property {boolean} [enabled=false] If this Pick should start enabled or not. Disabled Picks do not updated their pick results.
105 * @property {number} [filter=Picks.PICK_NOTHING] The filter for this Pick to use, constructed using filter flags combined using bitwise OR.105 * @property {number} [filter=Picks.PICK_NOTHING] The filter for this Pick to use, constructed using filter flags combined using bitwise OR.
106 * @property {float} [maxDistance=0.0] The max distance at which this Pick will intersect. 0.0 = no max. < 0.0 is invalid.106 * @property {number} [maxDistance=0.0] The max distance at which this Pick will intersect. 0.0 = no max. < 0.0 is invalid.
107 */107 */
108unsigned int PickScriptingInterface::createStylusPick(const QVariant& properties) {108unsigned int PickScriptingInterface::createStylusPick(const QVariant& properties) {
109 QVariantMap propMap = properties.toMap();109 QVariantMap propMap = properties.toMap();