DEDecomposedMatrixDouble4x4
@objcMembers
public class DEDecomposedMatrixDouble4x4 : NSObject
This class wraps the Swift interface for matrix_double4x4.DecomposedTransform
in a means that it can be used from Objective-C.
-
The translation of the transformation matrix.
Declaration
Swift
public var translation: simd_double3 { get set }
-
The scale of the transformation matrix.
Declaration
Swift
public var scale: simd_double3 { get set }
-
The rotation of the transformation matrix (expressed as a quaternion).
Declaration
Swift
public var rotation: simd_quatd { get set }
-
The rotation of the transformation matrix (expressed as euler angles, expressed in radians).
Declaration
Swift
public var eulerAngles: simd_double3 { get set }
-
The shearing of the transformation matrix.
Declaration
Swift
public var skew: simd_double3 { get set }
-
The perspective of the transformation matrix (e.g. .m34).
Declaration
Swift
public var perspective: simd_double4 { get set }
-
Default initializer.
Declaration
Swift
@objc(initWithMatrixDouble4x4:) public init(_ matrix: matrix_double4x4)
-
Class initializer.
Declaration
Swift
public class func decomposedMatrixWith(_ matrix: matrix_double4x4) -> DEDecomposedMatrixDouble4x4
-
Returns a recomposed
CATransform3D
.Declaration
Swift
public func recomposed() -> matrix_double4x4