共用方式為


SimpleHapticsController.SendHapticFeedbackForPlayCount 方法

定義

輸入裝置啟動觸覺回饋,並針對指定的次數重複。

public:
 virtual void SendHapticFeedbackForPlayCount(SimpleHapticsControllerFeedback ^ feedback, double intensity, int playCount, TimeSpan replayPauseInterval) = SendHapticFeedbackForPlayCount;
void SendHapticFeedbackForPlayCount(SimpleHapticsControllerFeedback const& feedback, double const& intensity, int const& playCount, TimeSpan const& replayPauseInterval);
public void SendHapticFeedbackForPlayCount(SimpleHapticsControllerFeedback feedback, double intensity, int playCount, System.TimeSpan replayPauseInterval);
function sendHapticFeedbackForPlayCount(feedback, intensity, playCount, replayPauseInterval)
Public Sub SendHapticFeedbackForPlayCount (feedback As SimpleHapticsControllerFeedback, intensity As Double, playCount As Integer, replayPauseInterval As TimeSpan)

參數

feedback
SimpleHapticsControllerFeedback

觸覺回饋的類型。

intensity
Double

double

根據輸入裝置的功能,觸覺回饋的強度。

  • 0 停用觸覺回饋
  • 1.0 是最大強度
playCount
Int32

int

重複觸覺回饋的次數。

replayPauseInterval
TimeSpan TimeSpan

意見反應週期之間的時間週期,以 100 奈秒單位表示, (1 = 100ns) 。

適用於