SimpleHapticsController.SendHapticFeedbackForDuration 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
輸入裝置啟動觸覺回饋,並針對指定的時間量繼續。
public:
virtual void SendHapticFeedbackForDuration(SimpleHapticsControllerFeedback ^ feedback, double intensity, TimeSpan playDuration) = SendHapticFeedbackForDuration;
void SendHapticFeedbackForDuration(SimpleHapticsControllerFeedback const& feedback, double const& intensity, TimeSpan const& playDuration);
public void SendHapticFeedbackForDuration(SimpleHapticsControllerFeedback feedback, double intensity, System.TimeSpan playDuration);
function sendHapticFeedbackForDuration(feedback, intensity, playDuration)
Public Sub SendHapticFeedbackForDuration (feedback As SimpleHapticsControllerFeedback, intensity As Double, playDuration As TimeSpan)
參數
- feedback
- SimpleHapticsControllerFeedback
觸覺回饋的類型。