# PunchOptions

Punchの周波数と減衰を設定します。DefaultはFrequencyが10、DampingRatioが1です。

Namespace: MeatMotion

Assembly: MeatMotion

```csharp
public struct PunchOptions : IMotionOptions, IEquatable<PunchOptions>
```

[Runtime/Adapters/Vibration/VibrationMotion.cs · L10](../../source/Runtime/Adapters/Vibration/VibrationMotion.cs.html#L10)

## Frequency

振動の周波数設定です。

```csharp
public int Frequency;
```

[Runtime/Adapters/Vibration/VibrationMotion.cs · L13](../../source/Runtime/Adapters/Vibration/VibrationMotion.cs.html#L13)

## DampingRatio

時間に伴う振幅の減衰設定です。

```csharp
public float DampingRatio;
```

[Runtime/Adapters/Vibration/VibrationMotion.cs · L14](../../source/Runtime/Adapters/Vibration/VibrationMotion.cs.html#L14)

## Default

周波数10、減衰比1の初期設定を返します。

```csharp
public static PunchOptions Default { get; }
```

[Runtime/Adapters/Vibration/VibrationMotion.cs · L15](../../source/Runtime/Adapters/Vibration/VibrationMotion.cs.html#L15)

## Equals

同じ値を表すか比較します。

```csharp
public readonly bool Equals(PunchOptions other)
```

引数と戻り値

- `other` (`PunchOptions`) 等値比較の対象。
- 戻り値: `bool`

[Runtime/Adapters/Vibration/VibrationMotion.cs · L16](../../source/Runtime/Adapters/Vibration/VibrationMotion.cs.html#L16)

```csharp
public override readonly bool Equals(object obj)
```

引数と戻り値

- `obj` (`object`) 等値比較の対象。
- 戻り値: `bool`

[Runtime/Adapters/Vibration/VibrationMotion.cs · L17](../../source/Runtime/Adapters/Vibration/VibrationMotion.cs.html#L17)

## GetHashCode

等値比較に対応するハッシュコードを返します。

```csharp
public override readonly int GetHashCode()
```

戻り値

- 戻り値: `int`

[Runtime/Adapters/Vibration/VibrationMotion.cs · L18](../../source/Runtime/Adapters/Vibration/VibrationMotion.cs.html#L18)
