Showing the changes to interface/src/raypick/PickScriptingInterface.cpp (1 of 14 files). Show all
Unified · Split
| @@ -463,6 +463,10 @@ void PickScriptingInterface::setIncludeItems(unsigned int uid, const ScriptValue · 462 unmodified lines | ||
| 463 | 463 | DependencyManager::get<PickManager>()->setIncludeItems(uid, qVectorQUuidFromScriptValue(includeItems)); |
| 464 | 464 | } |
| 465 | 465 | |
| 466 | +void PickScriptingInterface::setDelay(unsigned int uid, float delay) { | |
| 467 | + DependencyManager::get<PickManager>()->setDelay(uid, delay); | |
| 468 | +} | |
| 469 | + | |
| 466 | 470 | bool PickScriptingInterface::isLeftHand(unsigned int uid) { |
| 467 | 471 | return DependencyManager::get<PickManager>()->isLeftHand(uid); |
| 468 | 472 | } |
| @@ -505,6 +509,15 @@ void PickScriptingInterface::setPerFrameTimeBudget(unsigned int numUsecs) { · 36 unmodified lines | ||
| 505 | 509 | DependencyManager::get<PickManager>()->setPerFrameTimeBudget(numUsecs); |
| 506 | 510 | } |
| 507 | 511 | |
| 512 | +float PickScriptingInterface::getHandLaserDelay() const { | |
| 513 | + return _handLaserDelaySetting.get(); | |
| 514 | +} | |
| 515 | + | |
| 516 | +void PickScriptingInterface::setHandLaserDelay(float delay) { | |
| 517 | + _handLaserDelaySetting.set(delay); | |
| 518 | + emit handLaserDelayChanged(delay); | |
| 519 | +} | |
| 520 | + | |
| 508 | 521 | void PickScriptingInterface::setParentTransform(std::shared_ptr<PickQuery> pick, const QVariantMap& propMap) { |
| 509 | 522 | QUuid parentUuid; |
| 510 | 523 | int parentJointIndex = 0; |