Class SpringParams
- Namespace
- Adw
- Assembly
- Adw-1.dll
public sealed class SpringParams : BoxedRecord, IEquatable<SpringParams>
- Inheritance
-
SpringParams
- Implements
- Inherited Members
Constructors
SpringParams(SpringParamsOwnedHandle)
public SpringParams(SpringParamsOwnedHandle handle)
Parameters
handle
SpringParamsOwnedHandle
Properties
Handle
public SpringParamsOwnedHandle Handle { get; }
Property Value
Methods
Equals(SpringParams?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(SpringParams? other)
Parameters
other
SpringParamsAn object to compare with this object.
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
GetDamping()
public double GetDamping()
Returns
GetDampingRatio()
public double GetDampingRatio()
Returns
GetGType()
public static Type GetGType()
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
GetMass()
public double GetMass()
Returns
GetStiffness()
public double GetStiffness()
Returns
New(double, double, double)
public static SpringParams New(double dampingRatio, double mass, double stiffness)
Parameters
Returns
NewFull(double, double, double)
public static SpringParams NewFull(double damping, double mass, double stiffness)
Parameters
Returns
Ref()
public SpringParams Ref()
Returns
Unref()
public void Unref()