An enumeration controlling how to preserve the skybox.
Members (2)
get · iOS 27.0+
discard
TypeScript
static get discard(): Promise<EnvironmentResource_SkyboxMode>
Swift declaration
static var discard: EnvironmentResource.SkyboxMode { get }
Only keep a low-resolution proxy of the skybox, reducing memory usage.
- Note: The skybox is not needed for lighting
with `VirtualEnvironmentProbeComponent` and
`ImageBasedLightComponent`.
get · iOS 27.0+
preserve
TypeScript
static get preserve(): Promise<EnvironmentResource_SkyboxMode>
Swift declaration
static var preserve: EnvironmentResource.SkyboxMode { get }
Preserve and reference the original skybox cube texture.