DecomposedTransform

struct DecomposedTransform
extension matrix_double4x4.DecomposedTransform: Interpolatable

A type to break down a matrix_double4x4 into its specific transformation attributes / properties (i.e. scale, translation, etc.).

Instantiate this using: matrix_float4x4.decomposed().

  • The translation of a transformation matrix.

    Declaration

    Swift

    public var translation: simd_double3
  • The scale of a transformation matrix.

    Declaration

    Swift

    public var scale: simd_double3
  • The rotation of a transformation matrix (expressed as a quaternion ).

    Declaration

    Swift

    public var rotation: simd_quatd
  • The rotation of a transformation matrix (expressed as a euler angles).

    Declaration

    Swift

    public var eulerAngles: simd_double3 { get set }
  • The shearing of a transformation matrix.

    Declaration

    Swift

    public var skew: simd_double3
  • The perspective of a transformation matrix (e.g. .m34).

    Declaration

    Swift

    public var perspective: simd_double4
  • Merges all the properties of the the decomposed transform into a matrix_double4x4 transform.

    Declaration

    Swift

    public func recomposed() -> matrix_double4x4

DecomposedTransform

  • Declaration

    Swift

    public func lerp(to: `Self`, fraction: Double) -> simd_double4x4.DecomposedTransform