ShakeOptions
Shakeの周波数・減衰・乱数シード・モードを設定します。DefaultのモードはPerlinNoiseです。
public struct ShakeOptions : IMotionOptions, IEquatable<ShakeOptions>VibrationMotion.cs · L21メンバー
Frequency
振動の周波数設定です。
public int Frequency;DampingRatio
時間に伴う振幅の減衰設定です。
public float DampingRatio;RandomSeed
疑似乱数生成に使用するシード値です。
public uint RandomSeed;ShakeMode
この揺れに使用するノイズ方式です。
public ShakeMode ShakeMode;Default
周波数10、減衰比1、PerlinNoiseモードの設定を返します。
public static ShakeOptions Default { get; }Equals
同じ値を表すか比較します。
public readonly bool Equals(ShakeOptions other)引数と戻り値
otherShakeOptions等値比較の対象。- 戻り値
bool
public override readonly bool Equals(object obj)引数と戻り値
objobject等値比較の対象。- 戻り値
bool
GetHashCode
等値比較に対応するハッシュコードを返します。
MeatMotion