Contents

CATransform3DMakeTranslation(_:_:_:)

Returns a transform that translates by (tx, ty, tz).

Declaration

func CATransform3DMakeTranslation(_ tx: CGFloat, _ ty: CGFloat, _ tz: CGFloat) -> CATransform3D

Discussion

t = [1 0 0 0; 0 1 0 0; 0 0 1 0; tx ty tz 1].

See Also

Creating Transforms