Showing the changes to interface/src/raypick/PickScriptingInterface.cpp (1 of 4 files). Show all
Unified · Split
| @@ -36,7 +36,7 @@ unsigned int PickScriptingInterface::createPick(const PickQuery::PickType type, · 35 unmodified lines | ||
| 36 | 36 | * @typedef {object} Picks.RayPickProperties |
| 37 | 37 | * @property {boolean} [enabled=false] If this Pick should start enabled or not. Disabled Picks do not updated their pick results. |
| 38 | 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 | 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 | 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 it |
| 42 | 42 | * exists on your current avatar. |
| @@ -103,7 +103,7 @@ unsigned int PickScriptingInterface::createRayPick(const QVariant& properties) { · 60 unmodified lines | ||
| 103 | 103 | * @property {number} [hand=-1] An integer. 0 == left, 1 == right. Invalid otherwise. |
| 104 | 104 | * @property {boolean} [enabled=false] If this Pick should start enabled or not. Disabled Picks do not updated their pick results. |
| 105 | 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 | */ |
| 108 | 108 | unsigned int PickScriptingInterface::createStylusPick(const QVariant& properties) { |
| 109 | 109 | QVariantMap propMap = properties.toMap(); |