Showing the changes to interface/src/raypick/PickScriptingInterface.cpp (1 of 1 file). Show all
Unified · Split
| @@ -242,11 +242,13 @@ unsigned int PickScriptingInterface::createParabolaPick(const QVariant& properti · 241 unmodified lines | |||
| 242 | * A Shape defines a physical volume. | 242 | * A Shape defines a physical volume. |
| 243 | * | 243 | * |
| 244 | * @typedef {object} Shape | 244 | * @typedef {object} Shape |
| 245 | * @property {ShapeType} shapeType The type of shape to use. | 245 | * @property {string} shapeType The type of shape to use. Can be one of the following: "box", "sphere", "capsule-x", "capsule-y", "capsule-z", "cylinder-x", "cylinder-y", "cylinder-z", "plane" |
| 246 | * @property {string} modelURL - If shapeType is one of: "compound", "simple-hull", "simple-compound", or "static-mesh", this defines the model to load to generate the collision volume. | ||
| 247 | * @property {Vec3} dimensions - The size to scale the shape to. | 246 | * @property {Vec3} dimensions - The size to scale the shape to. |
| 248 | */ | 247 | */ |
| 249 | 248 | ||
| 249 | // TODO: Add this property to the Shape jsdoc above once model picks work properly | ||
| 250 | // * @property {string} modelURL - If shapeType is one of: "compound", "simple-hull", "simple-compound", or "static-mesh", this defines the model to load to generate the collision volume. | ||
| 251 | |||
| 250 | /**jsdoc | 252 | /**jsdoc |
| 251 | * A set of properties that can be passed to {@link Picks.createPick} to create a new Collision Pick. | 253 | * A set of properties that can be passed to {@link Picks.createPick} to create a new Collision Pick. |
| 252 | 254 | ||