Struct AngularMotion
Implements
System.IEquatable<AngularMotion>
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Vim.Math3d
Assembly: Vim.Math3D.dll
[DataContract]
public readonly struct AngularMotion : IEquatable<AngularMotion>
Constructors
View SourceAngularMotion((Quaternion velocity, Quaternion acceleration, Single friction))
public AngularMotion((Quaternion velocity, Quaternion acceleration, float friction) tuple)
AngularMotion(Quaternion, Quaternion, Single)
public AngularMotion(Quaternion velocity, Quaternion acceleration, float friction)
Fields
View SourceAcceleration
[DataMember]
public readonly Quaternion Acceleration
Friction
[DataMember]
public readonly float Friction
MaxValue
public static AngularMotion MaxValue
MinValue
public static AngularMotion MinValue
Velocity
[DataMember]
public readonly Quaternion Velocity
Zero
public static AngularMotion Zero
Methods
View SourceAlmostEquals(AngularMotion, Single)
public readonly bool AlmostEquals(AngularMotion x, float tolerance = 1E-07F)
Create((Quaternion velocity, Quaternion acceleration, Single friction))
public static AngularMotion Create((Quaternion velocity, Quaternion acceleration, float friction) tuple)
Create(Quaternion, Quaternion, Single)
public static AngularMotion Create(Quaternion velocity, Quaternion acceleration, float friction)
Deconstruct(out Quaternion, out Quaternion, out Single)
public readonly void Deconstruct(out Quaternion velocity, out Quaternion acceleration, out float friction)
Equals(Object)
public override readonly bool Equals(object obj)
Overrides
System.ValueType.Equals(System.Object)
View Source
Equals(AngularMotion)
public readonly bool Equals(AngularMotion x)
GetHashCode()
public override readonly int GetHashCode()
Overrides
System.ValueType.GetHashCode()
View Source
SetAcceleration(Quaternion)
public readonly AngularMotion SetAcceleration(Quaternion x)
SetFriction(Single)
public readonly AngularMotion SetFriction(float x)
SetVelocity(Quaternion)
public readonly AngularMotion SetVelocity(Quaternion x)
ToString()
public override readonly string ToString()
Overrides
System.ValueType.ToString()
Operators
View SourceEquality(AngularMotion, AngularMotion)
public static bool operator ==(AngularMotion x0, AngularMotion x1)
Implicit((Quaternion velocity, Quaternion acceleration, Single friction) to AngularMotion)
public static implicit operator AngularMotion((Quaternion velocity, Quaternion acceleration, float friction) tuple)
Implicit(AngularMotion to (Quaternion velocity, Quaternion acceleration, Single friction))
public static implicit operator (Quaternion velocity, Quaternion acceleration, float friction)(AngularMotion self)
Inequality(AngularMotion, AngularMotion)
public static bool operator !=(AngularMotion x0, AngularMotion x1)
Implements
System.IEquatable<T>