DEDecomposedMatrixFloat4x4

@objcMembers
public class DEDecomposedMatrixFloat4x4 : NSObject

This class wraps the Swift interface for matrix_float4x4.DecomposedTransform in a means that it can be used from Objective-C.

  • The translation of the transformation matrix.

    Declaration

    Swift

    public var translation: simd_float3 { get set }
  • The scale of the transformation matrix.

    Declaration

    Swift

    public var scale: simd_float3 { get set }
  • The rotation of the transformation matrix (expressed as a quaternion).

    Declaration

    Swift

    public var rotation: simd_quatf { get set }
  • The rotation of the transformation matrix (expressed as euler angles, expressed in radians).

    Declaration

    Swift

    public var eulerAngles: simd_float3 { get set }
  • The shearing of the transformation matrix.

    Declaration

    Swift

    public var skew: simd_float3 { get set }
  • The perspective of the transformation matrix (e.g. .m34).

    Declaration

    Swift

    public var perspective: simd_float4 { get set }
  • Default initializer.

    Declaration

    Swift

    @objc(initWithMatrixFloat4x4:)
    public init(_ matrix: matrix_float4x4)
  • Class initializer.

    Declaration

    Swift

    public class func decomposedTransformWith(_ matrix: matrix_float4x4) -> DEDecomposedMatrixFloat4x4
  • Returns a recomposed CATransform3D.

    Declaration

    Swift

    public func recomposed() -> matrix_float4x4