Contents

offset(z:)

Brings a view forward in Z by the provided distance in points.

Declaration

@export(implementation) func offset(z: CGFloat) -> some VisualEffect

Parameters

  • z:

    The distance to extrude the view forward in Z, in points.

Return Value

An effect that is extruded forward in Z by z.

See Also

Translating