# ShakeOptions

Shakeの周波数・減衰・乱数シード・モードを設定します。DefaultのモードはPerlinNoiseです。

Namespace: MeatMotion

Assembly: MeatMotion

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

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

## Frequency

振動の周波数設定です。

```csharp
public int Frequency;
```

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

## DampingRatio

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

```csharp
public float DampingRatio;
```

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

## RandomSeed

疑似乱数生成に使用するシード値です。

```csharp
public uint RandomSeed;
```

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

## ShakeMode

この揺れに使用するノイズ方式です。

```csharp
public ShakeMode ShakeMode;
```

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

## Default

周波数10、減衰比1、PerlinNoiseモードの設定を返します。

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

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

## Equals

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

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

引数と戻り値

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

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

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

引数と戻り値

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

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

## GetHashCode

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

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

戻り値

- 戻り値: `int`

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