_RealityKit_SwiftUI · IOS API REFERENCE
RealityViewEnvironment
struct · iOS 18.0+ · SDK 27.1
struct RealityViewEnvironment
A struct that determines the background and default lighting properties for a reality view.
Members (2)
static · iOS 18.0+skybox
TypeScriptstatic skybox(skybox: _RealityFoundation_EnvironmentResource): RealityViewEnvironment
Swift declarationstatic func skybox(_ skybox: EnvironmentResource) -> RealityViewEnvironment
The view uses a skybox environment as the background.
get · iOS 18.0+default
TypeScriptstatic get default(): RealityViewEnvironment
Swift declarationstatic var `default`: RealityViewEnvironment { get }
The view uses any background style you apply via the view's background style.
Skipped declarations
No declarations were skipped in this snapshot.
All _RealityKit_SwiftUI types →