One Logo Pool Ball
RealityFoundation · IOS API REFERENCE

SpotLightComponent.Shadow.QualityMode

struct · iOS 27.0+ · SDK 27.1

struct QualityMode

Constants that select the shadow-filtering algorithm a spotlight uses. ``low`` produces a hard-edged shadow with a uniform width. The shadow ignores ``SpotLightComponent/Shadow/lightSize`` and the distance between the light, the shadow-casting geometry, and the receiving surface. ``medium`` and ``high`` produce *soft* shadows whose penumbra widens as the receiving surface moves farther from the caster, approximating the appearance of an area light. ``high`` takes more samples per pixel than ``medium``, producing a smoother penumbra at greater GPU cost.

Members (6)

get · iOS 27.0+

low

TypeScript
get low(): SpotLightComponent_Shadow_QualityMode
Swift declaration
static var low: SpotLightComponent.Shadow.QualityMode { get }
get · iOS 27.0+

high

TypeScript
get high(): SpotLightComponent_Shadow_QualityMode
Swift declaration
static var high: SpotLightComponent.Shadow.QualityMode { get }
get · iOS 27.0+

medium

TypeScript
get medium(): SpotLightComponent_Shadow_QualityMode
Swift declaration
static var medium: SpotLightComponent.Shadow.QualityMode { get }
init · iOS 27.0+

init

TypeScript
init(rawValue: number): SpotLightComponent_Shadow_QualityMode
Swift declaration
init(rawValue: Int)
get · iOS 27.0+

rawValue

TypeScript
getRawValue($self: SpotLightComponent_Shadow_QualityMode): number
Swift declaration
var rawValue: Int
set · iOS 27.0+

rawValue

TypeScript
setRawValue($self: SpotLightComponent_Shadow_QualityMode, value: number): void
Swift declaration
var rawValue: Int

Skipped declarations

No declarations were skipped in this snapshot.

All RealityFoundation types →