Contents

SquareAzimuth.Set

A set of horizontal directions that specify how someone can look at a volume.

Declaration

@frozen struct Set

Overview

Combine the SquareAzimuth constants to name several directions at once. Pass a set to supportedVolumeViewpoints(_:) to say which sides the window bar and ornaments of a volume should follow someone to.

VolumeContentView()
    .supportedVolumeViewpoints([.front, .left])

A volume supports all unless you narrow it. Narrow the set when your content only makes sense from certain sides, such as a model with a defined back that you never want someone to see the controls through.

Topics

Initializers

Instance Methods

Type Properties