<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "visionOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/WorldAlignmentBehavior",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI22WorldAlignmentBehaviorV"
  },
  "title" : "WorldAlignmentBehavior"
}
-->

# WorldAlignmentBehavior

A type representing the world alignment behavior for a scene.

```
struct WorldAlignmentBehavior
```

## Overview

A value of this type can be provided to the
[`volumeWorldAlignment(_:)`](/documentation/SwiftUI/Scene/volumeWorldAlignment(_:)) scene modifier to control the
world alignment volumes should maintain as they are repositioned.
The default value is [`automatic`](/documentation/SwiftUI/WorldAlignmentBehavior/automatic).

## Topics

### Type Properties

[`static var adaptive: WorldAlignmentBehavior`](/documentation/SwiftUI/WorldAlignmentBehavior/adaptive)

When lifted above eye level, the volume will tilt so the front remains
fully visible.

[`static var automatic: WorldAlignmentBehavior`](/documentation/SwiftUI/WorldAlignmentBehavior/automatic)

The world alignment behavior that is standard for the system.

[`static var gravityAligned: WorldAlignmentBehavior`](/documentation/SwiftUI/WorldAlignmentBehavior/gravityAligned)

The volume will not tilt so as to remain aligned with gravity.

## Relationships

### Conforms To

[`Equatable`](/documentation/Swift/Equatable)

[`Sendable`](/documentation/Swift/Sendable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)