Instance Property

preservesDepth

Defines whether this layer flattens its sublayers into its plane.

Declaration

var preservesDepth: Bool { get set }

Discussion

If true, the layer acts similarly to the CATransformLayer and has the same restrictions.

Default is false.