One Logo Pool Ball
RealityFoundation · IOS API REFERENCE

LevelOfDetailComponent.SelectionStrategy.ResolutionMetric

struct · iOS 27.0+ · SDK 27.1

struct ResolutionMetric

Members (4)

get · iOS 27.0+

boundingBox

TypeScript
get boundingBox(): BoundingBox
Swift declaration
let boundingBox: BoundingBox
init · iOS 27.0+

init

TypeScript
static init(switchingResolutions: Array<LevelOfDetailComponent_SelectionStrategy_ResolutionMetric_DirectionalSwitchingResolutions>, boundingBox: BoundingBox): LevelOfDetailComponent_SelectionStrategy_ResolutionMetric
Swift declaration
init(switchingResolutions: [LevelOfDetailComponent.SelectionStrategy.ResolutionMetric.DirectionalSwitchingResolutions], boundingBox: BoundingBox)

Creates a resolution metric for a level of detail component to switch with. - Parameters: - switchingResolutions: An array of `DirectionalSwitchingResolutions`. The `DirectionalSwitchingResolutions` at index `i` corresponds to the LOD level `i + 1`. - boundingBox: The bounding box of the entity used when calculating the switching resolutions.

get · iOS 27.0+

switchingResolutions

TypeScript
get switchingResolutions(): Array<LevelOfDetailComponent_SelectionStrategy_ResolutionMetric_DirectionalSwitchingResolutions>
Swift declaration
var switchingResolutions: [LevelOfDetailComponent.SelectionStrategy.ResolutionMetric.DirectionalSwitchingResolutions]
set · iOS 27.0+

switchingResolutions

TypeScript
set switchingResolutions(value: Array<LevelOfDetailComponent_SelectionStrategy_ResolutionMetric_DirectionalSwitchingResolutions>)
Swift declaration
var switchingResolutions: [LevelOfDetailComponent.SelectionStrategy.ResolutionMetric.DirectionalSwitchingResolutions]

Skipped declarations

No declarations were skipped in this snapshot.

All RealityFoundation types →