One Logo Pool Ball
RealityFoundation · IOS API REFERENCE

AdaptiveResolutionComponent

struct · iOS 18.0+ · SDK 27.1

struct AdaptiveResolutionComponent

A component that provides the suggested pixels per meter necessary to render an object. Use the ``AdaptiveResolutionComponent/pixelsPerMeter`` property to proactively update your scene to disable expensive systems and high-resolution content that is far away. - Note: `pixelsPerMeter` is binned to protect user privacy.

Members (2)

get · iOS 18.0+

pixelsPerMeter

TypeScript
get pixelsPerMeter(): number
Swift declaration
var pixelsPerMeter: Float { get }

A read-only value representing the suggested pixels per meter necessary to render an object.

init · iOS 18.0+

init

TypeScript
static init(): AdaptiveResolutionComponent
Swift declaration
init()

Creates a new instance of the adaptive resolution component.

Skipped declarations

No declarations were skipped in this snapshot.

All RealityFoundation types →