Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Represents a rotation as a normalized four-component quaternion.

API: engine
Implements: System.IEquatable<Inno.Core.Mathematics.Quaternion>
Inherits: System.ValueType
Project: Inno.Core.Mathematics

public struct Inno.Core.Mathematics.Quaternion : System.IEquatable<Inno.Core.Mathematics.Quaternion>
Kind Element Description
Constructors Quaternion.Constructor Creates a validated quaternion instance.
Fields Quaternion.w The homogeneous or fourth component.
Fields Quaternion.x The horizontal or first component.
Fields Quaternion.y The vertical or second component.
Fields Quaternion.z The depth or third component.
Methods Quaternion.Conjugate Returns the quaternion conjugate by negating its vector components.
Methods Quaternion.CreateFromAxisAngle Creates and validates a caller-owned from axis angle value.
Methods Quaternion.CreateFromYawPitchRoll Creates and validates a caller-owned from yaw pitch roll value.
Methods Quaternion.Equals(Inno.Core.Mathematics.Quaternion) Determines whether this value and the supplied value represent the same logical state.
Methods Quaternion.Equals(System.Object) Determines whether this value and the supplied value represent the same logical state.
Methods Quaternion.FromEulerAnglesXYZ Creates the target representation from the supplied euler angles xyz value.
Methods Quaternion.FromEulerAnglesXYZDegrees Creates the target representation from the supplied euler angles xyzdegrees value.
Methods Quaternion.FromEulerAnglesZYX Creates the target representation from the supplied euler angles zyx value.
Methods Quaternion.FromEulerAnglesZYXDegrees Creates the target representation from the supplied euler angles zyxdegrees value.
Methods Quaternion.FromRotationMatrix Creates a quaternion from a rotation matrix.
Methods Quaternion.GetHashCode Computes a hash code consistent with the implemented equality contract.
Methods Quaternion.Inverse Calculates the inverse rotation represented by the supplied quaternion.
Methods Quaternion.Length Calculates the Euclidean magnitude of this value.
Methods Quaternion.LengthSquared Calculates the squared Euclidean magnitude without a square-root operation.
Methods Quaternion.LookRotation Creates a rotation quaternion that looks in forward direction with the given up.
Methods Quaternion.Normalize Returns a unit-length value while handling degenerate input according to the method contract.
Methods Quaternion.op_Equality Determines whether the supplied values are equal under the type’s equality tolerance.
Methods Quaternion.op_Implicit(Inno.Core.Mathematics.Quaternion)~System.Numerics.Quaternion Converts the supplied value to T:System.Numerics.Quaternion.
Methods Quaternion.op_Implicit(System.Numerics.Quaternion)~Inno.Core.Mathematics.Quaternion Converts the supplied value to T:Inno.Core.Mathematics.Quaternion.
Methods Quaternion.op_Inequality Determines whether the supplied values differ under the type’s equality tolerance.
Methods Quaternion.op_Multiply Multiplies the supplied values according to their algebraic contract.
Methods Quaternion.Slerp Interpolates along the shortest spherical path between two rotations.
Methods Quaternion.ToEulerAnglesXYZ Converts this value to its euler angles xyz representation.
Methods Quaternion.ToEulerAnglesXYZDegrees Converts this value to its euler angles xyzdegrees representation.
Methods Quaternion.ToEulerAnglesZYX Converts this value to its euler angles zyx representation.
Methods Quaternion.ToEulerAnglesZYXDegrees Converts this value to its euler angles zyxdegrees representation.
Methods Quaternion.ToMatrix Converts this quaternion to a rotation matrix.
Methods Quaternion.ToString Formats this value as a human-readable component list.
Properties Quaternion.identity Gets the stable identity used to reference this value across subsystem boundaries.
Properties Quaternion.normalized Gets a unit-length copy, or the zero value when normalization is undefined.