次の方法で共有


PeriodicForceEffect クラス

定義

ベクトルに沿って波形によって定義される変化する力を適用する力フィードバック効果。

public ref class PeriodicForceEffect sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.Gaming.Input.ForceFeedback.IPeriodicForceEffectFactory, 196608, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class PeriodicForceEffect final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Gaming.Input.ForceFeedback.IPeriodicForceEffectFactory), 196608, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class PeriodicForceEffect
function PeriodicForceEffect(effectKind)
Public NotInheritable Class PeriodicForceEffect
継承
Object Platform::Object IInspectable PeriodicForceEffect
属性
実装

Windows の要件

デバイス ファミリ
Windows 10 Anniversary Edition (10.0.14393.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v3.0 で導入)

コンストラクター

PeriodicForceEffect(PeriodicForceEffectKind)

PeriodicForceEffect のインスタンスを作成します。

プロパティ

Gain

効果の力を減らす割合を指定します。

Kind

周期力フィードバック効果の種類。

State

力フィードバック効果の現在の状態。

メソッド

SetParameters(Vector3, Single, Single, Single, TimeSpan)

強制フィードバック効果のパラメーターを設定します。

SetParametersWithEnvelope(Vector3, Single, Single, Single, Single, Single, Single, TimeSpan, TimeSpan, TimeSpan, TimeSpan, UInt32)

効果のパラメーターを設定し、効果のエンベロープを設定します。

Start()

強制フィードバック効果を開始します。

Stop()

強制フィードバック効果を停止します。

適用対象

こちらもご覧ください