SimpleHapticsController.SendHapticFeedback 方法

定义

重载

SendHapticFeedback(SimpleHapticsControllerFeedback)

通过输入设备启动触觉反馈。

SendHapticFeedback(SimpleHapticsControllerFeedback, Double)

由具有指定强度的输入设备启动触觉反馈。

SendHapticFeedback(SimpleHapticsControllerFeedback)

通过输入设备启动触觉反馈。

public:
 virtual void SendHapticFeedback(SimpleHapticsControllerFeedback ^ feedback) = SendHapticFeedback;
/// [Windows.Foundation.Metadata.Overload("SendHapticFeedback")]
void SendHapticFeedback(SimpleHapticsControllerFeedback const& feedback);
[Windows.Foundation.Metadata.Overload("SendHapticFeedback")]
public void SendHapticFeedback(SimpleHapticsControllerFeedback feedback);
function sendHapticFeedback(feedback)
Public Sub SendHapticFeedback (feedback As SimpleHapticsControllerFeedback)

参数

feedback
SimpleHapticsControllerFeedback

触觉反馈的类型。

属性

适用于

SendHapticFeedback(SimpleHapticsControllerFeedback, Double)

由具有指定强度的输入设备启动触觉反馈。

public:
 virtual void SendHapticFeedback(SimpleHapticsControllerFeedback ^ feedback, double intensity) = SendHapticFeedback;
/// [Windows.Foundation.Metadata.Overload("SendHapticFeedbackWithIntensity")]
void SendHapticFeedback(SimpleHapticsControllerFeedback const& feedback, double const& intensity);
[Windows.Foundation.Metadata.Overload("SendHapticFeedbackWithIntensity")]
public void SendHapticFeedback(SimpleHapticsControllerFeedback feedback, double intensity);
function sendHapticFeedback(feedback, intensity)
Public Sub SendHapticFeedback (feedback As SimpleHapticsControllerFeedback, intensity As Double)

参数

feedback
SimpleHapticsControllerFeedback

触觉反馈的类型。

intensity
Double

double

触觉反馈的强度,具体取决于输入设备的功能。

  • 0 禁用触觉反馈
  • 1.0 是最大强度
属性

适用于