History

Miscellaneous fixes and typos

David Rowe committed 7 years ago

Commit 9d9317c1 parent 34883994 files · +15 −12Browse files

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

Unified · Split

interface/src/raypick/PickScriptingInterface.cpp+9−7
@@ -78,7 +78,7 @@ PickFilter getPickFilter(unsigned int filter) { · 77 unmodified lines
7878 * @property {boolean} [enabled=false] - <code>true</code> if this pick should start enabled, <code>false</code> if it should
7979 * start disabled. Disabled picks do not update their pick results.
8080 * @property {FilterFlags} [filter=0] - The filter for this pick to use. Construct using {@link Picks} FilterFlags property
81− * values (e.g., <code>Picks.PICK_DOMAIN_ENTTITIES</code>) combined with <code>|</code> (bitwise OR) operators.
81+ * values (e.g., <code>Picks.PICK_DOMAIN_ENTITIES</code>) combined with <code>|</code> (bitwise OR) operators.
8282 * @property {number} [maxDistance=0.0] - The maximum distance at which this pick will intersect. A value of <code>0.0</code>
8383 * means no maximum.
8484 * @property {Uuid} [parentID] - The ID of the parent: an avatar, an entity, or another pick.
@@ -164,7 +164,7 @@ std::shared_ptr<PickQuery> PickScriptingInterface::buildRayPick(const QVariantMa · 79 unmodified lines
164164 * @property {boolean} [enabled=false] - <code>true</code> if this pick should start enabled, <code>false</code> if it should
165165 * start disabled. Disabled picks do not update their pick results.
166166 * @property {number} [filter=0] - The filter for this pick to use. Construct using {@link Picks} FilterFlags property
167− * values (e.g., <code>Picks.PICK_DOMAIN_ENTTITIES</code>) combined with <code>|</code> (bitwise OR) operators.
167+ * values (e.g., <code>Picks.PICK_DOMAIN_ENTITIES</code>) combined with <code>|</code> (bitwise OR) operators.
168168 * <p><strong>Note:</strong> Stylus picks do not intersect avatars or the HUD.</p>
169169 * @property {number} [maxDistance=0.0] - The maximum distance at which this pick will intersect. A value of <code>0.0</code>
170170 * means no maximum.
@@ -212,7 +212,7 @@ std::shared_ptr<PickQuery> PickScriptingInterface::buildStylusPick(const QVarian · 41 unmodified lines
212212 * @property {boolean} [enabled=false] - <code>true</code> if this pick should start enabled, <code>false</code> if it should
213213 * start disabled. Disabled picks do not update their pick results.
214214 * @property {number} [filter=0] - The filter for this pick to use. Construct using {@link Picks} FilterFlags property
215− * values (e.g., <code>Picks.PICK_DOMAIN_ENTTITIES</code>) combined with <code>|</code> (bitwise OR) operators.
215+ * values (e.g., <code>Picks.PICK_DOMAIN_ENTITIES</code>) combined with <code>|</code> (bitwise OR) operators.
216216 * @property {number} [maxDistance=0.0] - The maximum distance at which this pick will intersect. A value of <code>0.0</code>
217217 * means no maximum.
218218 * @property {Uuid} [parentID] - The ID of the parent: an avatar, an entity, or another pick.
@@ -321,7 +321,7 @@ std::shared_ptr<PickQuery> PickScriptingInterface::buildParabolaPick(const QVari · 102 unmodified lines
321321 * @property {boolean} [enabled=false] - <code>true</code> if this pick should start enabled, <code>false</code> if it should
322322 * start disabled. Disabled picks do not update their pick results.
323323 * @property {FilterFlags} [filter=0] - The filter for this pick to use. Construct using {@link Picks} FilterFlags property
324− * values (e.g., <code>Picks.PICK_DOMAIN_ENTTITIES</code>) combined with <code>|</code> (bitwise OR) operators.
324+ * values (e.g., <code>Picks.PICK_DOMAIN_ENTITIES</code>) combined with <code>|</code> (bitwise OR) operators.
325325 * <p><strong>Note:</strong> Collision picks do not intersect the HUD.</p>
326326 * @property {number} [maxDistance=0.0] - The maximum distance at which this pick will intersect. A value of <code>0.0</code>
327327 * means no maximum.
@@ -344,9 +344,11 @@ std::shared_ptr<PickQuery> PickScriptingInterface::buildParabolaPick(const QVari · 16 unmodified lines
344344 * the collision region. The depth is in world coordinates but scales with the parent if defined.
345345 * @property {CollisionMask} [collisionGroup=8] - The type of objects the collision region collides as. Objects whose collision
346346 * masks overlap with the region's collision group are considered to be colliding with the region.
347− * @property {PickType} pickType - The type of pick when getting these properties from {@link Picks.getPickProperties} or {@link Picks.getPickScriptParameters}. A collision pick's type is {@link PickType.Collision}.
348− * @property {Vec3} baseScale - Returned from {@link Picks.getPickProperties} when the pick has a parent with varying scale (usually an avatar or an entity).
349− * Its value is the original scale of the parent at the moment the pick was created, and is used to rescale the pick, and/or the pointer which owns this pick, if any.
347+ * @property {PickType} pickType - The type of pick when getting these properties from {@link Picks.getPickProperties} or
348+ * {@link Picks.getPickScriptParameters}. A collision pick's type is {@link PickType.Collision}.
349+ * @property {Vec3} baseScale - Returned from {@link Picks.getPickProperties} when the pick has a parent with varying scale
350+ * (usually an avatar or an entity). Its value is the original scale of the parent at the moment the pick was created, and
351+ * is used to rescale the pick, and/or the pointer which owns this pick, if any.
350352 */
351353 std::shared_ptr<PickQuery> PickScriptingInterface::buildCollisionPick(const QVariantMap& propMap) {
352354 bool enabled = false;