Instance Method

rotation3DEffect(_:axis:anchor:anchorZ:perspective:)

Rotates this view’s rendered output in three dimensions around the given axis of rotation.

Declaration

func rotation3DEffect(_ angle: Angle, axis: (x: CGFloat, y: CGFloat, z: CGFloat), anchor: UnitPoint = .center, anchorZ: CGFloat = 0, perspective: CGFloat = 1) -> some View