Contents

transform(in:)

The container view’s 3D transform converted to a defined coordinate space.

Declaration

func transform(in coordinateSpace: some CoordinateSpaceProtocol) -> AffineTransform3D?

Discussion

If the view doesn’t have a well-defined transform, such as if it’s affected by a projection transform, this function may return nil.

See Also

Accessing geometry characteristics