/// <summary> /// Matches the given <see cref="InteractorFacade"/> in the <see cref="Elements"/> and restores the cached <see cref="InteractorFacade.GrabPrecognition"/>. /// </summary> /// <param name="interactorFacade">The <see cref="InteractorFacade"/> to update.</param> public virtual void RestoreCachedGrabPrecognition(InteractorFacade interactorFacade) { InteractorElement interactor = Elements.Find(interactorElement => interactorElement.TargetFacade.Equals(interactorFacade)); if (interactor != null) { interactor.RestoreCachedGrabPrecognition(); } }
/// <summary> /// Matches the given <see cref="InteractorFacade"/> in the <see cref="Elements"/> and restores the cached <see cref="InteractorFacade.VelocityTracker"/>. /// </summary> /// <param name="interactorFacade">The <see cref="InteractorFacade"/> to update.</param> public virtual void RestoreCachedVelocityTracker(InteractorFacade interactorFacade) { InteractorElement interactor = Elements.Find(interactorElement => interactorElement.TargetFacade.Equals(interactorFacade)); if (interactor != null) { interactor.RestoreCachedVelocityTracker(); } }
public virtual void SetTargetGrabPrecognition(InteractorFacade interactorFacade) { InteractorElement interactor = Elements.Find(x => x.TargetFacade.Equals(interactorFacade)); if (interactor != null) { interactor.SetTargetGrabPrecognition(CacheElementSettings); } }
public virtual void SetTargetVelocityTracker(InteractorFacade interactorFacade) { InteractorElement interactor = Elements.Find(x => x.TargetFacade.Equals(interactorFacade)); if (interactor != null) { interactor.SetTargetVelocityTracker(CacheElementSettings); } }