init(named:in:skyboxMode:)
Asynchronously loads an environment resource from a bundle.
Declaration
@MainActor @preconcurrency convenience init(named name: String, in bundle: Bundle? = nil, skyboxMode: EnvironmentResource.SkyboxMode) async throwsParameters
- skyboxMode:
Skybox’s preservation in the environment resource.