PunchOptions
Configure punch frequency and damping. Default sets Frequency to 10 and DampingRatio to 1.
public struct PunchOptions : IMotionOptions, IEquatable<PunchOptions>VibrationMotion.cs · L10Members
Frequency
Oscillation frequency setting.
public int Frequency;DampingRatio
Damping setting controlling the decay of amplitude.
public float DampingRatio;Default
Return settings with frequency 10 and damping ratio 1.
public static PunchOptions Default { get; }Equals
Compare for value equality.
public readonly bool Equals(PunchOptions other)Parameters and return value
otherPunchOptionsOperand for the equality comparison.- Returns
bool
public override readonly bool Equals(object obj)Parameters and return value
objobjectOperand for the equality comparison.- Returns
bool
GetHashCode
Return the hash code used with value equality.
public override readonly int GetHashCode()Return value
- Returns
int
MeatMotion