preservesDepth
Defines whether the layer flattens the particles into its plane.
Declaration
var preservesDepth: Bool { get set }Discussion
If true, the layer renders its particles as if they directly inhabit the three-dimensional coordinate space of the layer’s superlayer. When enabled, the effect of the layer’s filters, backgroundFilters, and shadow related properties is undefined.
Default is false.