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 is affected by a projection transform, this function may return nil.